- Timestamp:
- Dec 1, 2010, 11:24:02 AM (15 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lbatest/lbatest.c
r44 r45 7 7 8 8 To run the test, attach a HD to an AHCI controller with os2ahci.add loaded 9 and run the test in write mode, then attach the disk to an IDE adapter with10 with an S506 driver and run lb datest in read mode.9 and run the test in write mode, then attach the disk to an IDE adapter 10 with an S506 driver and run lbatest in read mode. 11 11 12 12 Author: Markus Thielen … … 50 50 void usage (void); 51 51 52 int write_test (c onst char *drv);53 54 int read_test (c onst char *drv);52 int write_test (char *drv); 53 54 int read_test (char *drv); 55 55 56 56 … … 98 98 * write_test() - write each sector's address to the sector itself 99 99 */ 100 int write_test(c onst char *drv)100 int write_test(char *drv) 101 101 { 102 102 unsigned long lba; … … 167 167 * read_test() - read each sector's first 4 bytes and compare to its LBA 168 168 */ 169 int read_test(c onst char *drv)169 int read_test(char *drv) 170 170 { 171 171 unsigned long lba; … … 229 229 DosClose(hf_disk); 230 230 231 printf("Found %d logical errors (wrong values)\n", err_cnt);231 printf("Found %d logical errors.\n", err_cnt); 232 232 return rc; 233 233 } … … 246 246 "In read mode, each sector is read and its address verified.\n"); 247 247 } 248 -
trunk/src/os2ahci/os2ahci.def
r42 r45 1 1 library os2ahci 2 Description '$@#thi.guten (www.thiguten.de):1.00.20101 110#@OS/2 AHCI Adapter Device Driver'2 Description '$@#thi.guten (www.thiguten.de):1.00.20101201#@OS/2 AHCI Adapter Device Driver' 3 3 protmode 4 4
Note:
See TracChangeset
for help on using the changeset viewer.