Changeset 66 for trunk/src/os2ahci/ahci.c
- Timestamp:
- Dec 23, 2010, 11:06:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/ahci.c
r57 r66 235 235 if (ai->pci->vendor == PCI_VENDOR_ID_JMICRON && 236 236 ai->pci->device == 0x2361 && ai->port_map != 1) { 237 dprintf("JMB361 has only one port, port_map 0x% x -> 0x%x\n", ai->port_map, 1);237 dprintf("JMB361 has only one port, port_map 0x%lx -> 0x%lx\n", ai->port_map, 1); 238 238 ai->port_map = 1; 239 239 } … … 1029 1029 1030 1030 if (add_workspace(iorb)->complete | (iorb->Status | IORB_ERROR)) { 1031 aws_free(add_workspace(iorb));1032 1031 iorb_done(iorb); 1033 1032 } … … 1230 1229 1231 1230 if (aws->complete) { 1232 /* this IORB is complete */ 1233 aws_free(aws); 1234 1235 /* move IORB to our temporary done queue */ 1231 /* this IORB is complete; move IORB to our temporary done queue */ 1236 1232 iorb_queue_del(&ai->ports[p].iorb_queue, iorb); 1237 1233 iorb_queue_add(&done_queue, iorb); … … 1250 1246 next = iorb->pNxtIORB; 1251 1247 iorb->Status = IORB_DONE; 1248 aws_free(iorb_workspace(iorb)); 1252 1249 if (iorb->RequestControl & IORB_ASYNC_POST) { 1253 1250 iorb->NotifyAddress(iorb);
Note:
See TracChangeset
for help on using the changeset viewer.