Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/vax Autoconf for SCSI stuff on VS4000s.



details:   https://anonhg.NetBSD.org/src/rev/4daa934c43b3
branches:  trunk
changeset: 485002:4daa934c43b3
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Apr 16 16:03:42 2000 +0000

description:
Autoconf for SCSI stuff on VS4000s.

diffstat:

 sys/arch/vax/vax/autoconf.c |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 06b499aacd3d -r 4daa934c43b3 sys/arch/vax/vax/autoconf.c
--- a/sys/arch/vax/vax/autoconf.c       Sun Apr 16 15:59:02 2000 +0000
+++ b/sys/arch/vax/vax/autoconf.c       Sun Apr 16 16:03:42 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.46 2000/02/12 15:48:34 ragge Exp $      */
+/*     $NetBSD: autoconf.c,v 1.47 2000/04/16 16:03:42 matt Exp $       */
 
 /*
  * Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@@ -231,10 +231,17 @@
                return 0; /* Wrong unit */
 
        ppdev = dev->dv_parent->dv_parent;
+
+       /* VS3100 NCR 53C80 */
        if ((strcmp(ppdev->dv_cfdata->cf_driver->cd_name, "ncr") == 0) &&
            (ppdev->dv_unit == B_CONTROLLER(bootdev)))
                        return 1;
 
+       /* VS4000 NCR 53C94 */
+       if ((strcmp(ppdev->dv_cfdata->cf_driver->cd_name, "asc") == 0) &&
+           (ppdev->dv_unit == B_CONTROLLER(bootdev)))
+                       return 1;
+
        return 0; /* Where did we come from??? */
 }
 #endif



Home | Main Index | Thread Index | Old Index