Changeset f902d36 in mainline for uspace/srv


Ignore:
Timestamp:
2011-01-11T12:04:06Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
04aade50
Parents:
597c948
Message:

rename the dp8390 driver (and everything related) to ne2000
as it is currently a more suitable name for this beast

Location:
uspace/srv
Files:
3 edited
4 moved

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/netif/ne2000/Makefile

    r597c948 rf902d36  
    3939-include $(CONFIG_MAKEFILE)
    4040
    41 BINARY = dp8390
     41BINARY = ne2000
    4242
    4343SOURCES = \
  • uspace/srv/hw/netif/ne2000/ne2000.c

    r597c948 rf902d36  
    7878static int irc_phone = -1;
    7979
    80 /** DP8390 kernel interrupt command sequence.
     80/** NE2000 kernel interrupt command sequence.
    8181 *
    8282 */
     
    128128};
    129129
    130 /** DP8390 kernel interrupt code.
     130/** NE2000 kernel interrupt code.
    131131 *
    132132 */
     
    398398       
    399399        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);
    401401}
    402402
  • uspace/srv/net/cfg/ne2k

    r597c948 rf902d36  
    1 # DP8390 (NE2k) configuration
     1# NE2000 configuration
    22
    33NAME=ne2k
    44
    5 NETIF=dp8390
     5NETIF=ne2000
    66NIL=eth
    77IL=ip
     
    1515
    1616IP_CONFIG=static
    17 IP_ADDR=10.0.2.15
     17IP_ADDR=10.10.16.86
    1818IP_ROUTING=yes
    19 IP_NETMASK=255.255.255.240
    20 IP_BROADCAST=10.0.2.255
    21 IP_GATEWAY=10.0.2.2
     19IP_NETMASK=255.255.255.0
     20IP_BROADCAST=10.10.16.255
     21IP_GATEWAY=10.10.16.1
    2222ARP=arp
    2323
  • uspace/srv/net/net/net.c

    r597c948 rf902d36  
    288288        if (rc != EOK)
    289289                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);
    292292        if (rc != EOK)
    293293                return rc;
  • uspace/srv/net/net/net.h

    r597c948 rf902d36  
    5252 */
    5353
    54 #define DP8390_FILENAME  "/srv/dp8390"
    55 #define DP8390_NAME      "dp8390"
     54#define NE2000_FILENAME  "/srv/ne2000"
     55#define NE2000_NAME      "ne2000"
    5656
    5757#define ETHERNET_FILENAME  "/srv/eth"
Note: See TracChangeset for help on using the changeset viewer.