Changeset 45a9cf4 in mainline for uspace/drv/bus/usb/uhci/pci.c
- Timestamp:
- 2011-09-17T21:53:30Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 086290d, c5808b41, f1d6866
- Parents:
- dfa48b0d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/pci.c
rdfa48b0d r45a9cf4 69 69 70 70 hw_resource_list_t hw_resources; 71 int rc = hw_res_get_resource_list(parent_sess, &hw_resources); 71 const int rc = hw_res_get_resource_list(parent_sess, &hw_resources); 72 async_hangup(parent_sess); 72 73 if (rc != EOK) { 73 async_hangup(parent_sess);74 74 return rc; 75 75 } … … 78 78 size_t io_size = 0; 79 79 bool io_found = false; 80 80 81 81 int irq = 0; 82 82 bool irq_found = false; 83 83 84 84 size_t i; 85 85 for (i = 0; i < hw_resources.count; i++) { … … 102 102 } 103 103 } 104 105 async_hangup(parent_sess); 104 free(hw_resources.resources); 106 105 107 106 if (!io_found || !irq_found)
Note:
See TracChangeset
for help on using the changeset viewer.