Changes in uspace/drv/uhci-rhd/port.h [0063838:ab5a43d1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-rhd/port.h
r0063838 rab5a43d1 44 44 typedef struct uhci_port 45 45 { 46 char *id_string; 46 47 port_status_t *address; 47 48 unsigned number; … … 58 59 59 60 void uhci_port_fini(uhci_port_t *port); 61 62 static 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 68 static 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 } 60 74 #endif 61 75 /**
Note:
See TracChangeset
for help on using the changeset viewer.