1 #ifndef __SATA_H__ 2 #define __SATA_H__ 3 4 int init_sata(int dev); 5 int scan_sata(int dev); 6 ulong sata_read(int dev, ulong blknr, ulong blkcnt, void *buffer); 7 ulong sata_write(int dev, ulong blknr, ulong blkcnt, const void *buffer); 8 9 int sata_initialize(void); 10 int __sata_initialize(void); 11 12 #endif 13