projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
brcm47xx: when detecting a ssb pci device without an own sprom write the sprom data...
[openwrt.git]
/
target
/
linux
/
brcm47xx
/
patches-2.6.38
/
033-bcm47xx-register-fallback-callback.patch
diff --git
a/target/linux/brcm47xx/patches-2.6.38/033-bcm47xx-register-fallback-callback.patch
b/target/linux/brcm47xx/patches-2.6.38/033-bcm47xx-register-fallback-callback.patch
index
f63deac
..
4e88cf6
100644
(file)
--- a/
target/linux/brcm47xx/patches-2.6.38/033-bcm47xx-register-fallback-callback.patch
+++ b/
target/linux/brcm47xx/patches-2.6.38/033-bcm47xx-register-fallback-callback.patch
@@
-15,7
+15,7
@@
}
}
}
}
-+int bcm47xx_get_sprom(struct ssb_bus *bus)
++int bcm47xx_get_sprom(struct ssb_bus *bus
, struct ssb_sprom *out
)
+{
+ char prefix[10];
+
+{
+ char prefix[10];
+
@@
-23,7
+23,7
@@
+ snprintf(prefix, sizeof(prefix), "pci/%x/%x/",
+ bus->host_pci->bus->number + 1,
+ PCI_SLOT(bus->host_pci->devfn));
+ snprintf(prefix, sizeof(prefix), "pci/%x/%x/",
+ bus->host_pci->bus->number + 1,
+ PCI_SLOT(bus->host_pci->devfn));
-+ bcm47xx_fill_sprom(
&bus->sprom
, prefix);
++ bcm47xx_fill_sprom(
out
, prefix);
+ return 0;
+ } else {
+ printk(KERN_WARNING "bcm47xx: unable to fill SPROM for given bustype.\n");
+ return 0;
+ } else {
+ printk(KERN_WARNING "bcm47xx: unable to fill SPROM for given bustype.\n");
This page took
0.025355 seconds
and
4
git commands to generate.