summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pci.c
AgeCommit message (Expand)Author
2010-12-30Only disable I/O and memory space and bus mastering if we're actually goingMark Kettenis
2010-12-04Check the register offset against the device's configuration space size inMiod Vallat
2010-09-07remove the powerhook code. All architectures now use the ca_activate treeTheo de Raadt
2010-09-06All PWR_{SUSPEND,RESUME} can now be replaced by DVACT_{SUSPEND,RESUME}Theo de Raadt
2010-09-05Add an ioctl to figure out the non-sticky bits in PCI BARs used for determiningMark Kettenis
2010-08-31Add DVACT_QUIECE support. This is called before splhigh() and beforeTheo de Raadt
2010-08-27Make PCI Power Management optional, and only enable it when acpi(4) attaches.Mark Kettenis
2010-08-17Power management for PCI devices. For now just put everything in the D3Mark Kettenis
2010-07-02Proper fix for uninitialized variable warning.Mark Kettenis
2010-07-02the variables work better when initialized. ok deraadtTed Unangst
2010-06-30Preserve and restore BARs on suspend/resume for all devices, not justMike Larkin
2010-06-29Add support for mapping ACPI to PCI devicesJordan Hargrave
2010-04-21let this compile on RAMDISKS, which have no ioctlTheo de Raadt
2010-04-21Directly comparing pcitag_t's doesn't work on all platforms so decompose theMark Kettenis
2010-04-21First stab at a VGA arbiter. The VGA arbiter makes sure that only a singleMark Kettenis
2010-01-26backout last, it causes mem conflicts and device trouble;Otto Moerbeek
2010-01-13Don't whack conflicting BARs if they are enabled.Mark Kettenis
2009-11-23pci should return the result of it's children's suspend/resume calls backMike Larkin
2009-11-23Walk our children in the activate function.Theo de Raadt
2009-11-23PCI suspend/resume plumbing. This code is currently not called.Mike Larkin
2009-11-05Add a new PCIOCGETROMLEN ioctl, to give users of PCIOGETROM a chance toMark Kettenis
2009-07-26Add PCIOCGETROM, and ioctl(2) to read PCI ROMs.Mark Kettenis
2009-07-25Better parameter validation in pciioctl(): check for ioctl number andMiod Vallat
2009-07-18Don't forget to read the high bits I/O range register when registeringMiod Vallat
2009-07-14Kill structs and ioctls that were never implemented.Mark Kettenis
2009-06-29Whack bridges that have conflicting windows. This prevents us from choosingMark Kettenis
2009-06-03Whack conflicting BARs, such that they get assigned a non-conflicting valueMark Kettenis
2009-05-05Add extents for prefetchable memory mapped I/O. Should remove conflictMark Kettenis
2009-04-06Set a first step on the road towards proper accounting of PCI resources byMark Kettenis
2008-12-28Remove confusion between "raw" and "swizzled" interrupt pins. Remove someMark Kettenis
2008-06-13properly indent something horridly misleadingTheo de Raadt
2008-06-13Initialize the return value in pci_probe_device() function, so that we doTheo de Raadt
2008-02-27Make sure we match the correct pci domain; clean up the code a bit and removeMark Kettenis
2007-12-31On some machines we get hotplug interrupts when they're resumed, so don'tMark Kettenis
2007-11-30Make pci(4) detachable.Mark Kettenis
2007-11-26Add PCI VPD read/write functions from NetBSD required for some thingsJonathan Gray
2007-11-17Allow pci_get_capability to decode capabilities for PCI bridges.Brad Smith
2007-10-22Add pci_set_powerstate() to change the pm state for a given device.Federico G. Schwindt
2007-05-21Implement deep interrupt swizzling by mapping all four PCI interrupt pinsMark Kettenis
2006-12-14Make pci subsystem aware of domains. Each host bridge gets assigned a uniqueMark Kettenis
2006-12-11On i386, swizzle interrupts for devices for which we don't have explicitMark Kettenis
2006-10-04Do not assume that the pci(4) unit number matches the actual PCI bus number.Mark Kettenis
2006-07-04Do not blindly enable io and mem space for all matched PCI devices. This isMark Kettenis
2006-03-22Add pci_find_device() a helper function for enumerating theJonathan Gray
2006-03-20de-register.Brad Smith
2006-03-19ANSI and KNF.Brad Smith
2006-03-19- check HDRTYPE early, and ignore if it is not supported (n > 2).Brad Smith
2006-03-19rev 1.86Brad Smith
2006-03-11move PCI softc struct from pci.c to pcivar.hBrad Smith
2005-07-10pci_conf_read() return pcireg_t not u_int32_t and fix some styleMichael Shalayeff