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.
This commit is contained in:
se 1996-12-15 16:28:24 +00:00
parent d4c9c7062f
commit 5ffd68d312

View File

@ -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