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 We can boot from "ca" disks.



details:   https://anonhg.NetBSD.org/src/rev/8836cc7edbe9
branches:  trunk
changeset: 483955:8836cc7edbe9
user:      ad <ad%NetBSD.org@localhost>
date:      Tue Mar 21 19:38:24 2000 +0000

description:
We can boot from "ca" disks.

diffstat:

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

diffs (28 lines):

diff -r 2f6cd293443e -r 8836cc7edbe9 sys/arch/i386/i386/autoconf.c
--- a/sys/arch/i386/i386/autoconf.c     Tue Mar 21 18:51:43 2000 +0000
+++ b/sys/arch/i386/i386/autoconf.c     Tue Mar 21 19:38:24 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.45 1999/11/17 01:22:09 thorpej Exp $    */
+/*     $NetBSD: autoconf.c,v 1.46 2000/03/21 19:38:24 ad Exp $ */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -405,7 +405,8 @@
                        }
 
                        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")) {
                                /*
                                 * Don't trust BIOS device numbers, try
                                 * to match the information passed by the
@@ -418,7 +419,7 @@
                                goto found;
                        }
 
-                       /* no "fd", "wd" or "sd" */
+                       /* no "fd", "wd", "sd" or "ca" */
                        continue;
 
 found:



Home | Main Index | Thread Index | Old Index