mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Give more detailed information about the type of bridge devices
found when probing the PCI bus.
This commit is contained in:
parent
78e444665c
commit
1f8ca7ddc4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9362
@ -1,6 +1,6 @@
|
||||
/**************************************************************************
|
||||
**
|
||||
** $Id: pcisupport.c,v 1.13 1995/03/21 23:01:05 se Exp $
|
||||
** $Id: pcisupport.c,v 1.14 1995/06/28 11:28:43 se Exp $
|
||||
**
|
||||
** Device driver for DEC/INTEL PCI chipsets.
|
||||
**
|
||||
@ -115,8 +115,18 @@ chipset_probe (pcici_t tag, pcidi_t type)
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user