Date: Mon, 10 Jun 1996 13:05:22 -0600 From: Nate Williams <nate@sri.MT.net> To: current@FreeBSD.org Subject: Attention 3C5X9 owners Message-ID: <199606101905.NAA09662@rocky.sri.MT.net>
next in thread | raw e-mail | index | archive | help
Can you please test out this patch to /sys/i386/isa/if_ep.c to make sure this works? This changes the way the driver selects the different card ports (AUI/BNC), and is needed for the PCCARD support (not included). In order to get the BNC connector working on my 3C589 card, but since it's based on code that was originally for the 3C509 I suspect it should work. I need folks who have AUI connections, and folks who have BNC connections to test this to make sure it works, or even better folks who have both can test it to make sure it works fine with both. Thanks! Nate ----------- Index: if_ep.c =================================================================== RCS file: /home/CVS/src/sys/i386/isa/if_ep.c,v retrieving revision 1.44 diff -c -r1.44 if_ep.c *** if_ep.c 1996/05/24 15:22:36 1.44 --- if_ep.c 1996/06/10 19:02:33 *************** *** 644,651 **** if(ifp->if_flags & IFF_LINK0 && sc->ep_connectors & AUI) { /* nothing */ } else if(ifp->if_flags & IFF_LINK1 && sc->ep_connectors & BNC) { outw(BASE + EP_COMMAND, START_TRANSCEIVER); ! DELAY(1000); } else if(ifp->if_flags & IFF_LINK2 && sc->ep_connectors & UTP) { GO_WINDOW(4); outw(BASE + EP_W4_MEDIA_TYPE, ENABLE_UTP); --- 644,655 ---- if(ifp->if_flags & IFF_LINK0 && sc->ep_connectors & AUI) { /* nothing */ } else if(ifp->if_flags & IFF_LINK1 && sc->ep_connectors & BNC) { + GO_WINDOW(0); + /* set the xcvr */ + outw(BASE + EP_W0_ADDRESS_CFG, 3 << 14); + GO_WINDOW(2); outw(BASE + EP_COMMAND, START_TRANSCEIVER); ! GO_WINDOW(1); } else if(ifp->if_flags & IFF_LINK2 && sc->ep_connectors & UTP) { GO_WINDOW(4); outw(BASE + EP_W4_MEDIA_TYPE, ENABLE_UTP);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606101905.NAA09662>