Changeset 45 for trunk


Ignore:
Timestamp:
Dec 1, 2010, 11:24:02 AM (15 years ago)
Author:
markus
Message:

minor stuff

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lbatest/lbatest.c

    r44 r45  
    77
    88  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 with
    10   with an S506 driver and run lbdatest 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.
    1111
    1212  Author: Markus Thielen
     
    5050void          usage            (void);
    5151
    52 int           write_test       (const char *drv);
    53 
    54 int           read_test        (const char *drv);
     52int           write_test       (char *drv);
     53
     54int           read_test        (char *drv);
    5555
    5656
     
    9898 * write_test() - write each sector's address to the sector itself
    9999 */
    100 int write_test(const char *drv)
     100int write_test(char *drv)
    101101{
    102102  unsigned long lba;
     
    167167 * read_test() - read each sector's first 4 bytes and compare to its LBA
    168168 */
    169 int read_test(const char *drv)
     169int read_test(char *drv)
    170170{
    171171  unsigned long lba;
     
    229229  DosClose(hf_disk);
    230230
    231   printf("Found %d logical errors (wrong values)\n", err_cnt);
     231  printf("Found %d logical errors.\n", err_cnt);
    232232  return rc;
    233233}
     
    246246         "In read mode, each sector is read and its address verified.\n");
    247247}
     248
  • trunk/src/os2ahci/os2ahci.def

    r42 r45  
    11library os2ahci
    2 Description '$@#thi.guten (www.thiguten.de):1.00.20101110#@OS/2 AHCI Adapter Device Driver'
     2Description '$@#thi.guten (www.thiguten.de):1.00.20101201#@OS/2 AHCI Adapter Device Driver'
    33protmode
    44
Note: See TracChangeset for help on using the changeset viewer.