[PATCH] IDE: claim extra DMA ports regardless of channel
- Claim extra DMA I/O ports regardless of what IDE channels are present/enabled. - Remove extra ports handling from ide_mapped_mmio_dma() since it's not applicable to the custom-mapping IDE drivers. Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
bbb3bbdb0f
commit
020e322de3
@@ -775,10 +775,12 @@ typedef struct hwif_s {
|
||||
unsigned long dma_prdtable; /* actual prd table address */
|
||||
unsigned long dma_base2; /* extended base addr for dma ports */
|
||||
|
||||
unsigned dma_extra; /* extra addr for dma ports */
|
||||
unsigned long config_data; /* for use by chipset-specific code */
|
||||
unsigned long select_data; /* for use by chipset-specific code */
|
||||
|
||||
unsigned long extra_base; /* extra addr for dma ports */
|
||||
unsigned extra_ports; /* number of extra dma ports */
|
||||
|
||||
unsigned noprobe : 1; /* don't probe for this interface */
|
||||
unsigned present : 1; /* this interface exists */
|
||||
unsigned hold : 1; /* this interface is always present */
|
||||
|
Reference in New Issue
Block a user