diff options
author | 2011-10-10 19:49:16 +0000 | |
---|---|---|
committer | 2011-10-10 19:49:16 +0000 | |
commit | c6ca6b5aa478fdd5504e8fe0c17c1f8917c5d6df (patch) | |
tree | 342eb4f0529225fa72084c87110ccb7829fedd9d /lib/libc | |
parent | Introduce pci_probe_device_hook(pci_chipset_tag_t, struct pci_attach_args *). (diff) | |
download | wireguard-openbsd-c6ca6b5aa478fdd5504e8fe0c17c1f8917c5d6df.tar.xz wireguard-openbsd-c6ca6b5aa478fdd5504e8fe0c17c1f8917c5d6df.zip |
Extend pci_probe_device_hook() on sgi xbridge(4) to return either the straight
accessors or the byte-swapped accessors, depending upon the byteswap setting
of the device we are trying to attach.
This allows for the removal of byteswap knowledge from ioc(4) and iof(4)
drivers.
While there, build pci_chipset_t md structs by bcopy'ing a template and
filling the few runtime fields, instead of assigning every field of them.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions