/* * AHCI SATA platform driver * * Copyright 2004-2005 Red Hat, Inc. * Jeff Garzik <jgarzik@pobox.com> * Copyright 2010 MontaVista Software, LLC. * Anton Vorontsov <avorontsov@ru.mvista.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. */#ifndef _AHCI_PLATFORM_H#define _AHCI_PLATFORM_H#include <linux/compiler.h>structdevice;structata_port_info;structahci_platform_data{int(*init)(structdevice*dev,void__iomem*addr);void(*exit)(structdevice*dev);int(*suspend)(structdevice*dev);int(*resume)(structdevice*dev);conststructata_port_info*ata_port_info;unsignedintforce_port_map;unsignedintmask_port_map;};#endif /* _AHCI_PLATFORM_H */