Dave Liu | f297b7a | 2008-03-27 18:51:17 +0800 | [diff] [blame] | 1 | #ifndef __SATA_H__ |
2 | #define __SATA_H__ | ||||
3 | |||||
Dave Liu | c7057b5 | 2008-03-26 22:49:44 +0800 | [diff] [blame] | 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); | ||||
Dave Liu | f297b7a | 2008-03-27 18:51:17 +0800 | [diff] [blame] | 10 | |
11 | #endif |