summaryrefslogtreecommitdiff
path: root/sys/arch/i386/pci
AgeCommit message (Collapse)Author
2008-07-09Simplify the match function a bit by just returning the result fromBrad Smith
pci_matchbyid(). This is the only driver that will match against this hardware so it is not necessary to return a higher priority than what pci_matchbyid() returns. ok mbalmer@
2008-07-07Add AGP and hostbridge support for the Intel 82945GME chipset.Bernd Ahlers
ok jsg@
2008-06-27More removal of clauses 3 and 4 from NetBSD licenses.Ray Lai
OK deraadt@ and millert@
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-25auglx(4) is an audio(4) driver for the AC'97 audio codec found onMarc Balmer
some AMD Geode LX systems with CS5536 companion chip. It works similar to auich(4) and auixp(4), but the hardware dependent parts are quite different. Tested with various PC-Engines ALIX boards (1B, 3C3) and a WebDT 186 board. feedback many, ok deraadt & jmc (documentation)
2008-06-11When reading a GPIO pin, first determine if it is programmed for inputMarc Balmer
or output and then read the value from either the GPIO[x]_READ_BACK or GPIO[x]_OUT_VAL register. This allows to read back LED (output) states as well as input states (buttons). Problem noticed by Rolf Sommerhalder, fix by me.
2008-06-09rename arc4random_bytes => arc4random_buf to match libc's nicer name;Damien Miller
ok deraadt@
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-05-17attach to the via vt8237s found on the hp 2133 mini-notejoshua stein
2008-04-28Sync PCI ids.Brad Smith
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-18Remove bogus #ifdef __i386__, such that we properly initialize the bus numberMark Kettenis
for pci busses off secundary CPUs.
2007-12-09FREE -> freeHans-Joerg Hoexer
ok gilles
2007-12-05Hang acpi(4) below bios(4) instead of mainbus(4). This lets us move acpi(4)Theo de Raadt
before pcibios(4), and then.... if acpi(4) attaches, skip pcibios(4) since it messes the machines up. Fixes claudio's HP dl320 G5, and almost assuredly others. ok kettenis
2007-12-01Don't double attach serverworks subsidiary pci busses, introduced byTheo de Raadt
oga during the agp merge. Lost a few follicles over this one..
2007-11-29repair case of agp & subsidiary busses; ok kettenisTheo de Raadt
2007-11-28quite a bit of simplification by removing cpu classes.Ted Unangst
also assume that 386 cpus are really unknown, and promote them to 486 instead of panic.
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-17AMD Geode CS5536 GPIO can invert input and output pins.Marc Balmer
2007-11-17Allow for more than one flag per GPIO pin.Marc Balmer
ok grange.
2007-11-17Support GPIO_PIN_PULLDOWN (pulldown-enable) as GPIO pin flag.Marc Balmer
2007-11-16Make the GPIO functionality of the AMD Geode LX CS5536 available.Marc Balmer
gpio* at glxpcib? Based on an initial diff from Martin Hedenfalk <martin@bzero.se> which I largely rewrote. Tested on the ALIX.3C1 and the Soekris net5501. ok dlg, grange, marco
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-11-14do not process requests linked to unused sessions. (crypto_freesessionMarkus Friedl
might happen between enqueuing a crypto request and scheduling of the crypto thread); ok hshoexer
2007-10-17Add the Intel ICH9 chipset.Brad Smith
Tested by damien@ ok dlg@
2007-10-07Add a driver, amdpcib(4), for the AMD 8111 series LPC bridge and HPET writtenMarc Balmer
by mickey, man page by me. Help, suggestions by Theo and jmc. Enable this driver and glxpcib(4) in all RAMDISK kernel, but glxpcib(4) does not provide the watchdog timer in the RAMDISK kernels. Prodded by deraadt. E
2007-10-07Add support for the PCI-ISA bridge, timecounter, and watchdog timerMarc Balmer
found in the CS5536 companion chip to the AMD Geode LX-800 processor. glxpcib(4) driver written by mickey, with some tweaks by me. Manpage nits by jmc. Tested on the Soekris net5501 (by me) and the Alix 2a2 (by earxtacy@dixinet.com) ok kettenis
2007-09-18arc4random_bytes() is the preferred interface for generating nonces;Damien Miller
"looks ok" markus@
2007-09-10Remove unused "extern" declaration.Henric Jungheim
ok tom@
2007-09-07Use M_ZERO in a few more places to shave bytes from the kernel.Artur Grabowski
eyeballed and ok dlg@
2007-09-07Modify the heuristic for detection of speedstep to recognize a compatibleGordon Willem Klok
mobile Intel Pentium 3 as found in Dell c610 fixes pr5565. ok beck, toby
2007-08-07provide software version of HMAC, so IPsec can actually use the crypto HW;Markus Friedl
improves IPsec w/ AES/SHA1 from 17Mbit/s to 30Mbit/s on 500Mhz machine; code similar to i386/via.c; ok tom, hshoexer, 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-07Match VIA VT8237A; from "Christoph Egger" <Christoph_Egger@gmx.de>.Alexander Yurchenko
2007-06-02Match on ICH8M.Jonathan Gray
Tested by Daniel Dickman <didickman@gmail.com>
2007-06-01Revert INTEL_82915GM part of tedu's commit as it hung my T43Bjorn Sandell
ok tedu@
2007-05-31some more pchb that have rnd powers, IDs from NetBSDTed Unangst
2007-05-29Fix compilation of kernels without I686_CPU: piixpcib is alwaysTom Cosgrove
needed (not just for I686_CPU), but it and ichpcib only call the update_cpuspeed functions for I686_CPU. ok tedu@ deraadt@
2007-05-23timecounter support (e.g. soekris net4501); ok grange@Markus Friedl
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-04-26Add a setperf mechanism for ich speedstep controlled by SMI on certainGordon Willem Klok
parings of the Intel Pentium 3 and the ich southbridges. Written by Stefan Sperling <stsp AT tsp DOT in-berlin DOT de> based on a driver in NetBSD and sys/arch/i386/pci/ichpcib.c. Tested my mpf@ among others, ok tedu
2007-03-26ichss_cookie is a bad name, and should not be a void pointer.Gordon Willem Klok
Spotted by Stefan Sperling <stsp AT tsp.in-berlin.de> when reviewing his piix speedstep diff. ok tedu@
2007-03-19typo fixes; didickman@gmailTheo de Raadt