Changeset df949c5 in mainline for uspace/drv/uhci-rhd/port.h
- Timestamp:
- 2011-03-11T17:33:50Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dd6f59f
- Parents:
- b3bdb68 (diff), bf4cc3e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-rhd/port.h
rb3bdb68 rdf949c5 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.