summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/wd7000.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/wd7000.c')
-rw-r--r--sys/i386/isa/wd7000.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/sys/i386/isa/wd7000.c b/sys/i386/isa/wd7000.c
index 0a81a94..22bd0e2 100644
--- a/sys/i386/isa/wd7000.c
+++ b/sys/i386/isa/wd7000.c
@@ -62,7 +62,6 @@
#include <scsi/scsi_all.h>
#include <scsi/scsiconf.h>
-#include <sys/devconf.h>
#include <machine/clock.h>
@@ -72,17 +71,6 @@
#include <i386/isa/isa_device.h>
-static struct kern_devconf kdc_wds[NWDS] = { {
- 0, 0, 0,
- "wds", 0, {MDDT_ISA, 0, "bio"},
- isa_generic_externalize, 0, 0, ISA_EXTERNALLEN,
- &kdc_isa0,
- 0,
- DC_UNCONFIGURED, /* state */
- "Western Digital WD-7000 SCSI host adapter",
- DC_CLS_MISC /* class */
-} };
-
static struct scsi_device wds_dev =
{
NULL,
@@ -263,12 +251,6 @@ wdsprobe(struct isa_device *dev)
dev->id_unit = wdsunit; /* XXX WRONG! */
wds[wdsunit].addr = dev->id_iobase;
- if(dev->id_unit)
- kdc_wds[dev->id_unit] = kdc_wds[0];
- kdc_wds[dev->id_unit].kdc_unit = dev->id_unit;
- kdc_wds[dev->id_unit].kdc_parentdata = dev;
- dev_attach(&kdc_wds[dev->id_unit]);
-
if(wds_init(dev) != 0)
return 0;
wdsunit++;
@@ -641,8 +623,6 @@ wdsattach(struct isa_device *dev)
return 0;
scbus->adapter_link = &wds[unit].sc_link;
- kdc_wds[unit].kdc_state = DC_BUSY;
-
scsi_attachdevs(scbus);
return 1;
OpenPOWER on IntegriCloud