From 06c9e05c76044850adda2bf56ab4a2f97e29a8f9 Mon Sep 17 00:00:00 2001 From: mycroft Date: Tue, 24 Sep 2002 13:29:44 +0000 Subject: [PATCH] Oof, this driver needs a lot more work to support 16 targets. --- sys/dev/ic/ncr53c9x.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/dev/ic/ncr53c9x.c b/sys/dev/ic/ncr53c9x.c index e6a1be68927b..98eed4ca0aae 100644 --- a/sys/dev/ic/ncr53c9x.c +++ b/sys/dev/ic/ncr53c9x.c @@ -1,4 +1,4 @@ -/* $NetBSD: ncr53c9x.c,v 1.98 2002/09/22 19:05:11 mycroft Exp $ */ +/* $NetBSD: ncr53c9x.c,v 1.99 2002/09/24 13:29:44 mycroft Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -77,7 +77,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ncr53c9x.c,v 1.98 2002/09/22 19:05:11 mycroft Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ncr53c9x.c,v 1.99 2002/09/24 13:29:44 mycroft Exp $"); #include #include @@ -277,7 +277,11 @@ ncr53c9x_attach(sc) chan->chan_adapter = adapt; chan->chan_bustype = &scsi_bustype; chan->chan_channel = 0; +#if 0 /* XXX */ chan->chan_ntargets = (sc->sc_rev == NCR_VARIANT_FAS366) ? 16 : 8; +#else + chan->chan_ntargets = 8; +#endif chan->chan_nluns = 8; chan->chan_id = sc->sc_id;