5 #if !defined(CONFIG_DM_SCSI) && !defined(CONFIG_AHCI)
6 int init_sata(int dev);
7 int reset_sata(int dev);
8 int scan_sata(int dev);
9 ulong sata_read(int dev, ulong blknr, lbaint_t blkcnt, void *buffer);
10 ulong sata_write(int dev, ulong blknr, lbaint_t blkcnt, const void *buffer);
12 int sata_initialize(void);
13 int __sata_initialize(void);
15 int __sata_stop(void);
16 int sata_port_status(int dev, int port);
18 extern struct blk_desc sata_dev_desc[];
21 int sata_probe(int devnum);
22 int sata_remove(int devnum);