1#ifndef __SATA_H__ 2#define __SATA_H__ 3#include <part.h> 4 5int init_sata(int dev); 6int scan_sata(int dev); 7ulong sata_read(int dev, ulong blknr, lbaint_t blkcnt, void *buffer); 8ulong sata_write(int dev, ulong blknr, lbaint_t blkcnt, const void *buffer); 9 10int sata_initialize(void); 11int __sata_initialize(void); 12 13extern block_dev_desc_t sata_dev_desc[]; 14 15#endif 16