diff options
Diffstat (limited to 'arch/ppc/platforms/katana.c')
-rw-r--r-- | arch/ppc/platforms/katana.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/ppc/platforms/katana.c b/arch/ppc/platforms/katana.c index 2b53afae0e9c..a301c5ac58dd 100644 --- a/arch/ppc/platforms/katana.c +++ b/arch/ppc/platforms/katana.c | |||
@@ -42,6 +42,7 @@ | |||
42 | #include <asm/ppcboot.h> | 42 | #include <asm/ppcboot.h> |
43 | #include <asm/mv64x60.h> | 43 | #include <asm/mv64x60.h> |
44 | #include <platforms/katana.h> | 44 | #include <platforms/katana.h> |
45 | #include <asm/machdep.h> | ||
45 | 46 | ||
46 | static struct mv64x60_handle bh; | 47 | static struct mv64x60_handle bh; |
47 | static katana_id_t katana_id; | 48 | static katana_id_t katana_id; |
@@ -520,7 +521,7 @@ katana_fixup_resources(struct pci_dev *dev) | |||
520 | { | 521 | { |
521 | u16 v16; | 522 | u16 v16; |
522 | 523 | ||
523 | pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, L1_CACHE_LINE_SIZE>>2); | 524 | pci_write_config_byte(dev, PCI_CACHE_LINE_SIZE, L1_CACHE_BYTES>>2); |
524 | 525 | ||
525 | pci_read_config_word(dev, PCI_COMMAND, &v16); | 526 | pci_read_config_word(dev, PCI_COMMAND, &v16); |
526 | v16 |= PCI_COMMAND_INVALIDATE | PCI_COMMAND_FAST_BACK; | 527 | v16 |= PCI_COMMAND_INVALIDATE | PCI_COMMAND_FAST_BACK; |