History log of /openbsd-src/sys/dev/pci/pci_subr.c (Results 1 – 22 of 22)
Revision Date Author Comments
# 5cfaa52f 22-Mar-2017 jsg <jsg@openbsd.org>

Add some more PCI classes and subclasses. Checked against EDK2 as
"PCI Code and ID Assignment Specification" is only available for those
willing to pay thousands of dollars for PDFs.

Prompted by a

Add some more PCI classes and subclasses. Checked against EDK2 as
"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

show more ...


# 31c7d05f 21-Feb-2007 dlg <dlg@openbsd.org>

put the structs defining the content of pcidevs_data.h into that header
file, rather than in pci_subr.c before theyre used. this allows the header
to be used elsewhere without needing to copy a chunk

put the structs defining the content of pcidevs_data.h into that header
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@

show more ...


# e0ef71d8 02-Jan-2007 mbalmer <mbalmer@openbsd.org>

Provide a new function, pci_findproduct(), which is analog to pci_findvendor().
Use these two functions in pci_devinfo() to remove some duplicated code and
make it easier to read. Remove two now unu

Provide a new function, pci_findproduct(), which is analog to pci_findvendor().
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

show more ...


# ffe7321e 01-Jun-2006 brad <brad@openbsd.org>

add 2 subclasses, subclass storage SAS and subclass system SD Host Controller.

From NetBSD


# 4dfe7ee4 12-May-2006 brad <brad@openbsd.org>

add the PCI hdaudio subclass.


# 09f79366 21-Nov-2004 grange <grange@openbsd.org>

Better printf for unknown product id.

ok todd@ tom@


# f9914ca2 23-Oct-2004 brad <brad@openbsd.org>

add subclass codes from the 2.3 spec

From NetBSD

ok jason@ deraadt@


# 2627362d 27-Apr-2003 ho <ho@openbsd.org>

strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.


# 78b95b1f 07-Apr-2002 tdeval <tdeval@openbsd.org>

Typo. ok millert@


# 32826475 03-Jan-2002 nate <nate@openbsd.org>

Add the pci_findvendor function
If compiled with PCI_VERBOSE, this function looks up a vendor string based
on a vendor id. Otherwise, it returns NULL.
From NetBSD


# be164d01 08-May-2001 mickey <mickey@openbsd.org>

string names for those new classes/subclasses; from netbsd


# 79226dba 27-Jan-2001 deraadt <deraadt@openbsd.org>

split vendor & product lists into 2 tables, saving 12K


# 7f7c2279 26-Jan-2001 mickey <mickey@openbsd.org>

constify pci_knowndevs


# a22bd238 16-Jan-2001 d <d@openbsd.org>

"0x 2" -> "0x02"


# 8a207001 03-Feb-1998 deraadt <deraadt@openbsd.org>

more pci subclasses and such; netbsd


# fec8a934 03-Feb-1998 deraadt <deraadt@openbsd.org>

more bridge types


# 65ed3ec3 06-Jan-1998 deraadt <deraadt@openbsd.org>

even cleaner


# 50c9667d 05-Jan-1998 deraadt <deraadt@openbsd.org>

new style pci attach printing


# c0981ad2 28-Nov-1996 niklas <niklas@openbsd.org>

Adaption to new bus.h from NetBSD. Various driver has been updated to
NetBSD 961107 state. Other has not, partly because sometimes the bus.h
changes was coupled with other changes.


# ebc91842 31-Oct-1996 millert <millert@openbsd.org>

Add ATM defines. From Jim Rees <rees@umich.edu>


# 8bd19141 18-Apr-1996 niklas <niklas@openbsd.org>

NetBSD 960317 merge


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree