From 5ffd68d312e93ced9ef087467e728c6d495dc2bc Mon Sep 17 00:00:00 2001 From: se Date: Sun, 15 Dec 1996 16:28:24 +0000 Subject: [PATCH] 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. --- sys/pci/ncr.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c index f1286d552fd1..7c3d771227d9 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