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/matcd/matcd.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/matcd/matcd.c')
-rw-r--r-- | sys/i386/isa/matcd/matcd.c | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/sys/i386/isa/matcd/matcd.c b/sys/i386/isa/matcd/matcd.c index 70c0a12..b71914c 100644 --- a/sys/i386/isa/matcd/matcd.c +++ b/sys/i386/isa/matcd/matcd.c @@ -337,7 +337,7 @@ static char MATCDVERSION[]="Version 1(26) 18-Oct-95"; static char MATCDCOPYRIGHT[] = "Matsushita CD-ROM driver, Copr. 1994,1995 Frank Durda IV"; /* The proceeding strings may not be changed*/ -/* $Id: matcd.c,v 1.18 1996/06/08 09:17:51 bde Exp $ */ +/* $Id: matcd.c,v 1.19 1996/07/23 21:51:56 phk Exp $ */ /*--------------------------------------------------------------------------- Include declarations @@ -360,7 +360,6 @@ static char MATCDCOPYRIGHT[] = "Matsushita CD-ROM driver, Copr. 1994,1995 Frank #include "i386/isa/matcd/matcddrv.h" /*Drive-related defs & strings*/ #include "i386/isa/matcd/creative.h" /*Host interface related defs*/ -#include <sys/devconf.h> #include <sys/conf.h> #include <sys/kernel.h> #ifdef DEVFS @@ -484,18 +483,6 @@ struct matcd_read2 { loading possible. */ -static struct kern_devconf kdc_matcd[TOTALDRIVES] = { { - 0,0,0, /*Filled in by dev_attach*/ - "matcdc",0,{MDDT_ISA,0,"bio"}, - isa_generic_externalize,0,0,ISA_EXTERNALLEN, - &kdc_isa0, /*<12>Parent*/ - 0, /*<12>Parent Data*/ - DC_IDLE, /*<12>Status*/ - "Matsushita CD-ROM Controller" /*<12>This is the description*/ -} }; - - - /*--------------------------------------------------------------------------- These macros take apart the minor number and yield the @@ -1335,25 +1322,6 @@ int doprobe(int port,int cdrive) /*--------------------------------------------------------------------------- -<12> matcd_register - Something to handle dynamic driver loading. - Sorry for the lousy description but no one could point - me to anything that explained what it is for either. - Added in Edit 12. ----------------------------------------------------------------------------*/ - -static inline void matcd_register(struct isa_device *id) -{ - if(id->id_unit) { - kdc_matcd[id->id_unit]=kdc_matcd[0]; - } - kdc_matcd[id->id_unit].kdc_unit=id->id_unit; - kdc_matcd[id->id_unit].kdc_isa=id; - dev_attach(&kdc_matcd[id->id_unit]); - return; -} - - -/*--------------------------------------------------------------------------- matcd_attach - Locates drives on the adapters that were located. If we got here, we located an interface and at least one drive. Now we figure out how many drives are under that |