Changeset 8f748215 in mainline for uspace/drv/uhci/root_hub/port.h


Ignore:
Timestamp:
2011-01-07T16:42:00Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
93fb170c
Parents:
15701921
Message:

port_status refactoring, use flags instead of structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci/root_hub/port.h

    r15701921 r8f748215  
    3939#include <stdint.h>
    4040
    41 typedef uint16_t uhci_port_reg_t;
     41#include "port_status.h"
    4242
    4343typedef struct uhci_port
    4444{
    45         uhci_port_reg_t *address;
     45        port_status_t *address;
    4646        device_t *hc;
    4747        unsigned number;
     
    5151
    5252static inline void uhci_port_init(
    53   uhci_port_t *port, uhci_port_reg_t *address, device_t *hc, unsigned number,
     53  uhci_port_t *port, port_status_t *address, device_t *hc, unsigned number,
    5454  unsigned usec)
    5555{
Note: See TracChangeset for help on using the changeset viewer.