diff options
-rw-r--r-- | arch/mips/txx9/generic/pci.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/mips/txx9/generic/pci.c b/arch/mips/txx9/generic/pci.c index 7b637a7c0e66..707cfa9c547d 100644 --- a/arch/mips/txx9/generic/pci.c +++ b/arch/mips/txx9/generic/pci.c | |||
@@ -341,6 +341,15 @@ static void quirk_slc90e66_ide(struct pci_dev *dev) | |||
341 | } | 341 | } |
342 | #endif /* CONFIG_TOSHIBA_FPCIB0 */ | 342 | #endif /* CONFIG_TOSHIBA_FPCIB0 */ |
343 | 343 | ||
344 | static void tc35815_fixup(struct pci_dev *dev) | ||
345 | { | ||
346 | /* This device may have PM registers but not they are not suported. */ | ||
347 | if (dev->pm_cap) { | ||
348 | dev_info(&dev->dev, "PM disabled\n"); | ||
349 | dev->pm_cap = 0; | ||
350 | } | ||
351 | } | ||
352 | |||
344 | static void final_fixup(struct pci_dev *dev) | 353 | static void final_fixup(struct pci_dev *dev) |
345 | { | 354 | { |
346 | unsigned char bist; | 355 | unsigned char bist; |
@@ -374,6 +383,10 @@ DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_EFAR, PCI_DEVICE_ID_EFAR_SLC90E66_1, | |||
374 | DECLARE_PCI_FIXUP_RESUME(PCI_VENDOR_ID_EFAR, PCI_DEVICE_ID_EFAR_SLC90E66_1, | 383 | DECLARE_PCI_FIXUP_RESUME(PCI_VENDOR_ID_EFAR, PCI_DEVICE_ID_EFAR_SLC90E66_1, |
375 | quirk_slc90e66_ide); | 384 | quirk_slc90e66_ide); |
376 | #endif | 385 | #endif |
386 | DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_TOSHIBA_2, | ||
387 | PCI_DEVICE_ID_TOSHIBA_TC35815_NWU, tc35815_fixup); | ||
388 | DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_TOSHIBA_2, | ||
389 | PCI_DEVICE_ID_TOSHIBA_TC35815_TX4939, tc35815_fixup); | ||
377 | DECLARE_PCI_FIXUP_FINAL(PCI_ANY_ID, PCI_ANY_ID, final_fixup); | 390 | DECLARE_PCI_FIXUP_FINAL(PCI_ANY_ID, PCI_ANY_ID, final_fixup); |
378 | DECLARE_PCI_FIXUP_RESUME(PCI_ANY_ID, PCI_ANY_ID, final_fixup); | 391 | DECLARE_PCI_FIXUP_RESUME(PCI_ANY_ID, PCI_ANY_ID, final_fixup); |
379 | 392 | ||