diff options
Diffstat (limited to 'arch/mips/netlogic/xlp/usb-init.c')
-rw-r--r-- | arch/mips/netlogic/xlp/usb-init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/mips/netlogic/xlp/usb-init.c b/arch/mips/netlogic/xlp/usb-init.c index ef3897ef0dc7..f8117985f0f8 100644 --- a/arch/mips/netlogic/xlp/usb-init.c +++ b/arch/mips/netlogic/xlp/usb-init.c | |||
@@ -75,8 +75,7 @@ static void nlm_usb_intr_en(int node, int port) | |||
75 | port_addr = nlm_get_usb_regbase(node, port); | 75 | port_addr = nlm_get_usb_regbase(node, port); |
76 | val = nlm_read_usb_reg(port_addr, USB_INT_EN); | 76 | val = nlm_read_usb_reg(port_addr, USB_INT_EN); |
77 | val = USB_CTRL_INTERRUPT_EN | USB_OHCI_INTERRUPT_EN | | 77 | val = USB_CTRL_INTERRUPT_EN | USB_OHCI_INTERRUPT_EN | |
78 | USB_OHCI_INTERRUPT1_EN | USB_CTRL_INTERRUPT_EN | | 78 | USB_OHCI_INTERRUPT1_EN | USB_OHCI_INTERRUPT2_EN; |
79 | USB_OHCI_INTERRUPT_EN | USB_OHCI_INTERRUPT2_EN; | ||
80 | nlm_write_usb_reg(port_addr, USB_INT_EN, val); | 79 | nlm_write_usb_reg(port_addr, USB_INT_EN, val); |
81 | } | 80 | } |
82 | 81 | ||
@@ -100,6 +99,9 @@ static void nlm_usb_hw_reset(int node, int port) | |||
100 | 99 | ||
101 | static int __init nlm_platform_usb_init(void) | 100 | static int __init nlm_platform_usb_init(void) |
102 | { | 101 | { |
102 | if (cpu_is_xlpii()) | ||
103 | return 0; | ||
104 | |||
103 | pr_info("Initializing USB Interface\n"); | 105 | pr_info("Initializing USB Interface\n"); |
104 | nlm_usb_hw_reset(0, 0); | 106 | nlm_usb_hw_reset(0, 0); |
105 | nlm_usb_hw_reset(0, 3); | 107 | nlm_usb_hw_reset(0, 3); |