blob: 37573cfee20a43befcfb6da7257fbdb7b3e7e8f4 [file] [log] [blame]
Dave Liuf297b7a2008-03-27 18:51:17 +08001#ifndef __SATA_H__
2#define __SATA_H__
3
Dave Liuc7057b52008-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 Frysingercf7e3992009-01-27 16:12:21 -050010int __sata_initialize(void);
Dave Liuf297b7a2008-03-27 18:51:17 +080011
12#endif