Changeset 40
- Timestamp:
- Nov 9, 2010, 11:32:38 AM (15 years ago)
- Location:
- trunk/src/os2ahci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/os2ahci.c
r35 r40 126 126 char _far *cmd_line; 127 127 char _far *s; 128 int adapter_index; 129 int port_index; 128 int adapter_index = -1; 129 int port_index = -1; 130 int a, p; 130 131 u16 vendor; 131 132 u16 device; … … 218 219 219 220 case 'n': 220 /* disable NCQ on this port */ 221 disable_ncq[adapter_index][port_index] = 1; 221 /* disable NCQ */ 222 if (adapter_index == -1) { 223 /* disable NCQ on all adapters and ports */ 224 memset(disable_ncq, 0xff, sizeof(disable_ncq)); 225 } else if (port_index == -1) { 226 /* disable NCQ on all ports of this adapter */ 227 memset(disable_ncq[adapter_index], 0xff, sizeof(disable_ncq[0])); 228 } else { 229 /* disable NCQ for this adapter and port */ 230 disable_ncq[adapter_index][port_index] = 1; 231 } 222 232 break; 223 233 -
trunk/src/os2ahci/os2ahci.def
r39 r40 1 1 library os2ahci 2 Description '$@#thi.guten (www.thiguten.de):1.00.2010110 8#@OS/2 AHCI Adapter Device Driver'2 Description '$@#thi.guten (www.thiguten.de):1.00.20101109#@OS/2 AHCI Adapter Device Driver' 3 3 protmode 4 4
Note:
See TracChangeset
for help on using the changeset viewer.