mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 06:22:45 +00:00
Fix the 3C589 driver to work with the BNC connector.
Note, I tested this on a NEC Versa, IBM 750C, and a IBM 755CX w/out problems. The card still works fine in TP mode. Submitted by: schwarz@alpharel.com (Steve Schwarz) Reviewed by: jleppek@suw2k.ess.harris.com (James Leppek)
This commit is contained in:
parent
bdc95502ca
commit
a16b708542
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=10084
@ -34,7 +34,7 @@
|
|||||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* From: if_ep.c,v 1.9 1994/01/25 10:46:29 deraadt Exp $
|
* From: if_ep.c,v 1.9 1994/01/25 10:46:29 deraadt Exp $
|
||||||
* $Id: if_zp.c,v 1.6 1995/05/30 08:02:31 rgrimes Exp $
|
* $Id: if_zp.c,v 1.7 1995/07/25 22:18:56 bde Exp $
|
||||||
*/
|
*/
|
||||||
/*-
|
/*-
|
||||||
* TODO:
|
* TODO:
|
||||||
@ -1071,8 +1071,12 @@ zpinit(unit)
|
|||||||
#ifdef ZP_DEBUG
|
#ifdef ZP_DEBUG
|
||||||
printf("START TRANCEIVER");
|
printf("START TRANCEIVER");
|
||||||
#endif /* ZP_DEBUG */
|
#endif /* ZP_DEBUG */
|
||||||
outw(BASE + EP_COMMAND, START_TRANSCEIVER);
|
GO_WINDOW(0);
|
||||||
DELAY(1000);
|
/* set the xcvr */
|
||||||
|
outw(BASE + EP_W0_ADDRESS_CFG, 3 << 14);
|
||||||
|
GO_WINDOW(2);
|
||||||
|
outw(BASE + EP_COMMAND, START_TRANSCEIVER);
|
||||||
|
GO_WINDOW(1);
|
||||||
}
|
}
|
||||||
#if defined(__NetBSD__) || defined(__FreeBSD__)
|
#if defined(__NetBSD__) || defined(__FreeBSD__)
|
||||||
if ((ifp->if_flags & IFF_LINK0) && (sc->ep_connectors & UTP)) {
|
if ((ifp->if_flags & IFF_LINK0) && (sc->ep_connectors & UTP)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user