diff options
| author | Justin T. Gibbs <gibbs@FreeBSD.org> | 1996-02-28 17:19:04 +0000 |
|---|---|---|
| committer | Justin T. Gibbs <gibbs@FreeBSD.org> | 1996-02-28 17:19:04 +0000 |
| commit | 6398c75dc782cc7b1f1b7ef33dee79350be94dda (patch) | |
| tree | de86a525c64e3739b71c9ec2117c96a8dc723199 /sys/dev/ep/if_ep.c | |
| parent | fdb480825ff65440c2da5ae9c87490185ccef606 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ep/if_ep.c')
| -rw-r--r-- | sys/dev/ep/if_ep.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/ep/if_ep.c b/sys/dev/ep/if_ep.c index 3cf10c2eb063..4ee4b838e1d2 100644 --- a/sys/dev/ep/if_ep.c +++ b/sys/dev/ep/if_ep.c @@ -38,7 +38,7 @@ */ /* - * $Id: if_ep.c,v 1.41 1996/02/13 15:55:33 gibbs Exp $ + * $Id: if_ep.c,v 1.42 1996/02/26 01:05:34 gibbs Exp $ * * Promiscuous mode added and interrupt logic slightly changed * to reduce the number of adapter failures. Transceiver select @@ -425,8 +425,6 @@ ep_isa_attach(is) u_short config; int irq; - printf("ep%d: ", sc->unit); - sc->ep_connectors = 0; config = inw(IS_BASE + EP_W0_CONFIG_CTRL); if (config & IS_AUI) { @@ -440,7 +438,7 @@ ep_isa_attach(is) } if (!(sc->ep_connectors & 7)) printf("no connectors!"); - sc->ep_connector = inw(BASE + EP_W0_ADDRESS_CFG); + sc->ep_connector = inw(BASE + EP_W0_ADDRESS_CFG) >> ACF_CONNECTOR_BITS; /* * Write IRQ value to board */ @@ -451,7 +449,6 @@ ep_isa_attach(is) return 0; } - printf(" irq %d\n",irq); GO_WINDOW(0); if(irq == 9) irq = 2; @@ -489,7 +486,7 @@ ep_attach(sc) printf("bnc"); } - printf("[*%s*]", ep_conn_type[sc->ep_connector >> ACF_CONNECTOR_BITS]); + printf("[*%s*]", ep_conn_type[sc->ep_connector]); /* * Setup the station address |
