aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/include/legacyvar.h
Commit message (Collapse)AuthorAgeFilesLines
* - Rename nexus_pcib to legacy_pcib. I've been meaning to do this for aJohn Baldwin2003-06-061-0/+11
| | | | | | | | | | | | | | | | while after the legacy device was added since this driver hangs from legacy and not nexus. - Make several methods non-static so they can be reused in a mptable host -> pci bridge driver that will be added at a later date. - Let legacy_pcib() use pcibios_pcib_route_interrupt() directly instead of wrapping it in a private function. Originally, I thought I was going to have the nexus_pcib() driver make a runtime APIC vs. 8259A check and call the appropriate routing method (MPTable vs. PIR) that way, but it ended up being cleaner to make nexus_pcib() just work with PIR and have a separate host -> pci bridge driver for the mptable/apic case. Notes: svn path=/head/; revision=115908
* Add a new legacy(4) device driver for use on machines that do not haveJohn Baldwin2002-09-231-9/+9
| | | | | | | | | | | ACPI or for when ACPI support is disabled or not present in the kernel. Basically, the nexus device is now split into two with some parts (such as adding default ISA, MCA, and EISA busses if they aren't found as well as support for PCI bus device ivars) being moved to the legacy driver. Notes: svn path=/head/; revision=103862
* Use the __BUS_ACCESSOR macro for NEXUS_ACCESSORMaxime Henrion2002-08-201-14/+2
| | | | | | | | | instead of rolling our own implementation. Reviewed by: tmm Notes: svn path=/head/; revision=102179
* Get out the roto-rooter and clean up the abuse of nexus ivars by thePeter Wemm2000-09-281-0/+55
i386/isa/pcibus.c. This gets -current running again on multiple host->pci machines after the most recent nexus commits. I had discussed this with Mike Smith, but ended up doing it slightly differently to what we discussed as it turned out cleaner this way. Mike was suggesting creating a new resource (SYS_RES_PCIBUS) or something and using *_[gs]et_resource(), but IMHO that wasn't ideal as SYS_RES_* is meant to be a global platform property, not a quirk of a given implementation. This does use the ivar methods but does so properly. It also now prints the physical pci bus that a host->pci bridge (pcib) corresponds to. Notes: svn path=/head/; revision=66416