The write side is properly split in little-endian, but for some
reason the read side is reconstructing the word/double-words in
big-endian format.
This never showed up before because ATM _all_ access are byte
access anyway because the handler isn't declared as word/dword
capable.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
nonsensical configuration read/write functions with more straightforward
config read/write functions with defaults to call upon for dword/word
splitup. added configuration space "write mask" that PCI devices can
modify to indicate what bits and bytes can be written to by the OS.
mapping, make unregister explicit to PCI device object, functions to
register S3 and SST (voodoo) PCI devices now store the pointer so that
on unregister it can remove it easily.