From bca885205da7f15208946f0896edc2eda3caff01 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 6 Sep 1996 23:09:20 +0000 Subject: Remove devconf, it never grew up to be of any use. --- sys/i386/isa/if_ix.c | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) (limited to 'sys/i386/isa/if_ix.c') diff --git a/sys/i386/isa/if_ix.c b/sys/i386/isa/if_ix.c index 2275622..720a671 100644 --- a/sys/i386/isa/if_ix.c +++ b/sys/i386/isa/if_ix.c @@ -28,7 +28,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_ix.c,v 1.21 1996/06/25 20:30:18 bde Exp $ + * $Id: if_ix.c,v 1.22 1996/08/06 21:14:08 phk Exp $ */ #include "ix.h" @@ -41,7 +41,6 @@ #include #include #include -#include #include #include @@ -175,28 +174,6 @@ RRR */ struct isa_driver ixdriver = {ixprobe, ixattach, "ix"}; -static struct kern_devconf kdc_ix_template = { - 0, 0, 0, /* filled in by dev_attach */ - "ix", 0, { MDDT_ISA, 0, "net" }, - isa_generic_externalize, 0, 0, ISA_EXTERNALLEN, - &kdc_isa0, /* parent */ - 0, /* parentdata */ - DC_UNCONFIGURED, /* state */ - "", /* description */ - DC_CLS_NETIF /* class */ -}; - -static inline void -ix_registerdev(struct isa_device *id, const char *descr) -{ - struct kern_devconf *kdc = &ix_softc[id->id_unit].kdc; - *kdc = kdc_ix_template; - kdc->kdc_unit = id->id_unit; - kdc->kdc_parentdata = id; - kdc->kdc_description = descr; - dev_attach(kdc); -} - /* * Enable the interrupt signal on the board so that it may interrupt * the host. @@ -552,10 +529,6 @@ ixprobe(struct isa_device *dvp) { sc->flags = IXF_NONE; /* make sure the flag word is NONE */ status = IX_IO_PORTS; -#ifndef DEV_LKM - ix_registerdev(dvp, "Ethernet adapter: Intel EtherExpress16"); -#endif /* not DEV_LKM */ - ixprobe_exit: DEBUGBEGIN(DEBUGPROBE) DEBUGDO(printf ("ixprobe exited\n");) @@ -608,7 +581,6 @@ ixattach(struct isa_device *dvp) { if_attach(ifp); ether_ifattach(ifp); - sc->kdc.kdc_state = DC_IDLE; printf("ix%d: address %6D\n", unit, sc->arpcom.ac_enaddr, ":"); return(0); @@ -631,8 +603,6 @@ ixinit(int unit) { DEBUGDO(printf("ixinit:");) DEBUGEND - sc->kdc.kdc_state = DC_BUSY; - /* Put bart into loopback until we are done intializing to * make sure that packets don't hit the wire */ bart_config = inb(sc->iobase + config); @@ -1455,8 +1425,6 @@ ixstop(struct ifnet *ifp) { /* force the 82586 reset pin high */ outb(sc->iobase + ee_ctrl, I586_RESET); - sc->kdc.kdc_state = DC_IDLE; - DEBUGBEGIN(DEBUGSTOP) DEBUGDO(printf("ixstop exiting\n");) DEBUGEND -- cgit v1.1