Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/i386 Previous was incomplete. Tsk.



details:   https://anonhg.NetBSD.org/src/rev/56ea452eba23
branches:  trunk
changeset: 484029:56ea452eba23
user:      ad <ad%NetBSD.org@localhost>
date:      Thu Mar 23 13:49:49 2000 +0000

description:
Previous was incomplete. Tsk.

diffstat:

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

diffs (29 lines):

diff -r 8bd9f5b77ce6 -r 56ea452eba23 sys/arch/i386/i386/autoconf.c
--- a/sys/arch/i386/i386/autoconf.c     Thu Mar 23 11:33:35 2000 +0000
+++ b/sys/arch/i386/i386/autoconf.c     Thu Mar 23 13:49:49 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.46 2000/03/21 19:38:24 ad Exp $ */
+/*     $NetBSD: autoconf.c,v 1.47 2000/03/23 13:49:49 ad Exp $ */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -160,7 +160,8 @@
        for (dv = alldevs.tqh_first; dv != NULL; dv = dv->dv_list.tqe_next)
                if (dv->dv_class == DV_DISK &&
                    (!strcmp(dv->dv_cfdata->cf_driver->cd_name, "sd") ||
-                    !strcmp(dv->dv_cfdata->cf_driver->cd_name, "wd")))
+                    !strcmp(dv->dv_cfdata->cf_driver->cd_name, "wd") ||
+                    !strcmp(dv->dv_cfdata->cf_driver->cd_name, "ca")))
                        i386_ndisks++;
 
        if (i386_ndisks == 0)
@@ -196,7 +197,8 @@
                    dv->dv_xname, dv->dv_cfdata->cf_driver->cd_name);
 #endif
                if (!strcmp(dv->dv_cfdata->cf_driver->cd_name, "sd") ||
-                   !strcmp(dv->dv_cfdata->cf_driver->cd_name, "wd")) {
+                   !strcmp(dv->dv_cfdata->cf_driver->cd_name, "wd") ||
+                   !strcmp(dv->dv_cfdata->cf_driver->cd_name, "ca")) {
                        n++;
                        sprintf(i386_alldisks->dl_nativedisks[n].ni_devname,
                            "%s%d", dv->dv_cfdata->cf_driver->cd_name,



Home | Main Index | Thread Index | Old Index