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