diff options
author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-11-25 16:24:10 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-11-25 16:24:10 +0100 |
commit | ffa54947bc52cf9a09d3cee9780e6858792a8b9b (patch) | |
tree | 06d7c54e903897a4988ff4530e8f8cdde78f4780 /sys/src/9/pc/usbehci.h | |
parent | f8f118423c894a028a99e02e7eec7e85f785d919 (diff) |
usbehci: fix broken bios takeover
bios takeover was broken. bad Ceecpmask (was 8, should be 0xFF)
causing it to miss the legacy control ecap and properly take
overship of the controller. also the order seems wrong, we
have to takeover before we do anything with the controller.
remove the pci config space 0xc0 = 0x2000 write. this the
uhci legacy register. its not anywhere in the ehci spec.
Diffstat (limited to 'sys/src/9/pc/usbehci.h')
-rw-r--r-- | sys/src/9/pc/usbehci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/pc/usbehci.h b/sys/src/9/pc/usbehci.h index f3bf0f760..1c833b06b 100644 --- a/sys/src/9/pc/usbehci.h +++ b/sys/src/9/pc/usbehci.h @@ -36,7 +36,7 @@ enum Cdbgportmask = 0xF, C64 = 1, /* 64-bits, in Ecapio capparms. */ Ceecpshift = 8, /* extended capabilities ptr. in */ - Ceecpmask = 8, /* the Ecapio capparms reg. */ + Ceecpmask = 0xFF, /* the Ecapio capparms reg. */ Clegacy = 1, /* legacy support cap. id */ CLbiossem = 2, /* legacy cap. bios sem. */ CLossem = 3, /* legacy cap. os sem */ |