From: Stefan E. <se...@us...> - 2002-05-10 15:33:26
|
Update of /cvsroot/blob/blob/include/blob In directory usw-pr-cvs1:/tmp/cvs-serv11600 Modified Files: ide.h Log Message: - lba read Index: ide.h =================================================================== RCS file: /cvsroot/blob/blob/include/blob/ide.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- ide.h 8 May 2002 19:14:57 -0000 1.5 +++ ide.h 10 May 2002 15:33:23 -0000 1.6 @@ -192,6 +192,9 @@ /* read, mapping abs [0..max] sector # into head, sector, cylinder */ int hd_read_mapped( ide_drive_t *drive, int sector_num, char *buffer); +/* read in lba mode */ +int hd_read_lba( ide_drive_t *drive, u32 lba, char *buffer); + int hd_map_sector( ide_drive_t *drive, int sector, int *head, int *sec, int *cyl ); #endif |