Changeset 8850690 in mainline for uspace/drv/uhci-hcd/main.c
- Timestamp:
- 2011-03-13T16:18:09Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9351353
- Parents:
- 6143ce3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/main.c
r6143ce3 r8850690 44 44 #include "iface.h" 45 45 #include "pci.h" 46 #include " root_hub.h"47 #include "uhci .h"46 #include "uhci_hc.h" 47 #include "uhci_rh.h" 48 48 49 49 #define NAME "uhci-hcd" … … 69 69 { 70 70 assert(dev); 71 uhci_ t *hc = dev_to_uhci(dev);71 uhci_hc_t *hc = dev_to_uhci(dev); 72 72 uint16_t status = IPC_GET_ARG1(*call); 73 73 assert(hc); … … 86 86 { 87 87 assert(device); 88 uhci_ t *hcd = NULL;88 uhci_hc_t *hcd = NULL; 89 89 #define CHECK_RET_FREE_HC_RETURN(ret, message...) \ 90 90 if (ret != EOK) { \ … … 121 121 #endif 122 122 123 hcd = malloc(sizeof(uhci_ t));123 hcd = malloc(sizeof(uhci_hc_t)); 124 124 ret = (hcd != NULL) ? EOK : ENOMEM; 125 125 CHECK_RET_FREE_HC_RETURN(ret,
Note:
See TracChangeset
for help on using the changeset viewer.