Module Name:    src
Committed By:   phx
Date:           Mon Apr 25 18:29:33 UTC 2011

Modified Files:
        src/sys/arch/sandpoint/stand/altboot: main.c

Log Message:
Also scan for PCI_CLASS_RAID, when looking for disk devices.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/sandpoint/stand/altboot/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sandpoint/stand/altboot/main.c
diff -u src/sys/arch/sandpoint/stand/altboot/main.c:1.13 src/sys/arch/sandpoint/stand/altboot/main.c:1.14
--- src/sys/arch/sandpoint/stand/altboot/main.c:1.13	Sun Mar 20 02:07:05 2011
+++ src/sys/arch/sandpoint/stand/altboot/main.c	Mon Apr 25 18:29:33 2011
@@ -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);

Reply via email to