Changeset 609243f4 in mainline for uspace/srv/net/nil/eth/eth.h
- Timestamp:
- 2011-10-07T15:46:01Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e2c50e1
- Parents:
- f51b1d3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/nil/eth/eth.h
rf51b1d3 r609243f4 1 1 /* 2 2 * Copyright (c) 2009 Lukas Mejdrech 3 * Copyright (c) 2011 Radim Vansa 3 4 * All rights reserved. 4 5 * … … 43 44 #include <net/device.h> 44 45 #include <adt/measured_strings.h> 46 #include <devman.h> 45 47 46 48 /** Ethernet address length. */ … … 220 222 struct eth_device { 221 223 /** Device identifier. */ 222 device_id_t device_id;223 /** Device driver service.*/224 services_t service;224 nic_device_id_t device_id; 225 /** Device handle */ 226 devman_handle_t handle; 225 227 /** Driver session. */ 226 228 async_sess_t *sess; … … 236 238 237 239 /** Actual device hardware address. */ 238 measured_string_t *addr; 239 240 /** Actual device hardware address data. */ 241 uint8_t *addr_data; 240 nic_address_t addr; 242 241 }; 243 242 … … 270 269 271 270 /** Broadcast device hardware address. */ 272 measured_string_t *broadcast_addr;271 uint8_t broadcast_addr[ETH_ADDR]; 273 272 }; 274 273
Note:
See TracChangeset
for help on using the changeset viewer.