Changeset f902d36 in mainline for uspace/srv/net
- Timestamp:
- 2011-01-11T12:04:06Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 04aade50
- Parents:
- 597c948
- Location:
- uspace/srv/net
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/cfg/ne2k
r597c948 rf902d36 1 # DP8390 (NE2k)configuration1 # NE2000 configuration 2 2 3 3 NAME=ne2k 4 4 5 NETIF= dp83905 NETIF=ne2000 6 6 NIL=eth 7 7 IL=ip … … 15 15 16 16 IP_CONFIG=static 17 IP_ADDR=10. 0.2.1517 IP_ADDR=10.10.16.86 18 18 IP_ROUTING=yes 19 IP_NETMASK=255.255.255. 24020 IP_BROADCAST=10. 0.2.25521 IP_GATEWAY=10. 0.2.219 IP_NETMASK=255.255.255.0 20 IP_BROADCAST=10.10.16.255 21 IP_GATEWAY=10.10.16.1 22 22 ARP=arp 23 23 -
uspace/srv/net/net/net.c
r597c948 rf902d36 288 288 if (rc != EOK) 289 289 return rc; 290 rc = add_module(NULL, &net_globals.modules, (uint8_t *) DP8390_NAME,291 (uint8_t *) DP8390_FILENAME, SERVICE_DP8390, 0, connect_to_service);290 rc = add_module(NULL, &net_globals.modules, (uint8_t *) NE2000_NAME, 291 (uint8_t *) NE2000_FILENAME, SERVICE_NE2000, 0, connect_to_service); 292 292 if (rc != EOK) 293 293 return rc; -
uspace/srv/net/net/net.h
r597c948 rf902d36 52 52 */ 53 53 54 #define DP8390_FILENAME "/srv/dp8390"55 #define DP8390_NAME "dp8390"54 #define NE2000_FILENAME "/srv/ne2000" 55 #define NE2000_NAME "ne2000" 56 56 57 57 #define ETHERNET_FILENAME "/srv/eth"
Note:
See TracChangeset
for help on using the changeset viewer.