#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pm.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/libata.h>
#include <linux/ahci_platform.h>
#include <linux/acpi.h>
#include <linux/pci_ids.h>
#include "ahci.h"
#define ACTIVITY_BIT_POS(x) …
#define LOCATE_BIT_POS(x) …
#define FAULT_BIT_POS(x) …
#define ACTIVITY_MASK …
#define LOCATE_MASK …
#define FAULT_MASK …
#define DRV_NAME …
static ssize_t seattle_transmit_led_message(struct ata_port *ap, u32 state,
ssize_t size);
struct seattle_plat_data { … };
static struct ata_port_operations ahci_port_ops = …;
static const struct ata_port_info ahci_port_info = …;
static struct ata_port_operations ahci_seattle_ops = …;
static const struct ata_port_info ahci_port_seattle_info = …;
static const struct scsi_host_template ahci_platform_sht = …;
static ssize_t seattle_transmit_led_message(struct ata_port *ap, u32 state,
ssize_t size)
{ … }
static const struct ata_port_info *ahci_seattle_get_port_info(
struct platform_device *pdev, struct ahci_host_priv *hpriv)
{ … }
static int ahci_seattle_probe(struct platform_device *pdev)
{ … }
static SIMPLE_DEV_PM_OPS(ahci_pm_ops, ahci_platform_suspend,
ahci_platform_resume);
static const struct acpi_device_id ahci_acpi_match[] = …;
MODULE_DEVICE_TABLE(acpi, ahci_acpi_match);
static struct platform_driver ahci_seattle_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;