https://github.com/torvalds/linux
Raw File
Tip revision: 1c5474a65bf15a4cb162dfff86d6d0b5a08a740c authored by Linus Torvalds on 12 July 2010, 21:55:33 UTC
Linux 2.6.35-rc5
Tip revision: 1c5474a
ahci_platform.h
/*
 * 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

struct device;
struct ata_port_info;

struct ahci_platform_data {
	int (*init)(struct device *dev);
	void (*exit)(struct device *dev);
	const struct ata_port_info *ata_port_info;
	unsigned int force_port_map;
	unsigned int mask_port_map;
};

#endif /* _AHCI_PLATFORM_H */
back to top