From 942e31437d2ba34acab259901b929532ba77390a Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Wed, 6 Jul 2011 16:13:36 +0000 Subject: scsi/ahci: add support for non-PCI controllers Add support for AHCI controllers that are not PCI based. Signed-off-by: Rob Herring Cc: Wolfgang Denk --- include/ahci.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/ahci.h') diff --git a/include/ahci.h b/include/ahci.h index 0c6bbbdc56..465ea7fcbb 100644 --- a/include/ahci.h +++ b/include/ahci.h @@ -25,6 +25,8 @@ #ifndef _AHCI_H_ #define _AHCI_H_ +#include + #define AHCI_PCI_BAR 0x24 #define AHCI_MAX_SG 56 /* hardware max is 64K */ #define AHCI_CMD_SLOT_SZ 32 @@ -187,4 +189,6 @@ struct ahci_probe_ent { u32 link_port_map; /*linkup port map*/ }; +int ahci_init(u32 base); + #endif -- cgit v1.2.3