diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-12-01 17:57:09 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-12-01 17:57:09 +0000 |
commit | a62a0f262e0179df8c632f529c95abf54ef78332 (patch) | |
tree | 80e6a7a7d407d08e218332bb3fcccdaf9f28fcc1 /drivers/scsi/eata_dma.c | |
parent | fd095d09f2d475dc2e8599b1b8bae1cd65e91685 (diff) |
Part #2 merging back my changes ...
Diffstat (limited to 'drivers/scsi/eata_dma.c')
-rw-r--r-- | drivers/scsi/eata_dma.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/scsi/eata_dma.c b/drivers/scsi/eata_dma.c index 11ff51b1a..104664463 100644 --- a/drivers/scsi/eata_dma.c +++ b/drivers/scsi/eata_dma.c @@ -259,7 +259,11 @@ void eata_int_handler(int irq, void *dev_id, struct pt_regs * regs) sp = &SD(sh)->sp; #ifdef __mips__ - cacheflush((unsigned long)sp, sizeof(struct eata_sp), CF_DCACHE|CF_ALL); + /* + * We flush too much, this should be something like: + * cacheflush_before_dma((unsigned long)sp, sizeof(struct eata_sp)); + */ + flush_cache_all(); #endif ccb = sp->ccb; |