small patch for sym53c8xx_2

From: David Mosberger (davidm@napali.hpl.hp.com)
Date: Wed Jun 18 2003 - 15:46:42 EST


I thought we had an agreement for a long time already that the use of
dma64_addr_t in the sym53c8xx_2 driver was wrong, but it's still
there.

Thanks,

        --david

diff -Nru a/drivers/scsi/sym53c8xx_2/sym_glue.c b/drivers/scsi/sym53c8xx_2/sym_glue.c
--- a/drivers/scsi/sym53c8xx_2/sym_glue.c Wed Jun 18 13:32:51 2003
+++ b/drivers/scsi/sym53c8xx_2/sym_glue.c Wed Jun 18 13:32:51 2003
@@ -295,11 +295,7 @@
 #ifndef SYM_LINUX_DYNAMIC_DMA_MAPPING
 typedef u_long bus_addr_t;
 #else
-#if SYM_CONF_DMA_ADDRESSING_MODE > 0
-typedef dma64_addr_t bus_addr_t;
-#else
 typedef dma_addr_t bus_addr_t;
-#endif
 #endif
 
 /*
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:26 EST