ide: remove ->dma_prdtable field from ide_hwif_t
* Use 'hwif->dma_base + {4,8}' instead of hwif->dma_prdtable in {ide,scc}_dma_setup(). * Remove no longer needed ->dma_prdtable field from ide_hwif_t. While at it: * Use ATA_DMA_TABLE_OFS define. Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
@@ -506,7 +506,6 @@ typedef struct hwif_s {
|
||||
unsigned long dma_base; /* base addr for dma ports */
|
||||
unsigned long dma_command; /* dma command register */
|
||||
unsigned long dma_status; /* dma status register */
|
||||
unsigned long dma_prdtable; /* actual prd table address */
|
||||
|
||||
unsigned long config_data; /* for use by chipset-specific code */
|
||||
unsigned long select_data; /* for use by chipset-specific code */
|
||||
|
Reference in New Issue
Block a user