Skip to contentSkip to conversation

Fix 2.4 bounce_limit decl

PATCH New Bjorn Helgaas 1 participant 1 message Dec 30, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix 2.4 bounce_limit decl

Here's another bit from the ia64 patch. ia64 doesn't define dma64_addr_t.

There was a discussion about whether ia64 is doing the Right Thing by not defining dma64_addr_t:

    http://www.gelato.unsw.edu.au/linux-ia64/0112/2521.html

The eventual resolution was that we need not define it because it is only used for pci_dac_*, and there's no need for those interfaces on ia64 because dma_addr_t is 64 bits.

Bjorn

drivers/scsi/scsi_merge.c +1 -1
diff -urN linux-2.4/drivers/scsi/scsi_merge.c linux-ia64-2.4/drivers/scsi/scsi_merge.c
@@ -1155,7 +1155,7 @@
 {
 	struct Scsi_Host *SHpnt = SDpnt->host;
 	request_queue_t *q = &SDpnt->request_queue;
-	dma64_addr_t bounce_limit;
+	u64 bounce_limit;
 
 	/*
 	 * If this host has an unlimited tablesize, then don't bother with a