diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-03-20 15:02:48 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-03-20 15:02:48 +0000 |
commit | 6c6f00cc24b225d335dee128f47f8f6345a20c04 (patch) | |
tree | 35b8e81294f7af4eb260df9c071662a9f2470bbd /target/linux/ar71xx | |
parent | b64a2fe1e972b91cb04d24d157f8ae70b3689fb5 (diff) | |
download | upstream-6c6f00cc24b225d335dee128f47f8f6345a20c04.tar.gz upstream-6c6f00cc24b225d335dee128f47f8f6345a20c04.tar.bz2 upstream-6c6f00cc24b225d335dee128f47f8f6345a20c04.zip |
ar71xx: fix IRQ number for the AR7240 OHCI controller
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31044 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
4 files changed, 24 insertions, 2 deletions
diff --git a/target/linux/ar71xx/patches-3.2/214-MIPS-ath79-fix-IRQ-number-for-AR7240-OHCI.patch b/target/linux/ar71xx/patches-3.2/214-MIPS-ath79-fix-IRQ-number-for-AR7240-OHCI.patch new file mode 100644 index 0000000000..0be5aa89fa --- /dev/null +++ b/target/linux/ar71xx/patches-3.2/214-MIPS-ath79-fix-IRQ-number-for-AR7240-OHCI.patch @@ -0,0 +1,11 @@ +--- a/arch/mips/ath79/dev-usb.c ++++ b/arch/mips/ath79/dev-usb.c +@@ -126,6 +126,8 @@ static void __init ar7240_usb_setup(void + + ath79_ohci_resources[0].start = AR7240_OHCI_BASE; + ath79_ohci_resources[0].end = AR7240_OHCI_BASE + AR7240_OHCI_SIZE - 1; ++ ath79_ohci_resources[1].start = ATH79_CPU_IRQ_USB; ++ ath79_ohci_resources[1].end = ATH79_CPU_IRQ_USB; + platform_device_register(&ath79_ohci_device); + } + diff --git a/target/linux/ar71xx/patches-3.2/700-ar934x_fix_usb_reset.patch b/target/linux/ar71xx/patches-3.2/700-ar934x_fix_usb_reset.patch index 2981350719..e92353bdf2 100644 --- a/target/linux/ar71xx/patches-3.2/700-ar934x_fix_usb_reset.patch +++ b/target/linux/ar71xx/patches-3.2/700-ar934x_fix_usb_reset.patch @@ -1,6 +1,6 @@ --- a/arch/mips/ath79/dev-usb.c +++ b/arch/mips/ath79/dev-usb.c -@@ -188,16 +188,16 @@ static void __init ar934x_usb_setup(void +@@ -190,16 +190,16 @@ static void __init ar934x_usb_setup(void if (bootstrap & AR934X_BOOTSTRAP_USB_MODE_DEVICE) return; diff --git a/target/linux/ar71xx/patches-3.3/214-MIPS-ath79-fix-IRQ-number-for-AR7240-OHCI.patch b/target/linux/ar71xx/patches-3.3/214-MIPS-ath79-fix-IRQ-number-for-AR7240-OHCI.patch new file mode 100644 index 0000000000..0be5aa89fa --- /dev/null +++ b/target/linux/ar71xx/patches-3.3/214-MIPS-ath79-fix-IRQ-number-for-AR7240-OHCI.patch @@ -0,0 +1,11 @@ +--- a/arch/mips/ath79/dev-usb.c ++++ b/arch/mips/ath79/dev-usb.c +@@ -126,6 +126,8 @@ static void __init ar7240_usb_setup(void + + ath79_ohci_resources[0].start = AR7240_OHCI_BASE; + ath79_ohci_resources[0].end = AR7240_OHCI_BASE + AR7240_OHCI_SIZE - 1; ++ ath79_ohci_resources[1].start = ATH79_CPU_IRQ_USB; ++ ath79_ohci_resources[1].end = ATH79_CPU_IRQ_USB; + platform_device_register(&ath79_ohci_device); + } + diff --git a/target/linux/ar71xx/patches-3.3/700-ar934x_fix_usb_reset.patch b/target/linux/ar71xx/patches-3.3/700-ar934x_fix_usb_reset.patch index 2981350719..e92353bdf2 100644 --- a/target/linux/ar71xx/patches-3.3/700-ar934x_fix_usb_reset.patch +++ b/target/linux/ar71xx/patches-3.3/700-ar934x_fix_usb_reset.patch @@ -1,6 +1,6 @@ --- a/arch/mips/ath79/dev-usb.c +++ b/arch/mips/ath79/dev-usb.c -@@ -188,16 +188,16 @@ static void __init ar934x_usb_setup(void +@@ -190,16 +190,16 @@ static void __init ar934x_usb_setup(void if (bootstrap & AR934X_BOOTSTRAP_USB_MODE_DEVICE) return; |