Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/thorpej_scsipi]: src/sys/arch/sparc64/sparc64 Make it compile again.



details:   https://anonhg.NetBSD.org/src/rev/11152ce19278
branches:  thorpej_scsipi
changeset: 477396:11152ce19278
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Wed Mar 14 09:01:43 2001 +0000

description:
Make it compile again.

diffstat:

 sys/arch/sparc64/sparc64/autoconf.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (22 lines):

diff -r b715730f61d4 -r 11152ce19278 sys/arch/sparc64/sparc64/autoconf.c
--- a/sys/arch/sparc64/sparc64/autoconf.c       Mon Mar 12 13:27:04 2001 +0000
+++ b/sys/arch/sparc64/sparc64/autoconf.c       Wed Mar 14 09:01:43 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.22.2.3 2001/02/11 19:12:33 bouyer Exp $ */
+/*     $NetBSD: autoconf.c,v 1.22.2.4 2001/03/14 09:01:43 bouyer Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -1287,10 +1287,8 @@
                /*
                 * Bounds check: we know the target and lun widths.
                 */
-               if (target >=
-                   periph->periph_channel->chan_adapter->adapt_ntargets ||
-                   lun >=
-                   periph->periph_channel->chan_adapter->adapt_nluns) {
+               if (target >= periph->periph_channel->chan_ntargets ||
+                   lun >= periph->periph_channel->chan_nluns) {
                        printf("SCSI disk bootpath component not accepted: "
                               "target %u; lun %u\n", target, lun);
                        return;



Home | Main Index | Thread Index | Old Index