CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2011/10/10 13:49:17

Modified files:
        sys/arch/sgi/pci: ioc.c iof.c macepcibridge.c 
        sys/arch/sgi/xbow: xbridge.c 

Log message:
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.

Reply via email to