ahci_platform.h 771 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * AHCI SATA platform driver
  3. *
  4. * Copyright 2004-2005 Red Hat, Inc.
  5. * Jeff Garzik <jgarzik@pobox.com>
  6. * Copyright 2010 MontaVista Software, LLC.
  7. * Anton Vorontsov <avorontsov@ru.mvista.com>
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License as published by
  11. * the Free Software Foundation; either version 2, or (at your option)
  12. * any later version.
  13. */
  14. #ifndef _AHCI_PLATFORM_H
  15. #define _AHCI_PLATFORM_H
  16. struct device;
  17. struct ata_port_info;
  18. struct ahci_platform_data {
  19. int (*init)(struct device *dev);
  20. void (*exit)(struct device *dev);
  21. const struct ata_port_info *ata_port_info;
  22. unsigned int force_port_map;
  23. unsigned int mask_port_map;
  24. };
  25. #endif /* _AHCI_PLATFORM_H */