aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1997-10-17 16:15:43 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1997-10-17 16:15:43 +0000
commitcf8dfa04fe692bcd4e54313549af2ba212353f79 (patch)
treef65da75f1e5bd250b8a792967b5db1006f875e9a
parentd54d34b53372c7e1465edd7bbe1831b8b3a71fde (diff)
Notes
-rw-r--r--sys/pci/pcisupport.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/pci/pcisupport.c b/sys/pci/pcisupport.c
index a77e9f218041..d9ce069c2405 100644
--- a/sys/pci/pcisupport.c
+++ b/sys/pci/pcisupport.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pcisupport.c,v 1.54 1997/09/24 07:37:56 phk Exp $
+** $Id: pcisupport.c,v 1.55 1997/10/10 11:52:17 asami Exp $
**
** Device driver for DEC/INTEL PCI chipsets.
**
@@ -237,6 +237,9 @@ chipset_probe (pcici_t tag, pcidi_t type)
return ("VLSI 82C535 Eagle II System Controller");
case 0x01051004:
return ("VLSI 82C147 IrDA Controller");
+ /* TI -- vendor 0x104c */
+ case 0xac15104c:
+ return ("TI 1131 PCI-CardBus bridge");
};
if (descr = generic_pci_bridge(tag))
@@ -810,6 +813,13 @@ DATA_SET (pcidevice_set, vga_device);
static char* vga_probe (pcici_t tag, pcidi_t type)
{
int data = pci_conf_read(tag, PCI_CLASS_REG);
+ u_int id = pci_conf_read(tag, PCI_ID_REG);
+
+ switch (id) {
+ /* NeoMagic -- vendor 0x10c8 */
+ case 0x000410c8:
+ return ("NeoMagic NM2160 Laptop SVGA controller");
+ }
switch (data & PCI_CLASS_MASK) {