Changeset f902d36 in mainline for uspace/srv
- Timestamp:
- 2011-01-11T12:04:06Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 04aade50
- Parents:
- 597c948
- Location:
- uspace/srv
- Files:
-
- 3 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/netif/ne2000/Makefile
r597c948 rf902d36 39 39 -include $(CONFIG_MAKEFILE) 40 40 41 BINARY = dp839041 BINARY = ne2000 42 42 43 43 SOURCES = \ -
uspace/srv/hw/netif/ne2000/ne2000.c
r597c948 rf902d36 78 78 static int irc_phone = -1; 79 79 80 /** DP8390 kernel interrupt command sequence.80 /** NE2000 kernel interrupt command sequence. 81 81 * 82 82 */ … … 128 128 }; 129 129 130 /** DP8390 kernel interrupt code.130 /** NE2000 kernel interrupt code. 131 131 * 132 132 */ … … 398 398 399 399 sysarg_t phonehash; 400 return ipc_connect_to_me(PHONE_NS, SERVICE_ DP8390, 0, 0, &phonehash);400 return ipc_connect_to_me(PHONE_NS, SERVICE_NE2000, 0, 0, &phonehash); 401 401 } 402 402 -
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.