diff options
Diffstat (limited to 'arch/mips/txx9/generic/pci.c')
-rw-r--r-- | arch/mips/txx9/generic/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/txx9/generic/pci.c b/arch/mips/txx9/generic/pci.c index 28713274e0cc..a77698ff2b6f 100644 --- a/arch/mips/txx9/generic/pci.c +++ b/arch/mips/txx9/generic/pci.c | |||
@@ -268,7 +268,7 @@ static int txx9_i8259_irq_setup(int irq) | |||
268 | return err; | 268 | return err; |
269 | } | 269 | } |
270 | 270 | ||
271 | static void quirk_slc90e66_bridge(struct pci_dev *dev) | 271 | static void __init_refok quirk_slc90e66_bridge(struct pci_dev *dev) |
272 | { | 272 | { |
273 | int irq; /* PCI/ISA Bridge interrupt */ | 273 | int irq; /* PCI/ISA Bridge interrupt */ |
274 | u8 reg_64; | 274 | u8 reg_64; |
@@ -331,7 +331,7 @@ static void quirk_slc90e66_ide(struct pci_dev *dev) | |||
331 | * !!! DO NOT REMOVE THIS COMMENT IT IS REQUIRED BY SMSC !!! | 331 | * !!! DO NOT REMOVE THIS COMMENT IT IS REQUIRED BY SMSC !!! |
332 | */ | 332 | */ |
333 | dat |= 0x01; | 333 | dat |= 0x01; |
334 | pci_write_config_byte(dev, regs[i], dat); | 334 | pci_write_config_byte(dev, 0x5c, dat); |
335 | pci_read_config_byte(dev, 0x5c, &dat); | 335 | pci_read_config_byte(dev, 0x5c, &dat); |
336 | printk(KERN_CONT " REG5C %02x", dat); | 336 | printk(KERN_CONT " REG5C %02x", dat); |
337 | printk(KERN_CONT "\n"); | 337 | printk(KERN_CONT "\n"); |