Ignore:
Timestamp:
Mar 2, 2011, 11:48:03 PM (14 years ago)
Author:
chris
Message:

Version 1.09
============

  • Added new command line parameter, "/4", which will force a track size of 56 sectors to be reported in geometry requests. This will improve performance for newer HDs with 4K sectors and file systems which use block sizes larger than 512 bytes (FAT, JFS, ...) because all partitions will be aligned on 4K (8 sector) boundaries.
  • Changed AP_DEVICE parameter to ata_cmd() from 16 bits to 8 bits -- the corresponding field in ATA_CMD has always been 8 bits and there's no point discarding the lower 8 bits of the AP_DEVICE parameter as a general rule. Besides, it confused me in the end...
  • Always return some kind of error in ata_req_sense() because this function will only be called when we received an error interrupt; atapi_req_sense() already does this.
  • Cosmetic changes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/libc.c

    r77 r82  
    246246
    247247/******************************************************************************
    248  * Print messages to COM
     248 * Print messages to serial port
    249249 *
    250250 * NOTES: This function uses a 1K buffer for the resulting message. Thus,
     
    260260  vsprintf(buf, fmt, va);
    261261
    262   /* write debug message to COM1 */
     262  /* write debug message to serial port */
    263263  for (s = buf; *s != '\0'; s++) {
    264264
     
    547547 * Calibrate 'mdelay()' loop. This is done by setting up a 1 second timer
    548548 * with a callback that sets 'mdelay_done' to MD_CALIBRATION_END. Then it
    549  * calls mdelay() with a large milliseond value an initial delay loop counter
    550  * of 1,000,000. When the timer triggers, 'mdelay()' will stop and update
    551  * the delay loop counter.
     549 * calls mdelay() with a large milliseond value as initial delay loop counter.
     550 * When the timer triggers, 'mdelay()' will stop and update the delay loop
     551 * counter.
    552552 *
    553553 * This function needs to be called at device driver init time. Since it uses
Note: See TracChangeset for help on using the changeset viewer.