summaryrefslogtreecommitdiff
path: root/sys/arch/i386/pci/pci_machdep.h
AgeCommit message (Collapse)Author
2010-06-29Add support for mapping ACPI to PCI devicesJordan Hargrave
ok kettenis, deraadt
2009-10-06Allow MD limits for allocating PCI io and mem space and specify limits onMark Kettenis
i386 and amd64 to make avoid legacy ISA I/O registers. Fixes issues with ThinkPad T-series Dock II units as reported by sobrado@ ok miod@
2009-08-22Constify the what/name parameter of pci_intr_establish().Michael Knudsen
Tested by myself, sthen, oga, kettenis, and jasper. Input from sthen and jasper. ok kettenis (Manpage follows shortly.)
2009-07-20Pass a pci_chipset_tag_t to pci_intr_line(), to eventually allow theMiod Vallat
logic to be chipset dependent; no functional change yet. ok kettenis@
2009-04-11Create extents for resource accounting on the root PCI bus and populate themMark Kettenis
based on the BIOS memory map.
2008-12-06revert all changes related to the mpsafe intr handler. i screwed up the commitTed Unangst
and even then it didn't work. we have higher standards than this.
2008-12-06some more trouble where i failed to account for oga's diffTed Unangst
2008-12-03Remove the x86 and i386 prefixes to the bus_dma types. It's really quiteOwain Ainsworth
pointless and just makes the code different for no reason. This moves i386 and amd64 bus_dma to being a lot closer to identical. suggestion to just remove the prefix instead of merge them from deraadt@. no objections art@, kettenis@, ok weingart@
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2001-08-25Change pci_intr_map to take pci_attach_args as an argument.Artur Grabowski
All callers actually took all arguments to pci_intr_map from pci_attach_args structs, so this simplifies code. This also allows more complicated interrupt assignment schemes like the one on sparc64. This makes sparc64 pci interrupts work. Inspired by the same change in NetBSD.
2001-08-17provide a way to get the number used for irq line, not only a stringMichael Shalayeff
representation, this is needed for devices like cbb which pass the interrupt line down to the cardbus attachment and not getting the right line before pci_intr_map() has done it's dirty deed. tested on i386 by jason@, compiles on alpha by art@. ppc and mveppc are to be test-compiled, but should work (;
2001-01-27change interrupt routing strategy from simpleMichael Shalayeff
run through the devices and programming the icu and pci headers before real pci bus autoconf starts and include all devices present on all pci busses, to a per attached device routing in pci_intr_map(). this solves several cases of premature interrupts hanging system due to absent interrupt handlers during autoconf. 10x for testing: millert@ krw@ aaron@ chris@ tholo@ brad@ jason@ deraadt@
2000-08-08sync w/ netbsd almost -current code (;Michael Shalayeff
fixes quite a few problems. adds new option PCIBIOS_ADDR_FIXUP. numerous extra fixes by me, also pointed out by other ppl, such as avoid panics, ifdef on pciverbose, not diagnostic, some other smaller knits; some have been forwarded back to netbsd developers, some will go soon too.
1998-01-20Merge bus_dma support from NetBSD, mostly by Jason Thorpe. Only i386 uses itNiklas Hallqvist
so far, the other archs gets placeholders for now. I wrote a compatibility layer for OpenBSD's old isadma code so we can still use our old driver sources. They will however get changed to native bus_dma use, on a case by case basis. Oh yes, I almost forgot, I kept our notion of isadma being a device so DMA-less ISA-busses still work
1997-06-18csapuntz@lcs.mit.edu: Port of NetBSD tulip driver. Works with new ↵dm
(21140-AC-based) SMC Etherpower cards.
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-04-18Merge of NetBSD 960317Niklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt