Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/dev/scsipi/scsiconf.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/dev/scsipi/scsiconf.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.130.2.7 retrieving revision 1.130.2.8 diff -u -p -r1.130.2.7 -r1.130.2.8 --- src/sys/dev/scsipi/scsiconf.c 2000/11/22 16:04:49 1.130.2.7 +++ src/sys/dev/scsipi/scsiconf.c 2000/12/08 09:12:41 1.130.2.8 @@ -1,4 +1,4 @@ -/* $NetBSD: scsiconf.c,v 1.130.2.7 2000/11/22 16:04:49 bouyer Exp $ */ +/* $NetBSD: scsiconf.c,v 1.130.2.8 2000/12/08 09:12:41 bouyer Exp $ */ /*- * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc. @@ -311,6 +311,14 @@ scsi_probe_bus(sc, target, lun) maxlun = minlun = lun; } + /* + * Some HBAs provide an abstracted view of the bus; give them an + * oppertunity to re-scan it before we do. + */ + if (chan->chan_adapter->adapt_ioctl != NULL) + (*chan->chan_adapter->adapt_ioctl)(chan, SCBUSIOLLSCAN, NULL, + 0, curproc); + if ((error = scsipi_adapter_addref(chan->chan_adapter)) != 0) return (error); for (target = mintarget; target <= maxtarget; target++) {