diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2014-09-08 16:53:35 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-09-09 15:33:05 -0400 |
commit | 23a2f39c8f4035eade7f226eb7ada30c78d9eee3 (patch) | |
tree | 596091221f4e5ceb4b493b340d0b30bc997474ae /drivers/usb | |
parent | 367b341edbebc405d80fecd28ff973dfb7390d65 (diff) |
bcma: store more alternative addresses
Each core could have more than one alternative address. There are cores
with 8 alternative addresses for different functions. The PHY control
in the Chip common B core is done through the 2. alternative address
and not the first one.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
CC: linux-usb@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/bcma-hcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/bcma-hcd.c b/drivers/usb/host/bcma-hcd.c index 205f4a336583..cd6d0afb6b8f 100644 --- a/drivers/usb/host/bcma-hcd.c +++ b/drivers/usb/host/bcma-hcd.c | |||
@@ -237,7 +237,7 @@ static int bcma_hcd_probe(struct bcma_device *dev) | |||
237 | bcma_hcd_init_chip(dev); | 237 | bcma_hcd_init_chip(dev); |
238 | 238 | ||
239 | /* In AI chips EHCI is addrspace 0, OHCI is 1 */ | 239 | /* In AI chips EHCI is addrspace 0, OHCI is 1 */ |
240 | ohci_addr = dev->addr1; | 240 | ohci_addr = dev->addr_s[0]; |
241 | if ((chipinfo->id == 0x5357 || chipinfo->id == 0x4749) | 241 | if ((chipinfo->id == 0x5357 || chipinfo->id == 0x4749) |
242 | && chipinfo->rev == 0) | 242 | && chipinfo->rev == 0) |
243 | ohci_addr = 0x18009000; | 243 | ohci_addr = 0x18009000; |