summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/isa_pci.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement BUS_ADD_CHILD() for the isab(4) driver. It already callsjhb2011-12-141-0/+1
| | | | | | | bus_generic_probe() and bus_generic_attach() to handle drivers that add new children via identify methods. MFC after: 1 week
* - There's no need to overwrite the default device method with the defaultmarius2011-11-221-2/+1
| | | | | | | | | | one. Interestingly, these are actually the default for quite some time (bus_generic_driver_added(9) since r52045 and bus_generic_print_child(9) since r52045) but even recently added device drivers do this unnecessarily. Discussed with: jhb, marcel - While at it, use DEVMETHOD_END. Discussed with: jhb - Also while at it, use __FBSDID.
* Allow direct children of PCI-ISA bridges to allocate resources frombrix2011-05-131-7/+111
| | | | | | | | | | the parent PCI bus. Heavily inspired by jhb@ and a similar implementation present in sys/dev/pci/vga_pci.c. Reviewed by: jhb Approved by: jhb
* Don't save and restore the ELCR register across suspend and resume forjhb2005-09-291-100/+5
| | | | | | | | the Intel 82371AB PCI-ISA bridge. We now do this all the time for the !APIC case in the atpic driver. This cuts the raw line count for this driver by about 40%. MFC after: 1 week
* Add some missing <sys/module.h> includes which are masked by thephk2004-05-301-0/+1
| | | | one on death-row in <sys/kernel.h>
* Convert callers to the new bus_alloc_resource_any(9) API.njl2004-03-171-1/+1
| | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
* Use __FBSDID().obrien2003-08-241-2/+3
| | | | Also some minor style cleanups.
* Prefer new location of pci include files (which have only been in theimp2003-08-221-2/+2
| | | | | tree for two or more years now), except in a few places where there's code to be compatible with older versions of FreeBSD.
* - Make the isab devclass global to allow for multiple ISA bridge drivers.jhb2003-07-081-12/+7
| | | | | | | - Factor out code common to all ISA bridge drivers attach methods into a isab_attach() function. - Rename the PCI-ISA bridge driver's attach function to pci_isab_attach() and have it call isab_attach().
* Save and restore the interrupt Edge/Level Control Registers (ELCR)iedowse2002-10-301-5/+88
| | | | | | | | | | | across system suspends on the Intel 82371AB PCI-ISA bridge. On a Sony Vaio C1XD that I have, these registers are not set correctly after an ACPI resume. The result is that after resuming, a shared IRQ is left in edge-triggered mode so the interrupt can later become jammed in a state where the line remains asserted, but the handler is never called. Reviewed by: jhb
* Add support for the Intel 82443MX chipsetpirzyk2001-12-211-1/+1
| | | | | PR: kern/33032 MFC after: 1 month
* - Don't return early from the PCI:EISA bridge attachment, or we will losemsmith2000-12-121-41/+40
| | | | | | | | | the ISA bus. - Don't expect that a PCI:ISA bridge will have a correct class value; if we're checking PCI IDs, only depend on these. This should fix the loss of ISA on machines with PCI:EISA bridges like the AS4100.
* It looks like we can't count on these devices always having a consistentmsmith2000-12-111-44/+43
| | | | | | class/subclass, so give up trying to cull the list. Instead, complain in the bootverbose case, but otherwise just accept that we will have to carry this list of device IDs around.
* The ICH2 reports itself as a PCI:ISA bridge, so don't special-case itmsmith2000-12-101-1/+0
| | | | | | here. Submitted by: Michael Harnois <mdharnois@home.com>
* - Fix the device database parsing code so that it actually works.msmith2000-12-091-2/+0
| | | | | | | | | | - Improve the formatting for devices identified by the database. - Fix the pcib_route_interrupt method definition, as an old version snuck in here somehow 8( - Remove a couple of the vendor/device IDs for PCI:ISA bridges which correctly identify themselves. Submitted by: peter
* Next phase in the PCI subsystem cleanup.msmith2000-12-081-0/+161
- Move PCI core code to dev/pci. - Split bridge code out into separate modules. - Remove the descriptive strings from the bridge drivers. If you want to know what a device is, use pciconf. Add support for broadly identifying devices based on class/subclass, and for parsing a preloaded device identification database so that if you want to waste the memory, you can identify *anything* we know about. - Remove machine-dependant code from the core PCI code. APIC interrupt mapping is performed by shadowing the intline register in machine- dependant code. - Bring interrupt routing support to the Alpha (although many platforms don't yet support routing or mapping interrupts entirely correctly). This resulted in spamming <sys/bus.h> into more places than it really should have gone. - Put sys/dev on the kernel/modules include path. This avoids having to change *all* the pci*.h includes.
OpenPOWER on IntegriCloud