summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pci.c
AgeCommit message (Expand)Author
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
2005-06-29rev 1.47Brad Smith
2005-05-02Don't hardcode sizeof(pcireg_t) value. ok markus@Alexander Yurchenko
2004-12-08add pci powerhooks: save/restore cfg space; with claudio@, ok deraadt@Markus Friedl
2004-12-07Remove the PCI-ISA bridge callback mechanism; it's no longer needed.Brad Smith
2004-06-25Provide information about the raw (unswizzled) intrrupt pin inArtur Grabowski
2003-04-27strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.Hakan Olsson
2003-02-28remove non-typo changes. sorry folksMichael Shalayeff
2003-02-28typo; from weissmanndudeMichael Shalayeff
2002-11-19Add a simplistic table driven lookup routine and use it where appropriate.Jason Wright
2002-04-04Catch broken devices on sparc64 (where broken == devices that don't haveJason Wright
2002-03-27make sure error is set to zero on the pci write case for user confJason Wright
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-23Add aperture driver support for macppc, and also place writing to /dev/pciMatthieu Herrb
2002-02-18Correct fix for breakage in rev 1.23. Sorry for the mess.Matthieu Herrb
2002-02-18do not assume PCI_USERCONF is set on all arch; matthieu okTheo de Raadt
2002-02-18store the PCI configuration space bus number in the pci_softc structMatthieu Herrb
2001-08-25Allow machdep code to decide the order in which we probe theArtur Grabowski
2001-07-20Add pa_bus to pci_attach_argsConstantine Sapuntzakis
2001-06-26use pci_bus_maxdevs instead of nasty i386 specific goop (It's nice toJason Wright
2001-06-24Avoid panics on the i386 if the bus/dev/func numbers are not validMatthieu Herrb
2001-06-24allow ioctl(..., PCIOCREAD, ...) if the device was opened O_READONLYMatthieu Herrb
2001-06-23PCI bus configuration userland access from FreeBSD.Matthieu Herrb
2001-01-27ignore swizzling on i386.Michael Shalayeff
1999-07-18Added pci_mapreg* interface from NetBSD.Constantine Sapuntzakis
1998-10-29Put in some generic code in PCI driver for enabling PCI cards.Constantine Sapuntzakis
1998-08-22Powerpc supports isa not just power4eDale S. Rahn
1998-06-26check for invalid and empty slots by nameTheo de Raadt
1998-01-20Merge bus_dma support from NetBSD, mostly by Jason Thorpe. Only i386 uses itNiklas Hallqvist
1998-01-07now this is really prettyTheo de Raadt