mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-26 18:33:19 +02:00
374bb82f67
If there is no sprom on an ssb based pci device on the brcm47xx architecture ssb now asks the architecture code to look into the nvram to get some sprom data for this device. Now we are able to read out pci/1/1/ foo or pci/1/3/ foo config options. This will fix some problems where the wireless devices does not got an mac address and the following message was show: ssb: WARNING: Invalid SPROM CRC (corrupt SPROM) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26801 3c298f89-4303-0410-b956-a3cf2f4a3e73
17 lines
467 B
Diff
17 lines
467 B
Diff
--- a/drivers/usb/host/ehci-hub.c
|
|
+++ b/drivers/usb/host/ehci-hub.c
|
|
@@ -882,11 +882,13 @@ static int ehci_hub_control (
|
|
* power switching; they're allowed to just limit the
|
|
* current. khubd will turn the power back on.
|
|
*/
|
|
+#ifndef CONFIG_BCM63XX
|
|
if (HCS_PPC (ehci->hcs_params)){
|
|
ehci_writel(ehci,
|
|
temp & ~(PORT_RWC_BITS | PORT_POWER),
|
|
status_reg);
|
|
}
|
|
+#endif
|
|
}
|
|
|
|
/* whoever resumes must GetPortStatus to complete it!! */
|