summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1997-10-17 16:15:43 +0000
committerwollman <wollman@FreeBSD.org>1997-10-17 16:15:43 +0000
commit8587850e5c7c518e2e0adfb7731d3d07395daa98 (patch)
tree3e8730973cbb7e02a0da34d3cf2ea7a0de6e6879 /sys/pci
parent14aa7b01ea93949392e6e18666f790095eac2ebf (diff)
downloadFreeBSD-src-8587850e5c7c518e2e0adfb7731d3d07395daa98.zip
FreeBSD-src-8587850e5c7c518e2e0adfb7731d3d07395daa98.tar.gz
Teach the PCI code about the TI 1131 and NeoMagic NM2160 in my laptop.
Diffstat (limited to 'sys/pci')
-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 a77e9f2..d9ce069 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) {
OpenPOWER on IntegriCloud