Changeset 2a6e4ac2 in mainline for uspace/srv/hw/netif/dp8390/ne2000.h
- Timestamp:
- 2011-01-06T15:03:23Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fc23ef6
- Parents:
- 506a805
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/netif/dp8390/ne2000.h
r506a805 r2a6e4ac2 11 11 12 12 #include <libarch/ddi.h> 13 14 13 #include "dp8390_port.h" 15 14 … … 61 60 * @returns The read value. 62 61 */ 63 #define inw_ne(dep, reg) (inw(dep->de_base_port +reg))62 #define inw_ne(dep, reg) (inw(dep->de_base_port + reg)) 64 63 65 64 /** Writes 1 word (2 bytes) register. … … 68 67 * @param[in] data The value to be written. 69 68 */ 70 #define outw_ne(dep, reg, data) (outw(dep->de_base_port+reg, data)) 69 #define outw_ne(dep, reg, data) (outw(dep->de_base_port + reg, data)) 70 71 struct dpeth; 72 73 int ne_probe(struct dpeth *dep); 71 74 72 75 #endif
Note:
See TracChangeset
for help on using the changeset viewer.