Re: [PATCH 17/23] libata-sff: prd is BMDMA specific

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/10/2010 03:41 PM, Tejun Heo wrote:
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 61ff9a1..b220451 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -716,14 +716,13 @@ struct ata_port {
  	unsigned int		print_id; /* user visible unique port ID */
  	unsigned int		port_no; /* 0 based port no. inside the host */

-	struct ata_prd		*prd;	 /* our SG list */
-	dma_addr_t		prd_dma; /* and its DMA mapping */
-
  #ifdef CONFIG_ATA_SFF
  	struct ata_ioports	ioaddr;	/* ATA cmd/ctl/dma register blocks */
  	u8			ctl;	/* cache of ATA control register */
  	u8			last_ctl;	/* Cache last written value */
  	struct delayed_work	sff_pio_task;
+	struct ata_bmdma_prd	*bmdma_prd;	/* BMDMA SG list */
+	dma_addr_t		bmdma_prd_dma;	/* and its DMA mapping */
  #endif /* CONFIG_ATA_SFF */

  	unsigned int		pio_mask;

"bmdma_prd_dma" is a bit too redundant for my tastes.

I would prefer "bmdma_prd_addr" or similar.

ack, with that change

--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux