summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/pci
AgeCommit message (Collapse)Author
2008-07-07Add AGP and hostbridge support for the Intel 82945GME chipset.Bernd Ahlers
ok jsg@
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-25Support the Intel G35 which apparently works similarly to the 965.Owain Ainsworth
Initial information, half the diff, and testing from Andrew Lutomirski, thanks!
2008-06-05Allow pchb(4) to find additional non-coherent HyperTransport linksBrad Smith
with 10h and 11h families of AMD CPU's. ok kettenis@
2008-04-28Sync PCI ids.Brad Smith
2008-04-24oops. unbreak build by removing the #include for amd8131reg.hThordur I. Bjornsson
2008-04-24move the register defines from amd8131reg.h into aapi.c,Thordur I. Bjornsson
seems silly to have a seperate .h file for 4 defines. nuke the NetBSD __KERNEL_RCSID macro while there, we have that rcsid at the top of the file... ok toby@, brad@
2008-03-23Add AGP support for the Intel G33 chipset.Damien Bergamini
Tested on i386 with a Gigabyte G33M-DS2R motherboard (Intel GMA 3100). Based on NetBSD code. ok oga@
2008-03-16Make agp(4) attach at vga(4) instead of pchb(4). This is because sometimesOwain Ainsworth
agp and drm need to use the same memory mapping, the best way to deal with that is to allow them to share (that's coming later), for this to work cleanly we move the attach point of agp. Ideally most agp drivers would attach at pchb, with only agp_i810 (and any that work similarly) attaching at vga, but this will do for now. ok kettenis@, miod@.
2008-01-04Clean up Intel host bridge PCI IDs.Mark Kettenis
ok deraadt@
2007-12-18pass pci domain to the child too, ok kettenisTheo de Raadt
2007-11-27Unify amd64 and i386 code further; ok oga kettenisTheo de Raadt
2007-11-26First step towards unifying pchb between i386 and amd64Theo de Raadt
Light testing, mostly mechanical
2007-11-26correct newlines surrounding the sub-bus configuration, and unifyTheo de Raadt
pchb's further ok reyk oga
2007-11-26fix new agp code on amd64Reyk Floeter
- internal intel graphics semi-agp chipsets need special handling in pchb.c - re-add the i965GM device - use the correct major device id for /dev/agp0 on amd64 (not the i386 one) ok deraadt@
2007-11-25Make agp attach as a device. This means that many more agp bridgesOwain Ainsworth
actually get detected and attached. Also adds a kernel api for manipulating agp. Enable this on i386 and amd64. "I think you should commit it" deraadt@, ok matthieu. Looked over by several others.
2007-11-16Remove microtime calls and RNG benchmarking from the pchb attachmentMike Belopuhov
code. This is due to the fact that we do timecounter initialization after autoconf(9). ok deraadt
2007-09-17MALLOC/FREE -> malloc/free and M_ZERO changesCharles Longeau
ok krw@
2007-08-08Prevent a potential null-pointer dereference.Mark Kettenis
ok krw@, deraadt@
2007-08-04Add AGP support for the intel i965 chipset, this also extends theReyk Floeter
internal AGP API to work with 64bit PCI-Express memory and non-standard AGP aperture bases. tested by many ok matthieu@, deraadt@
2007-07-04fix dmesg formatting error when hardware random number generator is presentChris Kuethe
"Yes" deraadt
2007-06-03if the 915gm didn't work on i386, it's worrisome here too. remove it.Ted Unangst
2007-06-01never attempt to tweak a file just before commitTed Unangst
2007-05-31intel pchb rnd support, from i386Ted Unangst
ok deraadt
2007-05-29only the i810 is known to be needed for agp, reduce driver set to just thatTed Unangst
2007-05-27be more agressive on invalidation; perform invalidates on load* and unloadJason Wright
2007-05-27remove two TODO items:Jason Wright
- map the GART page table uncached - disable table walk probes
2007-05-21Implement deep interrupt swizzling by mapping all four PCI interrupt pinsMark Kettenis
for PCI-PCI bridges and passing the mapping to the attached bus device. MD code can use these when mapping PCI device interrupts. This diff adds such code for amd64 and i386. This fixes interrupt mapping for devices that sit behind two PCI-PCI bridges where the firmware only provides a mapping for the first PCI-PCI bridge. tested by sturm@, krw@, and a few others, ok deraadt@
2007-05-19(disabled) option for PCIAGP. at least lets i945 chipsets workTed Unangst
ok dim
2007-02-09simplify the argument passing (use a pointer to bus_dma_segment_t insteadJason Wright
of separate addr/len pairs).
2007-02-09according to the errata, invalid pages shouldn't be used. Always makeJason Wright
sure a page is mapped at every location (a page is already reserved for just this occaision). And no, this doesn't fix it.
2007-01-15ansi/deregisterJonathan Gray
2006-12-14Swizzle interrupts for devices for which we don't have explicit inetrruptMark Kettenis
routing information.
2006-11-25sync amd64 to i386 w.r.t. acpi support. Also fix interrupt routing for ↵Niklas Hallqvist
multi-ioapic systems. ok kettenis
2006-05-31Reorg the code to be more sane. More coming.Tobias Weingartner
ok brad@ jason@
2006-03-13* Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set toBrad Smith
NULL for root PCI busses. For busses behind a bridge, it points to a persistent copy of the bridge's pcitag_t. This can be very useful for machine-dependent PCI bus enumeration code. From NetBSD ok grange@ kettenis@
2006-03-11add a comment.Brad Smith
2006-02-12Find additional noncoherent HyperTransport links by looking at theMark Kettenis
HyperTransport configuration on AMD Athlon 64 & Opteron CPU's. This makes us detect the missing PCI busses on various Opteron systems. ok brad@, marco@
2005-09-29Execute operations in the correct order. From jason@Marco Peereboom
2005-09-27ARGH! disable gart, I suck!Marco Peereboom
2005-09-27Clean up prints. From jason@Marco Peereboom
2005-09-19floppy support; form@openbsd.ruTheo de Raadt
2005-09-04remove unused NetBSD pci_intr_evcnt() function.Brad Smith
ok beck@
2005-06-25the local macro _id was removed before this code was even imported from NetBSDBrad Smith
when it was replaced with PCI_ID_CODE.
2005-06-17- remove old debugging codeMarco Peereboom
- allocate and use scribble page - provide method to see if something has scribbled out of bounds The gart still remains disabled by default. From jason@
2005-06-08revert enabling iommu on amd64 as it breaks at least one MP host.Marco S Hyman
OK deraadt@
2005-06-07make it prettier; jason okTheo de Raadt
2005-06-06enable iommu on all systems where we support it. We'll support it on moreJason Wright
systems in a week or two (hey, getting a machine is taking me longer than I expected =)
2005-06-02- wish there was a better way to do this... put splhigh() around theJason Wright
extent_* functions to ensure they stay consistent - also remove some debugging crap
2005-05-27oops, need to get the boundary from the map when allocating gart addressesJason Wright
(fixes borked pciide chipsets)