diff options
| author | Matt Jacob <mjacob@FreeBSD.org> | 1999-07-06 01:24:20 +0000 |
|---|---|---|
| committer | Matt Jacob <mjacob@FreeBSD.org> | 1999-07-06 01:24:20 +0000 |
| commit | 9ba867378683452be4f031bea14d318de4e88d78 (patch) | |
| tree | 093404eacec2d04a381672b5820f80f020acc650 /sys/dev/isp/isp_pci.c | |
| parent | 876cc3dae0b19d9912da0677b61f0bc807628156 (diff) | |
Notes
Diffstat (limited to 'sys/dev/isp/isp_pci.c')
| -rw-r--r-- | sys/dev/isp/isp_pci.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c index 5bab478252417..69dbd833d1a00 100644 --- a/sys/dev/isp/isp_pci.c +++ b/sys/dev/isp/isp_pci.c @@ -1,4 +1,4 @@ -/* $Id: isp_pci.c,v 1.26 1999/07/05 22:01:48 mjacob Exp $ */ +/* $Id: isp_pci.c,v 1.27 1999/07/05 22:04:08 mjacob Exp $ */ /* release_6_5_99 */ /* * PCI specific probe and attach routines for Qlogic ISP SCSI adapters. @@ -323,6 +323,16 @@ isp_pci_attach(pcici_t cfid, int unit) bzero(pcs, sizeof (struct isp_pcisoftc)); /* + * Figure out if we're supposed to skip this one. + */ + if (getenv_int("isp_disable", &bitmap)) { + if (bitmap & (1 << unit)) { + printf("isp%d: not configuring\n", unit); + return; + } + } + + /* * Figure out which we should try first - memory mapping or i/o mapping? */ #if SCSI_ISP_PREFER_MEM_MAP == 1 |
