summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_rumvar.h
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-12-24 05:42:59 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-12-24 05:42:59 +0000
commit944e480d1f8030a3765a1277dffea845d1e52c56 (patch)
tree6068adeb843e6f3c9c81914f1c7d2bf4e87e2eec /sys/dev/usb/if_rumvar.h
parent31212f8ed025a641a5820c2f15e89c13da655fb4 (diff)
Fix support for earlier i8XX chipsets (specifically the 830 and 840).
Earlier changes meant that we were reading the wrong register, on the graphics card instead of the gmch (bus 0, device 0, function 0. it's the memory controller on all boards with intel chipsets). Later chipsets have a ``mirror'' register on the graphics card device, explaining why this didn't manifest on all chipsets. For simplicity, always find and read the register from the GMCH. While i'm here, fixup unaligned configuration space access (0x50 vs 0x52) Tested by several.
Diffstat (limited to 'sys/dev/usb/if_rumvar.h')
0 files changed, 0 insertions, 0 deletions