summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pci.c
AgeCommit message (Collapse)Author
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
From NetBSD ok deraadt@ miod@
2004-06-25Provide information about the raw (unswizzled) intrrupt pin inArtur Grabowski
pci_attach_args. drahn@ deraadt@ ok
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
a function 0). Many thanks to Joey Coleman <joeycoleman@acm.org> for fixing this.
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
under the control of machdep.allowaperture. This allows to run the X server on macppc with securelevel=1, given that machdep.allowaperture is != 0. OK deraadt@
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
and use it for pci configuration space access in ioctl code. And do bounds checking on ioctl args for all architectures Ok deraadt@, drahn@.
2001-08-25Allow machdep code to decide the order in which we probe theArtur Grabowski
pci buses. this is conditional on __PCI_BUS_DEVORDER and __PCI_DEV_FUNCORDER Used by sparc64.
2001-07-20Add pa_bus to pci_attach_argsConstantine Sapuntzakis
Better VIA IDE chipset handling. From NetBSD
2001-06-26use pci_bus_maxdevs instead of nasty i386 specific goop (It's nice toJason Wright
be able to bug art@ and matthieu@ in person =)
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
Will be used by XFree86 on powerpc (works on i386 too, but its not currently used).
2001-01-27ignore swizzling on i386.Michael Shalayeff
this is needed for interrupt mapping code to be able to program the device and the pci interrupt router for the interrupt.
1999-07-18Added pci_mapreg* interface from NetBSD.Constantine Sapuntzakis
Added PCI 2.2 stuff from NetBSD Modified if_de to use mapreg interface
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
so far, the other archs gets placeholders for now. I wrote a compatibility layer for OpenBSD's old isadma code so we can still use our old driver sources. They will however get changed to native bus_dma use, on a case by case basis. Oh yes, I almost forgot, I kept our notion of isadma being a device so DMA-less ISA-busses still work
1998-01-07now this is really prettyTheo de Raadt
1998-01-05new style pci attach printingTheo de Raadt
1997-10-11power.4e - not enabling pci boardsPer Fogelstrom
1997-10-10Add a special fix for OpenFirmware Power PC PCI. It seems that OFW shutsPer Fogelstrom
down the HW by disabling it when closing the device. So we have to make sure that the board is configured to respond to memory accesses.
1997-01-24Sync with NetBSD 960123Niklas Hallqvist
1996-11-28Adaption to new bus.h from NetBSD. Various driver has been updated toNiklas Hallqvist
NetBSD 961107 state. Other has not, partly because sometimes the bus.h changes was coupled with other changes.
1996-11-23added const to second parameter of cfprint_t routineskstailey
1996-05-07sync with 0504 -- prototypes and bus.hTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-04-18NetBSD 960317 mergeNiklas Hallqvist