mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 03:58:35 +02:00
ar71xx: fix IRQ number for the AR7240 OHCI controller
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31044 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ecce585694
commit
281c1076f3
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user