Changeset 42 for trunk/src/os2ahci/ahci.c
- Timestamp:
- Nov 10, 2010, 11:14:21 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/ahci.c
r37 r42 1441 1441 ai->ports[p].devs[d].removable = (id_buf[ATA_ID_CONFIG] & 0x0080U) != 0; 1442 1442 ai->ports[p].devs[d].dev_type = UIB_TYPE_DISK; 1443 1443 1444 1444 if (id_buf[ATA_ID_CONFIG] & 0x8000U) { 1445 1445 /* this is an ATAPI device; augment device information */ … … 1453 1453 /* MT: set ncq_max to 1 if NCQ is disabled for this port */ 1454 1454 ai->ports[p].devs[d].ncq_max = 1; 1455 dprintf("NCQ off for a:%d p:%d\n", (int) ad_no(ai), p); 1455 1456 } else { 1456 1457 ai->ports[p].devs[d].ncq_max = id_buf[ATA_ID_QUEUE_DEPTH] & 0x001fU; 1458 dprintf("NCQ max=%d for a:%d p:%d\n", ai->ports[p].devs[d].ncq_max, (int) ad_no(ai), p); 1457 1459 } 1458 1460
Note:
See TracChangeset
for help on using the changeset viewer.