Changeset 198 for trunk/src/os2ahci/ioctl.c
- Timestamp:
- Nov 26, 2018, 3:15:43 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/ioctl.c
r196 r198 98 98 for (d = 0; d <= pi->dev_max; d++) 99 99 { 100 if (pi->devs[d].present )100 if (pi->devs[d].present && !pi->devs[d].ignored) 101 101 { 102 102 /* add this device to the device list */ … … 148 148 p = req->port; 149 149 d = req->device; 150 if (a >= ad_info_cnt || p > ad_infos[a].port_max || 151 d > ad_infos[a].ports[p].dev_max || !ad_infos[a].ports[p].devs[d].present) 150 if (a >= ad_info_cnt || p > ad_infos[a].port_max 151 || d > ad_infos[a].ports[p].dev_max 152 || !ad_infos[a].ports[p].devs[d].present 153 || ad_infos[a].ports[p].devs[d].ignored) 152 154 { 153 155 return(RPDONE | RPERR_UNIT); … … 545 547 for (_d = 0; _d <= pi->dev_max; _d++) 546 548 { 547 if (pi->devs[_d].present )549 if (pi->devs[_d].present && !pi->devs[_d].ignored) 548 550 { 549 551 if (unit-- == 0)
Note:
See TracChangeset
for help on using the changeset viewer.