]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Create a pir0 psuedo device as a child of legacy0 if we attach a legacy
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 4 May 2004 21:17:52 +0000 (21:17 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 4 May 2004 21:17:52 +0000 (21:17 +0000)
commit7a64d8d74c6ad29bbf63dad4964dd168372bf865
tree6cdccb56a7152e273017aceacad7015746d2f71d
parent635af77a22a145b3da179ae58ff75c4d3a2bd1a7
- Create a pir0 psuedo device as a child of legacy0 if we attach a legacy
  host-PCI bridge device and find a valid $PIR.
- Make pci_pir_parse() private to pci_pir.c and have pir0's attach routine
  call it instead of having legacy_pcib_attach() call it.
- Implement suspend/resume support for the $PIR by giving pir0 a resume
  method that calls the BIOS to reroute each link that was already routed
  before the machine was suspended.
- Dump the state of the routed flag in the links display code.
- If a link's IRQ is set by a tunable, then force that link to be re-routed
  the first time it is used.
- Move the 'Found $PIR' message under bootverbose as the pir0 description
  line lists the number of entries already.  The pir0 line also only shows
  up if we are actually using the $PIR which is a bonus.
- Use BUS_CONFIG_INTR() to ensure that any IRQs used by a PCI link are
  set to level/low trigger/polarity.
sys/i386/include/pci_cfgreg.h
sys/i386/pci/pci_bus.c
sys/i386/pci/pci_pir.c