summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/scsipi/scsiconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/scsipi/scsiconf.c b/sys/dev/scsipi/scsiconf.c
index 63babfb4d2d..e927991bc92 100644
--- a/sys/dev/scsipi/scsiconf.c
+++ b/sys/dev/scsipi/scsiconf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: scsiconf.c,v 1.40 1995/08/14 13:01:42 briggs Exp $ */
+/* $NetBSD: scsiconf.c,v 1.41 1995/08/21 09:30:09 pk Exp $ */
/*
* Copyright (c) 1994 Charles Hannum. All rights reserved.
@@ -502,8 +502,8 @@ scsi_probedev(scsi, target, lun)
sa.sa_inqbuf = &inqbuf;
if ((cf = config_search(scsibussubmatch, (struct device *)scsi, &sa)) != 0) {
- config_attach((struct device *)scsi, cf, &sa, NULL);
scsi->sc_link[target][lun] = sc_link;
+ config_attach((struct device *)scsi, cf, &sa, NULL);
} else
goto bad;