summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-10-31 10:35:24 +0000
committerdfr <dfr@FreeBSD.org>1998-10-31 10:35:24 +0000
commit6812cb0412f8b584d79915b6f855ce0cbdc2d962 (patch)
tree04c86d5710708f0a053a9c18d0e4a4a8523ef270 /sys/pci
parentc9ebff45d03b2e60c25849990936ef4b3bae0483 (diff)
downloadFreeBSD-src-6812cb0412f8b584d79915b6f855ce0cbdc2d962.zip
FreeBSD-src-6812cb0412f8b584d79915b6f855ce0cbdc2d962.tar.gz
* Fix vga_probe() so that it doesn't report a non-vga display adapter as
a vga. * Fix broken logic in syscons for a failed probe. * Fix AlphaStation 500/600 so that non-serial consoles are supported. Submitted by: Thomas Valentino Crimi <tcrimi+@andrew.cmu.edu> (vga bits), Andrew Gallatin <gallatin@cs.duke.edu> (AS500/AS600)
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/pcisupport.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/pci/pcisupport.c b/sys/pci/pcisupport.c
index b78ac65..1cac450 100644
--- a/sys/pci/pcisupport.c
+++ b/sys/pci/pcisupport.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pcisupport.c,v 1.71 1998/07/07 05:00:09 bde Exp $
+** $Id: pcisupport.c,v 1.72 1998/09/16 20:29:22 msmith Exp $
**
** Device driver for DEC/INTEL PCI chipsets.
**
@@ -1137,8 +1137,14 @@ static char* vga_probe (pcici_t tag, pcidi_t typea)
if ((data & PCI_SUBCLASS_MASK)
== PCI_SUBCLASS_DISPLAY_VGA)
type = "VGA-compatible display device";
- else
+ else {
+ /*
+ * If it isn't a vga display device,
+ * don't pretend we found one.
+ */
type = "Display device";
+ return 0;
+ }
}
break;
OpenPOWER on IntegriCloud