2008-03-27 10:51:17 +00:00
|
|
|
#ifndef __SATA_H__
|
|
|
|
#define __SATA_H__
|
|
|
|
|
2008-03-26 14:49:44 +00:00
|
|
|
int init_sata(int dev);
|
|
|
|
int scan_sata(int dev);
|
|
|
|
ulong sata_read(int dev, ulong blknr, ulong blkcnt, void *buffer);
|
|
|
|
ulong sata_write(int dev, ulong blknr, ulong blkcnt, const void *buffer);
|
|
|
|
|
|
|
|
int sata_initialize(void);
|
2009-01-27 21:12:21 +00:00
|
|
|
int __sata_initialize(void);
|
2008-03-27 10:51:17 +00:00
|
|
|
|
|
|
|
#endif
|