Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-rhd/port.h

    r0063838 rab5a43d1  
    4444typedef struct uhci_port
    4545{
     46        char *id_string;
    4647        port_status_t *address;
    4748        unsigned number;
     
    5859
    5960void uhci_port_fini(uhci_port_t *port);
     61
     62static inline port_status_t uhci_port_read_status(uhci_port_t *port)
     63{
     64        assert(port);
     65        return pio_read_16(port->address);
     66}
     67
     68static inline void uhci_port_write_status(
     69    uhci_port_t *port, port_status_t value)
     70{
     71        assert(port);
     72        pio_write_16(port->address, value);
     73}
    6074#endif
    6175/**
Note: See TracChangeset for help on using the changeset viewer.