blob: 57ee9ac860092384f569f85fdabc8984ee03340e [file] [log] [blame]
Dave Liuf17c9632008-03-27 18:51:17 +08001#ifndef __SATA_H__
2#define __SATA_H__
3
Dave Liu76596ba2008-03-26 22:49:44 +08004int init_sata(int dev);
5int scan_sata(int dev);
6ulong sata_read(int dev, ulong blknr, ulong blkcnt, void *buffer);
7ulong sata_write(int dev, ulong blknr, ulong blkcnt, const void *buffer);
8
9int sata_initialize(void);
Dave Liuf17c9632008-03-27 18:51:17 +080010
11#endif