Changeset 8850690 in mainline for uspace/drv/uhci-hcd/main.c


Ignore:
Timestamp:
2011-03-13T16:18:09Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9351353
Parents:
6143ce3
Message:

Rename uhci_t ⇒ uhci_hc_t, start of bigger HC ↔ RH cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/main.c

    r6143ce3 r8850690  
    4444#include "iface.h"
    4545#include "pci.h"
    46 #include "root_hub.h"
    47 #include "uhci.h"
     46#include "uhci_hc.h"
     47#include "uhci_rh.h"
    4848
    4949#define NAME "uhci-hcd"
     
    6969{
    7070        assert(dev);
    71         uhci_t *hc = dev_to_uhci(dev);
     71        uhci_hc_t *hc = dev_to_uhci(dev);
    7272        uint16_t status = IPC_GET_ARG1(*call);
    7373        assert(hc);
     
    8686{
    8787        assert(device);
    88         uhci_t *hcd = NULL;
     88        uhci_hc_t *hcd = NULL;
    8989#define CHECK_RET_FREE_HC_RETURN(ret, message...) \
    9090if (ret != EOK) { \
     
    121121#endif
    122122
    123         hcd = malloc(sizeof(uhci_t));
     123        hcd = malloc(sizeof(uhci_hc_t));
    124124        ret = (hcd != NULL) ? EOK : ENOMEM;
    125125        CHECK_RET_FREE_HC_RETURN(ret,
Note: See TracChangeset for help on using the changeset viewer.