mirror of
https://github.com/torvalds/linux.git
synced 2024-09-23 00:13:17 +00:00
tx4939ide: Fix tx4939ide_{in,out}put_data_swap argument
The commit adb1af9
("ide: pass command instead of request to
ide_pio_datablock()") missed tx4939ide driver.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
d68bab503e
commit
aa24d9783d
|
@ -445,7 +445,7 @@ static void tx4939ide_tf_load(ide_drive_t *drive, struct ide_cmd *cmd)
|
||||||
#ifdef __BIG_ENDIAN
|
#ifdef __BIG_ENDIAN
|
||||||
|
|
||||||
/* custom iops (independent from SWAP_IO_SPACE) */
|
/* custom iops (independent from SWAP_IO_SPACE) */
|
||||||
static void tx4939ide_input_data_swap(ide_drive_t *drive, struct request *rq,
|
static void tx4939ide_input_data_swap(ide_drive_t *drive, struct ide_cmd *cmd,
|
||||||
void *buf, unsigned int len)
|
void *buf, unsigned int len)
|
||||||
{
|
{
|
||||||
unsigned long port = drive->hwif->io_ports.data_addr;
|
unsigned long port = drive->hwif->io_ports.data_addr;
|
||||||
|
@ -457,7 +457,7 @@ static void tx4939ide_input_data_swap(ide_drive_t *drive, struct request *rq,
|
||||||
__ide_flush_dcache_range((unsigned long)buf, roundup(len, 2));
|
__ide_flush_dcache_range((unsigned long)buf, roundup(len, 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void tx4939ide_output_data_swap(ide_drive_t *drive, struct request *rq,
|
static void tx4939ide_output_data_swap(ide_drive_t *drive, struct ide_cmd *cmd,
|
||||||
void *buf, unsigned int len)
|
void *buf, unsigned int len)
|
||||||
{
|
{
|
||||||
unsigned long port = drive->hwif->io_ports.data_addr;
|
unsigned long port = drive->hwif->io_ports.data_addr;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user