summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pci_subr.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add some more PCI classes and subclasses. Checked against EDK2 asjsg2017-03-221-1/+10
| | | | | | | | | | | | "PCI Code and ID Assignment Specification" is only available for those willing to pay thousands of dollars for PDFs. Prompted by a dmesg from an AMD Zen system which uses class 0x13 (Non-Essential Instrumentation) and System subclass 0x06 (IOMMU). There is currently no public documentation for AMD family 17h to reference to see if this is sane. ok kettenis@ on an earlier version
* put the structs defining the content of pcidevs_data.h into that headerdlg2007-02-211-19/+2
| | | | | | | file, rather than in pci_subr.c before theyre used. this allows the header to be used elsewhere without needing to copy a chunk out of pci_subr.c. ok miod@ deraadt@
* Provide a new function, pci_findproduct(), which is analog to pci_findvendor().mbalmer2007-01-021-21/+24
| | | | | | | | | | | Use these two functions in pci_devinfo() to remove some duplicated code and make it easier to read. Remove two now unused variables. This shrinks the size of the resulting object code. Drivers (or other kernel code) can now get at the PCI vendor and/or product strings using pci_findvendor() and pci_findproduct(). ok claudio, deraadt, mglocker
* add 2 subclasses, subclass storage SAS and subclass system SD Host Controller.brad2006-06-011-1/+3
| | | | From NetBSD
* add the PCI hdaudio subclass.brad2006-05-121-1/+2
|
* Better printf for unknown product id.grange2004-11-211-2/+2
| | | | ok todd@ tom@
* add subclass codes from the 2.3 specbrad2004-10-231-2/+11
| | | | | | From NetBSD ok jason@ deraadt@
* strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.ho2003-04-271-23/+29
|
* Typo. ok millert@tdeval2002-04-071-2/+2
|
* Add the pci_findvendor functionnate2002-01-031-1/+20
| | | | | | If compiled with PCI_VERBOSE, this function looks up a vendor string based on a vendor id. Otherwise, it returns NULL. From NetBSD
* string names for those new classes/subclasses; from netbsdmickey2001-05-081-1/+67
|
* split vendor & product lists into 2 tables, saving 12Kderaadt2001-01-271-22/+28
|
* constify pci_knowndevsmickey2001-01-261-21/+21
|
* "0x 2" -> "0x02"d2001-01-161-2/+2
|
* more pci subclasses and such; netbsdderaadt1998-02-031-1/+63
|
* more bridge typesderaadt1998-02-031-1/+3
|
* even cleanerderaadt1998-01-061-2/+2
|
* new style pci attach printingderaadt1998-01-051-6/+7
|
* Adaption to new bus.h from NetBSD. Various driver has been updated toniklas1996-11-281-2/+2
| | | | | NetBSD 961107 state. Other has not, partly because sometimes the bus.h changes was coupled with other changes.
* Add ATM defines. From Jim Rees <rees@umich.edu>millert1996-10-311-1/+2
|
* NetBSD 960317 mergeniklas1996-04-181-104/+32
|
* initial import of NetBSD treederaadt1995-10-181-0/+312