summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1996-12-15 16:28:24 +0000
committerse <se@FreeBSD.org>1996-12-15 16:28:24 +0000
commit9c1048b2f50a54ca11026792acc66ae75e71b2b5 (patch)
treef6118dd991c49079840c28e8c5130e701320126e /sys
parenta05b043bbff2cfeedc81e548624ff0fc81fcc4e0 (diff)
downloadFreeBSD-src-9c1048b2f50a54ca11026792acc66ae75e71b2b5.zip
FreeBSD-src-9c1048b2f50a54ca11026792acc66ae75e71b2b5.tar.gz
Do not limit to 1 LUN if FAILSAVE is set. Seems that CDROM drives
are now only probed for LUN 0, unless there is a specific entry in scsi_conf.c.
Diffstat (limited to 'sys')
-rw-r--r--sys/pci/ncr.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c
index f1286d5..7c3d771 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: ncr.c,v 1.84 1996/12/13 07:55:11 jkh Exp $
+** $Id: ncr.c,v 1.85 1996/12/14 13:13:32 se Exp $
**
** Device driver for the NCR 53C810 PCI-SCSI-Controller.
**
@@ -53,9 +53,6 @@
#ifdef FAILSAFE
#define SCSI_NCR_DFLT_TAGS (0)
-#ifndef MAX_LUN
-#define MAX_LUN (1)
-#endif /* MAX_LUN */
#define CDROM_ASYNC
#endif /* FAILSAFE */
@@ -1260,7 +1257,7 @@ static void ncr_attach (pcici_t tag, int unit);
static char ident[] =
- "\n$Id: ncr.c,v 1.84 1996/12/13 07:55:11 jkh Exp $\n";
+ "\n$Id: ncr.c,v 1.85 1996/12/14 13:13:32 se Exp $\n";
static const u_long ncr_version = NCR_VERSION * 11
+ (u_long) sizeof (struct ncb) * 7
OpenPOWER on IntegriCloud