blob: 37573cfee20a43befcfb6da7257fbdb7b3e7e8f4 [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);
Mike Frysingere66dc082009-01-27 16:12:21 -050010int __sata_initialize(void);
Dave Liuf17c9632008-03-27 18:51:17 +080011
12#endif