blob: 37573cfee20a43befcfb6da7257fbdb7b3e7e8f4 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#ifndef __SATA_H__
2#define __SATA_H__
3
4int 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);
10int __sata_initialize(void);
11
12#endif