aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/pci-quirks.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/pci-quirks.c')
-rw-r--r--drivers/usb/host/pci-quirks.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/usb/host/pci-quirks.c b/drivers/usb/host/pci-quirks.c
index 39f9e4a9a2d3..a018e706c0e1 100644
--- a/drivers/usb/host/pci-quirks.c
+++ b/drivers/usb/host/pci-quirks.c
@@ -443,7 +443,7 @@ static inline int io_type_enabled(struct pci_dev *pdev, unsigned int mask)
443#define pio_enabled(dev) io_type_enabled(dev, PCI_COMMAND_IO) 443#define pio_enabled(dev) io_type_enabled(dev, PCI_COMMAND_IO)
444#define mmio_enabled(dev) io_type_enabled(dev, PCI_COMMAND_MEMORY) 444#define mmio_enabled(dev) io_type_enabled(dev, PCI_COMMAND_MEMORY)
445 445
446static void __devinit quirk_usb_handoff_uhci(struct pci_dev *pdev) 446static void quirk_usb_handoff_uhci(struct pci_dev *pdev)
447{ 447{
448 unsigned long base = 0; 448 unsigned long base = 0;
449 int i; 449 int i;
@@ -461,12 +461,12 @@ static void __devinit quirk_usb_handoff_uhci(struct pci_dev *pdev)
461 uhci_check_and_reset_hc(pdev, base); 461 uhci_check_and_reset_hc(pdev, base);
462} 462}
463 463
464static int __devinit mmio_resource_enabled(struct pci_dev *pdev, int idx) 464static int mmio_resource_enabled(struct pci_dev *pdev, int idx)
465{ 465{
466 return pci_resource_start(pdev, idx) && mmio_enabled(pdev); 466 return pci_resource_start(pdev, idx) && mmio_enabled(pdev);
467} 467}
468 468
469static void __devinit quirk_usb_handoff_ohci(struct pci_dev *pdev) 469static void quirk_usb_handoff_ohci(struct pci_dev *pdev)
470{ 470{
471 void __iomem *base; 471 void __iomem *base;
472 u32 control; 472 u32 control;
@@ -558,7 +558,7 @@ static const struct dmi_system_id __devinitconst ehci_dmi_nohandoff_table[] = {
558 { } 558 { }
559}; 559};
560 560
561static void __devinit ehci_bios_handoff(struct pci_dev *pdev, 561static void ehci_bios_handoff(struct pci_dev *pdev,
562 void __iomem *op_reg_base, 562 void __iomem *op_reg_base,
563 u32 cap, u8 offset) 563 u32 cap, u8 offset)
564{ 564{
@@ -626,7 +626,7 @@ static void __devinit ehci_bios_handoff(struct pci_dev *pdev,
626 writel(0, op_reg_base + EHCI_CONFIGFLAG); 626 writel(0, op_reg_base + EHCI_CONFIGFLAG);
627} 627}
628 628
629static void __devinit quirk_usb_disable_ehci(struct pci_dev *pdev) 629static void quirk_usb_disable_ehci(struct pci_dev *pdev)
630{ 630{
631 void __iomem *base, *op_reg_base; 631 void __iomem *base, *op_reg_base;
632 u32 hcc_params, cap, val; 632 u32 hcc_params, cap, val;
@@ -841,7 +841,7 @@ EXPORT_SYMBOL_GPL(usb_disable_xhci_ports);
841 * and then waits 5 seconds for the BIOS to hand over control. 841 * and then waits 5 seconds for the BIOS to hand over control.
842 * If we timeout, assume the BIOS is broken and take control anyway. 842 * If we timeout, assume the BIOS is broken and take control anyway.
843 */ 843 */
844static void __devinit quirk_usb_handoff_xhci(struct pci_dev *pdev) 844static void quirk_usb_handoff_xhci(struct pci_dev *pdev)
845{ 845{
846 void __iomem *base; 846 void __iomem *base;
847 int ext_cap_offset; 847 int ext_cap_offset;
@@ -941,7 +941,7 @@ hc_init:
941 iounmap(base); 941 iounmap(base);
942} 942}
943 943
944static void __devinit quirk_usb_early_handoff(struct pci_dev *pdev) 944static void quirk_usb_early_handoff(struct pci_dev *pdev)
945{ 945{
946 /* Skip Netlogic mips SoC's internal PCI USB controller. 946 /* Skip Netlogic mips SoC's internal PCI USB controller.
947 * This device does not need/support EHCI/OHCI handoff 947 * This device does not need/support EHCI/OHCI handoff