summaryrefslogtreecommitdiffstats
path: root/sys/i386/eisa/bt74x.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-09-06 23:09:20 +0000
committerphk <phk@FreeBSD.org>1996-09-06 23:09:20 +0000
commitbca885205da7f15208946f0896edc2eda3caff01 (patch)
tree35dad08bf59366e84921fd4aad9718c2f9426a1b /sys/i386/eisa/bt74x.c
parent9640e2d9e8f825813ec445d294de60884ad82bc8 (diff)
downloadFreeBSD-src-bca885205da7f15208946f0896edc2eda3caff01.zip
FreeBSD-src-bca885205da7f15208946f0896edc2eda3caff01.tar.gz
Remove devconf, it never grew up to be of any use.
Diffstat (limited to 'sys/i386/eisa/bt74x.c')
-rw-r--r--sys/i386/eisa/bt74x.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/sys/i386/eisa/bt74x.c b/sys/i386/eisa/bt74x.c
index 28ab275..2b607fc 100644
--- a/sys/i386/eisa/bt74x.c
+++ b/sys/i386/eisa/bt74x.c
@@ -19,7 +19,7 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: bt74x.c,v 1.5 1996/02/26 01:01:41 gibbs Exp $
+ * $Id: bt74x.c,v 1.6 1996/06/12 05:02:40 gpalmer Exp $
*/
#include "eisa.h"
@@ -27,7 +27,6 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/devconf.h>
#include <sys/kernel.h>
#include <scsi/scsi_all.h>
#include <scsi/scsiconf.h>
@@ -103,17 +102,6 @@ struct eisa_driver bt_eisa_driver = {
DATA_SET (eisadriver_set, bt_eisa_driver);
-static struct kern_devconf kdc_eisa_bt = {
- 0, 0, 0, /* filled in by dev_attach */
- "bt", 0, { MDDT_EISA, 0, "bio" },
- eisa_generic_externalize, 0, 0, EISA_EXTERNALLEN,
- &kdc_eisa0, /* parent */
- 0, /* parentdata */
- DC_UNCONFIGURED, /* always start out here */
- NULL,
- DC_CLS_MISC /* host adapters aren't special */
-};
-
static char *bt_match __P((eisa_id_t type));
static char*
@@ -288,7 +276,7 @@ bt_eisa_probe(void)
}
eisa_add_intr(e_dev, irq);
- eisa_registerdev(e_dev, &bt_eisa_driver, &kdc_eisa_bt);
+ eisa_registerdev(e_dev, &bt_eisa_driver);
count++;
}
@@ -360,8 +348,6 @@ bt_eisa_attach(e_dev)
return -1;
}
- e_dev->kdc->kdc_state = DC_BUSY; /* host adapters always busy */
-
/* Attach sub-devices - always succeeds */
bt_attach(bt);
OpenPOWER on IntegriCloud