* [PATCH] remove flush_cache_all() from qla1280
@ 2004-02-05 12:40 Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2004-02-05 12:40 UTC (permalink / raw)
To: Jes Sorensen; +Cc: linux-scsi
It's not needed with the new DMA API and isn't exported to modules on
some architectures. (See davem's qla2xxx patch for reference)
--- 1.54/drivers/scsi/qla1280.c Mon Jan 19 04:50:29 2004
+++ edited/drivers/scsi/qla1280.c Wed Feb 4 04:22:53 2004
@@ -348,7 +348,6 @@
#include <asm/system.h>
#if LINUX_VERSION_CODE >= 0x020545
-#include <asm/cacheflush.h> /* for flush_cache_all() */
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_device.h>
@@ -2122,8 +2121,6 @@
for(i = 0; i < cnt; i++)
((uint16_t *)ha->request_ring)[i] =
cpu_to_le16(risc_code_address[i]);
-
- flush_cache_all();
mb[0] = MBC_LOAD_RAM;
mb[1] = risc_address;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-02-05 12:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-05 12:40 [PATCH] remove flush_cache_all() from qla1280 Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox