summaryrefslogtreecommitdiffstats
path: root/sys/scsi
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1995-12-13 15:13:57 +0000
committerjulian <julian@FreeBSD.org>1995-12-13 15:13:57 +0000
commitd905b350fec038c097b2a29731ddef049bc79b80 (patch)
treef0ebb5173fc54865e90ae9881089258ea9c50611 /sys/scsi
parenta9b0efbc489928e8b1df5cb2c1b948a9128932f2 (diff)
downloadFreeBSD-src-d905b350fec038c097b2a29731ddef049bc79b80.zip
FreeBSD-src-d905b350fec038c097b2a29731ddef049bc79b80.tar.gz
devsw tables are now arrays of POINTERS to struct [cb]devsw
seems to work hre just fine though I can't check every file that changed due to limmited h/w, however I've checked enught to be petty happy withe hte code.. WARNING... struct lkm[mumble] has changed so it might be an idea to recompile any lkm related programs
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/scsiconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c
index 78e70eb..afdc5e6 100644
--- a/sys/scsi/scsiconf.c
+++ b/sys/scsi/scsiconf.c
@@ -16,7 +16,7 @@
*
* New configuration setup: dufault@hda.com
*
- * $Id: scsiconf.c,v 1.38 1995/11/21 15:14:28 bde Exp $
+ * $Id: scsiconf.c,v 1.39 1995/12/10 10:58:25 julian Exp $
*/
#include <sys/types.h>
@@ -1198,7 +1198,7 @@ scsi_dev_lookup(d_open)
dev_t d = NODEV;
for (i = 0; i < nchrdev; i++)
- if (cdevsw[i].d_open == d_open)
+ if (cdevsw[i]->d_open == d_open)
{
d = makedev(i, 0);
break;
OpenPOWER on IntegriCloud