/*1* AHCI SATA platform driver2*3* Copyright 2004-2005 Red Hat, Inc.4* Jeff Garzik <[email protected]>5* Copyright 2010 MontaVista Software, LLC.6* Anton Vorontsov <[email protected]>7*8* This program is free software; you can redistribute it and/or modify9* it under the terms of the GNU General Public License as published by10* the Free Software Foundation; either version 2, or (at your option)11* any later version.12*/1314#ifndef _AHCI_PLATFORM_H15#define _AHCI_PLATFORM_H1617#include <linux/compiler.h>1819struct device;20struct ata_port_info;2122struct ahci_platform_data {23int (*init)(struct device *dev, void __iomem *addr);24void (*exit)(struct device *dev);25const struct ata_port_info *ata_port_info;26unsigned int force_port_map;27unsigned int mask_port_map;28};2930#endif /* _AHCI_PLATFORM_H */313233