projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[at91] Add support for FOXGM carrier board
[openwrt.git]
/
target
/
linux
/
brcm63xx
/
patches-2.6.32
/
007-usb-ohci-support.patch
diff --git
a/target/linux/brcm63xx/patches-2.6.32/007-usb-ohci-support.patch
b/target/linux/brcm63xx/patches-2.6.32/007-usb-ohci-support.patch
index
76775c4
..
90f3e9f
100644
(file)
--- a/
target/linux/brcm63xx/patches-2.6.32/007-usb-ohci-support.patch
+++ b/
target/linux/brcm63xx/patches-2.6.32/007-usb-ohci-support.patch
@@
-13,8
+13,6
@@
Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
create mode 100644 arch/mips/bcm63xx/dev-usb-ohci.c
create mode 100644 arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_usb_ohci.h
create mode 100644 arch/mips/bcm63xx/dev-usb-ohci.c
create mode 100644 arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_usb_ohci.h
-diff --git a/arch/mips/bcm63xx/Kconfig b/arch/mips/bcm63xx/Kconfig
-index fb177d6..76fbbf7 100644
--- a/arch/mips/bcm63xx/Kconfig
+++ b/arch/mips/bcm63xx/Kconfig
@@ -16,10 +16,16 @@ config BCM63XX_CPU_6345
--- a/arch/mips/bcm63xx/Kconfig
+++ b/arch/mips/bcm63xx/Kconfig
@@ -16,10 +16,16 @@ config BCM63XX_CPU_6345
@@
-34,8
+32,6
@@
index fb177d6..76fbbf7 100644
endmenu
source "arch/mips/bcm63xx/boards/Kconfig"
endmenu
source "arch/mips/bcm63xx/boards/Kconfig"
-diff --git a/arch/mips/bcm63xx/Makefile b/arch/mips/bcm63xx/Makefile
-index 00064b6..be5d7ad 100644
--- a/arch/mips/bcm63xx/Makefile
+++ b/arch/mips/bcm63xx/Makefile
@@ -1,5 +1,6 @@
--- a/arch/mips/bcm63xx/Makefile
+++ b/arch/mips/bcm63xx/Makefile
@@ -1,5 +1,6 @@
@@
-46,8
+42,6
@@
index 00064b6..be5d7ad 100644
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
obj-y += boards/
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
obj-y += boards/
-diff --git a/arch/mips/bcm63xx/boards/board_bcm963xx.c b/arch/mips/bcm63xx/boards/board_bcm963xx.c
-index ea17941..e2c0c36 100644
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -24,6 +24,7 @@
--- a/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -24,6 +24,7 @@
@@
-58,7
+52,7
@@
index ea17941..e2c0c36 100644
#include <board_bcm963xx.h>
#define PFX "board_bcm963xx: "
#include <board_bcm963xx.h>
#define PFX "board_bcm963xx: "
-@@ -80
3,6 +804
,9 @@ int __init board_register_devices(void)
+@@ -80
4,6 +805
,9 @@ int __init board_register_devices(void)
!board_get_mac_address(board.enet1.mac_addr))
bcm63xx_enet_register(1, &board.enet1);
!board_get_mac_address(board.enet1.mac_addr))
bcm63xx_enet_register(1, &board.enet1);
@@
-68,9
+62,6
@@
index ea17941..e2c0c36 100644
if (board.has_dsp)
bcm63xx_dsp_register(&board.dsp);
if (board.has_dsp)
bcm63xx_dsp_register(&board.dsp);
-diff --git a/arch/mips/bcm63xx/dev-usb-ohci.c b/arch/mips/bcm63xx/dev-usb-ohci.c
-new file mode 100644
-index 0000000..f1fb442
--- /dev/null
+++ b/arch/mips/bcm63xx/dev-usb-ohci.c
@@ -0,0 +1,49 @@
--- /dev/null
+++ b/arch/mips/bcm63xx/dev-usb-ohci.c
@@ -0,0 +1,49 @@
@@
-123,9
+114,6
@@
index 0000000..f1fb442
+ ohci_resources[1].start = bcm63xx_get_irq_number(IRQ_OHCI0);
+ return platform_device_register(&bcm63xx_ohci_device);
+}
+ ohci_resources[1].start = bcm63xx_get_irq_number(IRQ_OHCI0);
+ return platform_device_register(&bcm63xx_ohci_device);
+}
-diff --git a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_usb_ohci.h b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_usb_ohci.h
-new file mode 100644
-index 0000000..518a04d
--- /dev/null
+++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_usb_ohci.h
@@ -0,0 +1,6 @@
--- /dev/null
+++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_usb_ohci.h
@@ -0,0 +1,6 @@
@@
-135,7
+123,3
@@
index 0000000..518a04d
+int bcm63xx_ohci_register(void);
+
+#endif /* BCM63XX_DEV_USB_OHCI_H_ */
+int bcm63xx_ohci_register(void);
+
+#endif /* BCM63XX_DEV_USB_OHCI_H_ */
---
-1.6.3.3
-
-
This page took
0.022361 seconds
and
4
git commands to generate.