diff options
author | phk <phk@FreeBSD.org> | 1996-09-06 23:09:20 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-09-06 23:09:20 +0000 |
commit | bca885205da7f15208946f0896edc2eda3caff01 (patch) | |
tree | 35dad08bf59366e84921fd4aad9718c2f9426a1b /sys/dev/ie | |
parent | 9640e2d9e8f825813ec445d294de60884ad82bc8 (diff) | |
download | FreeBSD-src-bca885205da7f15208946f0896edc2eda3caff01.zip FreeBSD-src-bca885205da7f15208946f0896edc2eda3caff01.tar.gz |
Remove devconf, it never grew up to be of any use.
Diffstat (limited to 'sys/dev/ie')
-rw-r--r-- | sys/dev/ie/if_ie.c | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/sys/dev/ie/if_ie.c b/sys/dev/ie/if_ie.c index 24e3829..4c8cf8d 100644 --- a/sys/dev/ie/if_ie.c +++ b/sys/dev/ie/if_ie.c @@ -43,7 +43,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ie.c,v 1.34 1996/06/18 01:22:22 bde Exp $ + * $Id: if_ie.c,v 1.35 1996/06/25 20:30:13 bde Exp $ */ /* @@ -117,7 +117,6 @@ iomem, and to make 16-pointers, we subtract iomem and and with 0xffff. #include <sys/ioctl.h> #include <sys/errno.h> #include <sys/syslog.h> -#include <sys/devconf.h> #include <net/if.h> #include <net/if_types.h> @@ -314,35 +313,12 @@ static int sl_probe(struct isa_device *); static int el_probe(struct isa_device *); static int ni_probe(struct isa_device *); -static struct kern_devconf kdc_ie[NIE] = { { - 0, 0, 0, /* filled in by dev_attach */ - "ie", 0, { MDDT_ISA, 0, "net" }, - isa_generic_externalize, 0, 0, ISA_EXTERNALLEN, - &kdc_isa0, /* parent */ - 0, /* parentdata */ - DC_UNCONFIGURED, /* state */ - "Ethernet adapter", /* description */ - DC_CLS_NETIF /* class */ -} }; - -static inline void -ie_registerdev(struct isa_device *id) -{ - if(id->id_unit) - kdc_ie[id->id_unit] = kdc_ie[0]; - kdc_ie[id->id_unit].kdc_unit = id->id_unit; - kdc_ie[id->id_unit].kdc_isa = id; - dev_attach(&kdc_ie[id->id_unit]); -} - /* This routine written by Charles Martin Hannum. */ int ieprobe(dvp) struct isa_device *dvp; { int ret; - ie_registerdev(dvp); - ret = sl_probe(dvp); if(!ret) ret = el_probe(dvp); if(!ret) ret = ni_probe(dvp); @@ -596,7 +572,6 @@ ieattach(dvp) if_attach(ifp); ether_ifattach(ifp); - kdc_ie[unit].kdc_description = ie_hardware_names[ie_softc[unit].hard_type]; return 1; } |