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/i386/isa/aic6360.c | |
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/i386/isa/aic6360.c')
-rw-r--r-- | sys/i386/isa/aic6360.c | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/sys/i386/isa/aic6360.c b/sys/i386/isa/aic6360.c index db958a1..d4dbb4a 100644 --- a/sys/i386/isa/aic6360.c +++ b/sys/i386/isa/aic6360.c @@ -31,7 +31,7 @@ */ /* - * $Id: aic6360.c,v 1.20 1996/03/10 07:04:43 gibbs Exp $ + * $Id: aic6360.c,v 1.21 1996/05/02 10:43:08 phk Exp $ * * Acknowledgements: Many of the algorithms used in this driver are * inspired by the work of Julian Elischer (julian@tfs.com) and @@ -124,7 +124,6 @@ #include <scsi/scsi_all.h> #include <scsi/scsiconf.h> -#include <sys/devconf.h> #include <machine/clock.h> #include <i386/isa/isa_device.h> @@ -688,26 +687,6 @@ static struct scsi_device aic_dev = { 0 }; -static struct kern_devconf kdc_aic[NAIC] = { { - 0, 0, 0, /* filled in by dev_attach */ - "aic", 0, { MDDT_ISA, 0, "bio" }, - isa_generic_externalize, 0, 0, ISA_EXTERNALLEN, - &kdc_isa0, /* parent */ - 0, /* parentdata */ - DC_UNCONFIGURED, /* start out in unconfig state */ - "Adaptec AIC-6360 SCSI host adapter chipset", - DC_CLS_MISC /* host adapters aren't special */ -} }; - -static inline void -aic_registerdev(struct isa_device *id) -{ - if(id->id_unit) - kdc_aic[id->id_unit] = kdc_aic[0]; - kdc_aic[id->id_unit].kdc_unit = id->id_unit; - kdc_aic[id->id_unit].kdc_parentdata = id; - dev_attach(&kdc_aic[id->id_unit]); -} /* * INITIALIZATION ROUTINES (probe, attach ++) @@ -744,9 +723,6 @@ aicprobe(dev) bzero(aic, sizeof(struct aic_data)); aicdata[unit] = aic; aic->iobase = dev->id_iobase; -#ifndef DEV_LKM - aic_registerdev(dev); -#endif /* not DEV_LKM */ if (aic_find(aic) != 0) { aicdata[unit] = NULL; @@ -844,7 +820,6 @@ aicattach(dev) /* * ask the adapter what subunits are present */ - kdc_aic[unit].kdc_state = DC_BUSY; /* host adapters are always busy */ scsi_attachdevs(scbus); return 1; |