ahci_platform: Provide for vendor specific init
commit08354809d6c73eb73973e132502a0a4e53250971
authorJassi Brar <jassi.brar@samsung.com>
Fri, 25 Jun 2010 09:21:19 +0000 (25 18:21 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Sun, 1 Aug 2010 23:36:03 +0000 (1 19:36 -0400)
treed76f493238c989fd38b226a186752f6e9e8de5ca
parent9fe6206f400646a2322096b56c59891d530e8d51
ahci_platform: Provide for vendor specific init

Some AHCI implementations may use Vendor Specific HBA[A0h, FFh]
and/or Port[70h, 7Fh] registers to 'prepare' for initialization.
For that, the platform needs memory mapped address of AHCI registers.

This patch adds the 'mmio' argument and reorders the call to
platform init function.

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ahci_platform.c
include/linux/ahci_platform.h