]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[libata] pata_rb532_cf: fix and rename register definitions
authorPhil Sutter <n0-1@freewrt.org>
Fri, 28 Nov 2008 19:48:26 +0000 (20:48 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 1 Dec 2008 18:49:08 +0000 (13:49 -0500)
commit9f14786e27908a176f0568cf2132558efef71b31
tree6fa18433d61d3fa2629dd1a1e645602081e225c7
parent1eedb4a90c958d8d59e0e4f19c297b445df21cf9
[libata] pata_rb532_cf: fix and rename register definitions

The original standalone driver uses a custom address for the error
register. Use it in pata_rb532_cf, too.

Rename two register definitions:
- The address offset 0x0800 in fact is the ATA base, not ATA command
  address.
- The offset 0x0C00 is not a regular ATA data address, but a buffered one
  allowing 4-byte IO.

Signed-off-by: Phil Sutter <n0-1@freewrt.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_rb532_cf.c