diff options
author | se <se@FreeBSD.org> | 1995-09-07 15:40:51 +0000 |
---|---|---|
committer | se <se@FreeBSD.org> | 1995-09-07 15:40:51 +0000 |
commit | 39322cdbf1346f0f1c2e69cba8622f65063b4988 (patch) | |
tree | efe11d40439f0cd45ecc54cda699f6131975067d /sys/pci/pcisupport.c | |
parent | 1201cb219fd1a473f820480a5756fad2fcb7ed81 (diff) | |
download | FreeBSD-src-39322cdbf1346f0f1c2e69cba8622f65063b4988.zip FreeBSD-src-39322cdbf1346f0f1c2e69cba8622f65063b4988.tar.gz |
Remove support for PCI bridge classes, since this
dealt with by code in pci.c now.
Diffstat (limited to 'sys/pci/pcisupport.c')
-rw-r--r-- | sys/pci/pcisupport.c | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/sys/pci/pcisupport.c b/sys/pci/pcisupport.c index 8254c38..00efb19 100644 --- a/sys/pci/pcisupport.c +++ b/sys/pci/pcisupport.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcisupport.c,v 1.18 1995/08/15 09:43:42 se Exp $ +** $Id: pcisupport.c,v 1.19 1995/09/07 14:17:46 se Exp $ ** ** Device driver for DEC/INTEL PCI chipsets. ** @@ -86,7 +86,6 @@ struct condmsg { static char* chipset_probe (pcici_t tag, pcidi_t type) { - u_long data; unsigned rev; switch (type) { @@ -104,7 +103,7 @@ chipset_probe (pcici_t tag, pcidi_t type) #ifdef undef case 0x04868086: return ("Intel 82430ZX (Aries)"); -#endif +#endif /* undef */ case 0x04a38086: rev = (unsigned) pci_conf_read (tag, PCI_CLASS_REG) & 0xff; if (rev == 16 || rev == 17) @@ -128,26 +127,6 @@ chipset_probe (pcici_t tag, pcidi_t type) return ("DEC 21050 PCI-PCI bridge"); }; - /* - ** check classes - */ - - data = pci_conf_read(tag, PCI_CLASS_REG); - switch (data & (PCI_CLASS_MASK|PCI_SUBCLASS_MASK)) { - - case PCI_CLASS_BRIDGE|PCI_SUBCLASS_BRIDGE_HOST: - return ("CPU-PCI bridge"); - case PCI_CLASS_BRIDGE|PCI_SUBCLASS_BRIDGE_ISA: - return ("PCI-ISA bridge"); - case PCI_CLASS_BRIDGE|PCI_SUBCLASS_BRIDGE_EISA: - return ("PCI-EISA bridge"); - case PCI_CLASS_BRIDGE|PCI_SUBCLASS_BRIDGE_MC: - return ("PCI-MC bridge"); - case PCI_CLASS_BRIDGE|PCI_SUBCLASS_BRIDGE_PCI: - return ("PCI-PCI bridge"); - case PCI_CLASS_BRIDGE|PCI_SUBCLASS_BRIDGE_PCMCIA: - return ("PCI-PCMCIA bridge"); - }; return ((char*)0); } |