summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pci.c
AgeCommit message (Expand)Author
2013-12-06Add a DVACT_WAKEUP op to the *_activate() API. This is called after theTheo de Raadt
2013-11-06Call the new MD hook before and after setting the power state of a device.Martin Pieuchot
2013-08-08Make it possible for graphics drivers to opt-out of VGA arbitration.Mark Kettenis
2013-02-09No longer #ifdef BUS_SPACE_MAP_PREFETCHABLE, as all <machine/bus.h> areMiod Vallat
2012-10-08Revamp the sequences for suspend/hibernate -> resume so that the codeTheo de Raadt
2012-09-19Add resource tracking for PCI bus numbers. This will allow us to preventMark Kettenis
2012-09-07Call pci_min_powerstate() to determine the lowest possible powerstate insteadMark Kettenis
2011-10-10Introduce pci_probe_device_hook(pci_chipset_tag_t, struct pci_attach_args *).Miod Vallat
2011-06-12Some devices, like parts of the NVIDIA C51 chipset, have a broken CapabilitiesMark Kettenis
2011-05-30Enable MSI for HyperTransport devices that have MSI remapping enabled.Mark Kettenis
2011-05-19Save and restore the MSI capability registers on suspend/resume.Mark Kettenis
2011-05-14Pass flags down the PCI bus hierarchy. Soon to be used to selectively enableMark Kettenis
2011-04-12We need to delay 10msec after changing to/from D3 state. note: There areTheo de Raadt
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