aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 07:46:24 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 07:46:24 -0400
commit443d18c80700da1f9a5a7cdf676f27ee4db6af6a (patch)
tree00d90c1619c4a64e92e8b4e189bc72ef0d7a767a /drivers
parent3f2154d7e701a8a4791de95765314219caa533a2 (diff)
at91_ide: use readsw()/writesw() directly
Use readsw()/writesw() directly intead of __ide_mm_{in,out}sw() macros. Cc: Stanislaw Gruszka <stf_xl@wp.pl> Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/at91_ide.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/at91_ide.c b/drivers/ide/at91_ide.c
index 1bb50f46388d..4bd46d2d6b64 100644
--- a/drivers/ide/at91_ide.c
+++ b/drivers/ide/at91_ide.c
@@ -156,7 +156,7 @@ static void at91_ide_input_data(ide_drive_t *drive, struct request *rq,
156 len++; 156 len++;
157 157
158 enter_16bit(chipselect, mode); 158 enter_16bit(chipselect, mode);
159 __ide_mm_insw((void __iomem *) io_ports->data_addr, buf, len / 2); 159 readsw((void __iomem *)io_ports->data_addr, buf, len / 2);
160 leave_16bit(chipselect, mode); 160 leave_16bit(chipselect, mode);
161} 161}
162 162
@@ -171,7 +171,7 @@ static void at91_ide_output_data(ide_drive_t *drive, struct request *rq,
171 pdbg("cs %u buf %p len %d\n", chipselect, buf, len); 171 pdbg("cs %u buf %p len %d\n", chipselect, buf, len);
172 172
173 enter_16bit(chipselect, mode); 173 enter_16bit(chipselect, mode);
174 __ide_mm_outsw((void __iomem *) io_ports->data_addr, buf, len / 2); 174 writesw((void __iomem *)io_ports->data_addr, buf, len / 2);
175 leave_16bit(chipselect, mode); 175 leave_16bit(chipselect, mode);
176} 176}
177 177