]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] sgiioc4: use mmio ops instead of port io
authorJeremy Higdon <jeremy@sgi.com>
Wed, 31 May 2006 04:27:07 +0000 (21:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 31 May 2006 23:27:11 +0000 (16:27 -0700)
commitf6889cbc01c66ef4eb4a2877cd56d5f1b7ad65e3
tree41c4af1c4188ae210b01a381415a0184f971a253
parent1f17effba5f42072b2adc85d39ed02e6acddd5de
[PATCH] sgiioc4: use mmio ops instead of port io

From: Jeremy Higdon <jeremy@sgi.com>

This patch fixes a bug in sgiioc4 where it was using the default IDE port
I/O operations instead of MMIO.

The IDE part of the IOC4 chip uses MMIO to map the chip registers.
Unfortunately, the sgiioc4 driver uses the default port IO operations,
which happens to have worked for the past few years.  That's about to
change, however, thus this change from inX/outX to readX/writeX.

Signed-off-by: Jeremy Higdon <jeremy@sgi.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>
drivers/ide/pci/sgiioc4.c