summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2011-10-10 19:42:34 +0000
committermiod <miod@openbsd.org>2011-10-10 19:42:34 +0000
commit121a46e89d748fdf03d7458dad2b6f4399696643 (patch)
treedaff6425f9d33c03abd7bf6eca85d6a6378bb7df /lib/libc
parentput in code for wcstfime, as discussed with millert@ and stsp@ (and tested (diff)
downloadwireguard-openbsd-121a46e89d748fdf03d7458dad2b6f4399696643.tar.xz
wireguard-openbsd-121a46e89d748fdf03d7458dad2b6f4399696643.zip
Introduce pci_probe_device_hook(pci_chipset_tag_t, struct pci_attach_args *).
This mandatory function will get invoked in pci_probe_device(), and allows a pci host driver to alter the pci_attach_args passed to a device when attaching. This function will also, if returning non-zero, cause the device to be skipped completely during all the phases of the PCI device discovery (i.e. ressource enumeration, ressource assignment, and actual attachment). This particular feature is experimental and might be reverted in the future (or the scope narrowed to device attachment only). A dummy #define pci_probe_device_hook() 0 is added to all platforms except sgi, where real functions (currently only returning 0) are added; real meat will be added shortly. Discussed at s2k11, no objection from the usual suspects.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions