]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commita835fa798ddfbfe4c63ff5e22c93fa5d24c95f7b
tree41c4af1c4188ae210b01a381415a0184f971a253
parent8fd66ab852281f9e28e1774c17b49f26c4626fd1
[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