Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sandpoint/stand/altboot Also scan for PCI_CLASS_RAI...



details:   https://anonhg.NetBSD.org/src/rev/71e8ece57a16
branches:  trunk
changeset: 764485:71e8ece57a16
user:      phx <phx%NetBSD.org@localhost>
date:      Mon Apr 25 18:29:33 2011 +0000

description:
Also scan for PCI_CLASS_RAID, when looking for disk devices.

diffstat:

 sys/arch/sandpoint/stand/altboot/main.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 4c55a3cbe2c2 -r 71e8ece57a16 sys/arch/sandpoint/stand/altboot/main.c
--- a/sys/arch/sandpoint/stand/altboot/main.c   Mon Apr 25 18:28:47 2011 +0000
+++ b/sys/arch/sandpoint/stand/altboot/main.c   Mon Apr 25 18:29:33 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.13 2011/03/20 02:07:05 phx Exp $ */
+/* $NetBSD: main.c,v 1.14 2011/04/25 18:29:33 phx Exp $ */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -129,6 +129,8 @@
 
        nata = pcilookup(PCI_CLASS_IDE, lata, 2);
        if (nata == 0)
+               nata = pcilookup(PCI_CLASS_RAID, lata, 2);
+       if (nata == 0)
                nata = pcilookup(PCI_CLASS_MISCSTORAGE, lata, 2);
        if (nata == 0)
                nata = pcilookup(PCI_CLASS_SCSI, lata, 2);



Home | Main Index | Thread Index | Old Index