Ignore:
Timestamp:
Nov 26, 2018, 3:15:43 PM (7 years ago)
Author:
David Azarewicz
Message:

Added Usable Disk option.

File:
1 edited

Legend:

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

    r196 r198  
    6767int force_write_cache; /* if != 0, force write cache */
    6868int verbosity = 0;     /* default is quiet. 1=show sign on banner, >1=show adapter info during boot */
    69 int use_lvm_info = 1;
     69int use_mbr_test = 1;
    7070long com_baud = 0;
    7171
     
    383383    }
    384384
    385     if (ArgCmp(pszCmdLine, "Z"))
     385    if (ArgCmp(pszCmdLine, "U"))
    386386    {
    387387      pszCmdLine++;
    388       /* Specify to not use the LVM information. There is no reason why anyone would
    389        * want to do this, but previous versions of this driver did not have LVM capability,
    390        * so this switch is here temporarily just in case.
     388      /* Specify to use the MBR test to ignore non-MBR disks.
     389       * Default is on.
    391390       */
    392       use_lvm_info = !iInvertOption;
     391      use_mbr_test = !iInvertOption;
    393392      continue;
    394393    }
     
    11281127        for (d = 0; d <= ad_info->ports[p].dev_max; d++)
    11291128        {
    1130           if (ad_info->ports[p].devs[d].present)
     1129          if (ad_info->ports[p].devs[d].present && !ad_info->ports[p].devs[d].ignored)
    11311130          {
    11321131            if (ad_info->ports[p].devs[d].atapi && emulate_scsi[dta][p])
     
    11671166          for (d = 0; d <= ad_info->ports[p].dev_max; d++)
    11681167          {
    1169             if (ad_info->ports[p].devs[d].present && ad_info->ports[p].devs[d].atapi && emulate_scsi[a][p])
     1168            if (ad_info->ports[p].devs[d].present && !ad_info->ports[p].devs[d].ignored
     1169                && ad_info->ports[p].devs[d].atapi && emulate_scsi[a][p])
    11701170            {
    11711171              if (add_unit_info(pIorb_conf, dta, a, p, d, scsi_id++))
Note: See TracChangeset for help on using the changeset viewer.