Changeset 198 for trunk/src/os2ahci/os2ahci.c
- Timestamp:
- Nov 26, 2018, 3:15:43 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/os2ahci.c
r196 r198 67 67 int force_write_cache; /* if != 0, force write cache */ 68 68 int verbosity = 0; /* default is quiet. 1=show sign on banner, >1=show adapter info during boot */ 69 int use_ lvm_info= 1;69 int use_mbr_test = 1; 70 70 long com_baud = 0; 71 71 … … 383 383 } 384 384 385 if (ArgCmp(pszCmdLine, " Z"))385 if (ArgCmp(pszCmdLine, "U")) 386 386 { 387 387 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. 391 390 */ 392 use_ lvm_info= !iInvertOption;391 use_mbr_test = !iInvertOption; 393 392 continue; 394 393 } … … 1128 1127 for (d = 0; d <= ad_info->ports[p].dev_max; d++) 1129 1128 { 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) 1131 1130 { 1132 1131 if (ad_info->ports[p].devs[d].atapi && emulate_scsi[dta][p]) … … 1167 1166 for (d = 0; d <= ad_info->ports[p].dev_max; d++) 1168 1167 { 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]) 1170 1170 { 1171 1171 if (add_unit_info(pIorb_conf, dta, a, p, d, scsi_id++))
Note:
See TracChangeset
for help on using the changeset viewer.