Changeset eb522e8 in mainline for uspace/srv/net/nil/eth/eth.c
- Timestamp:
- 2011-06-01T08:43:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8d6c1f1
- Parents:
- 9e2e715 (diff), e51a514 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/nil/eth/eth.c
r9e2e715 reb522e8 43 43 #include <str.h> 44 44 #include <errno.h> 45 46 #include <ipc/ipc.h> 45 #include <ipc/nil.h> 47 46 #include <ipc/net.h> 48 47 #include <ipc/services.h> 49 50 48 #include <net/modules.h> 51 49 #include <net_checksum.h> … … 54 52 #include <protocol_map.h> 55 53 #include <net/device.h> 56 #include <netif_ interface.h>54 #include <netif_remote.h> 57 55 #include <net_interface.h> 58 #include <nil_interface.h> 59 #include <il_interface.h> 56 #include <il_remote.h> 60 57 #include <adt/measured_strings.h> 61 58 #include <packet_client.h> 62 59 #include <packet_remote.h> 63 #include <nil_ local.h>60 #include <nil_skel.h> 64 61 65 62 #include "eth.h" 66 #include "eth_header.h"67 63 68 64 /** The module name. */ … … 72 68 #define ETH_PREFIX \ 73 69 (sizeof(eth_header_t) + sizeof(eth_header_lsap_t) + \ 74 sizeof(eth_header_snap_t))70 sizeof(eth_header_snap_t)) 75 71 76 72 /** Reserved packet suffix length. */ 77 #define ETH_SUFFIX \ 78 sizeof(eth_fcs_t) 73 #define ETH_SUFFIX (sizeof(eth_fcs_t)) 79 74 80 75 /** Maximum packet content length. */ 81 #define ETH_MAX_CONTENT 1500u76 #define ETH_MAX_CONTENT 1500u 82 77 83 78 /** Minimum packet content length. */ 84 #define ETH_MIN_CONTENT 46u79 #define ETH_MIN_CONTENT 46u 85 80 86 81 /** Maximum tagged packet content length. */ 87 82 #define ETH_MAX_TAGGED_CONTENT(flags) \ 88 83 (ETH_MAX_CONTENT - \ 89 ((IS_8023_2_LSAP(flags) || IS_8023_2_SNAP(flags)) ? \90 sizeof(eth_header_lsap_t) : 0) - \91 (IS_8023_2_SNAP(flags) ? sizeof(eth_header_snap_t) : 0))84 ((IS_8023_2_LSAP(flags) || IS_8023_2_SNAP(flags)) ? \ 85 sizeof(eth_header_lsap_t) : 0) - \ 86 (IS_8023_2_SNAP(flags) ? sizeof(eth_header_snap_t) : 0)) 92 87 93 88 /** Minimum tagged packet content length. */ 94 89 #define ETH_MIN_TAGGED_CONTENT(flags) \ 95 90 (ETH_MIN_CONTENT - \ 96 ((IS_8023_2_LSAP(flags) || IS_8023_2_SNAP(flags)) ? \97 sizeof(eth_header_lsap_t) : 0) - \98 (IS_8023_2_SNAP(flags) ? sizeof(eth_header_snap_t) : 0))91 ((IS_8023_2_LSAP(flags) || IS_8023_2_SNAP(flags)) ? \ 92 sizeof(eth_header_lsap_t) : 0) - \ 93 (IS_8023_2_SNAP(flags) ? sizeof(eth_header_snap_t) : 0)) 99 94 100 95 /** Dummy flag shift value. */ 101 #define ETH_DUMMY_SHIFT 96 #define ETH_DUMMY_SHIFT 0 102 97 103 98 /** Mode flag shift value. */ 104 #define ETH_MODE_SHIFT 99 #define ETH_MODE_SHIFT 1 105 100 106 101 /** Dummy device flag. 107 102 * Preamble and FCS are mandatory part of the packets. 108 103 */ 109 #define ETH_DUMMY 104 #define ETH_DUMMY (1 << ETH_DUMMY_SHIFT) 110 105 111 106 /** Returns the dummy flag. 112 107 * @see ETH_DUMMY 113 108 */ 114 #define IS_DUMMY(flags) 109 #define IS_DUMMY(flags) ((flags) & ETH_DUMMY) 115 110 116 111 /** Device mode flags. … … 119 114 * @see ETH_8023_2_SNAP 120 115 */ 121 #define ETH_MODE_MASK 116 #define ETH_MODE_MASK (3 << ETH_MODE_SHIFT) 122 117 123 118 /** DIX Ethernet mode flag. */ 124 #define ETH_DIX 125 126 /** Return swhether the DIX Ethernet mode flag is set.127 * 128 * @param[in] flags The ethernet flags.119 #define ETH_DIX (1 << ETH_MODE_SHIFT) 120 121 /** Return whether the DIX Ethernet mode flag is set. 122 * 123 * @param[in] flags Ethernet flags. 129 124 * @see ETH_DIX 130 */ 131 #define IS_DIX(flags) (((flags) & ETH_MODE_MASK) == ETH_DIX) 125 * 126 */ 127 #define IS_DIX(flags) (((flags) & ETH_MODE_MASK) == ETH_DIX) 132 128 133 129 /** 802.3 + 802.2 + LSAP mode flag. */ 134 #define ETH_8023_2_LSAP 135 136 /** Return swhether the 802.3 + 802.2 + LSAP mode flag is set.137 * 138 * @param[in] flags The ethernet flags.130 #define ETH_8023_2_LSAP (2 << ETH_MODE_SHIFT) 131 132 /** Return whether the 802.3 + 802.2 + LSAP mode flag is set. 133 * 134 * @param[in] flags Ethernet flags. 139 135 * @see ETH_8023_2_LSAP 140 */ 141 #define IS_8023_2_LSAP(flags) (((flags) & ETH_MODE_MASK) == ETH_8023_2_LSAP) 136 * 137 */ 138 #define IS_8023_2_LSAP(flags) (((flags) & ETH_MODE_MASK) == ETH_8023_2_LSAP) 142 139 143 140 /** 802.3 + 802.2 + LSAP + SNAP mode flag. */ 144 #define ETH_8023_2_SNAP 145 146 /** Return swhether the 802.3 + 802.2 + LSAP + SNAP mode flag is set.147 * 148 * @param[in] flags The ethernet flags.141 #define ETH_8023_2_SNAP (3 << ETH_MODE_SHIFT) 142 143 /** Return whether the 802.3 + 802.2 + LSAP + SNAP mode flag is set. 144 * 145 * @param[in] flags Ethernet flags. 149 146 * @see ETH_8023_2_SNAP 150 */ 151 #define IS_8023_2_SNAP(flags) (((flags) & ETH_MODE_MASK) == ETH_8023_2_SNAP) 147 * 148 */ 149 #define IS_8023_2_SNAP(flags) (((flags) & ETH_MODE_MASK) == ETH_8023_2_SNAP) 152 150 153 151 /** Type definition of the ethernet address type. … … 155 153 */ 156 154 typedef enum eth_addr_type eth_addr_type_t; 157 158 /** Type definition of the ethernet address type pointer.159 * @see eth_addr_type160 */161 typedef eth_addr_type_t *eth_addr_type_ref;162 155 163 156 /** Ethernet address type. */ … … 178 171 { 179 172 int index; 180 eth_proto_ refproto;173 eth_proto_t *proto; 181 174 182 175 fibril_rwlock_read_lock(ð_globals.protos_lock); … … 206 199 207 200 eth_globals.broadcast_addr = 208 measured_string_create_bulk("\xFF\xFF\xFF\xFF\xFF\xFF", 209 CONVERT_SIZE(uint8_t, char, ETH_ADDR)); 201 measured_string_create_bulk((uint8_t *) "\xFF\xFF\xFF\xFF\xFF\xFF", ETH_ADDR); 210 202 if (!eth_globals.broadcast_addr) { 211 203 rc = ENOMEM; … … 222 214 if (rc != EOK) { 223 215 free(eth_globals.broadcast_addr); 224 eth_devices_destroy(ð_globals.devices );216 eth_devices_destroy(ð_globals.devices, free); 225 217 } 226 218 out: … … 239 231 static void eth_receiver(ipc_callid_t iid, ipc_call_t *icall) 240 232 { 241 packet_t packet;233 packet_t *packet; 242 234 int rc; 243 235 244 236 while (true) { 245 switch (IPC_GET_ METHOD(*icall)) {237 switch (IPC_GET_IMETHOD(*icall)) { 246 238 case NET_NIL_DEVICE_STATE: 247 nil_device_state_msg_local(0, IPC_GET_DEVICE( icall),248 IPC_GET_STATE( icall));249 ipc_answer_0(iid, EOK);239 nil_device_state_msg_local(0, IPC_GET_DEVICE(*icall), 240 IPC_GET_STATE(*icall)); 241 async_answer_0(iid, EOK); 250 242 break; 251 243 case NET_NIL_RECEIVED: 252 244 rc = packet_translate_remote(eth_globals.net_phone, 253 &packet, IPC_GET_PACKET( icall));254 if (rc == EOK) {245 &packet, IPC_GET_PACKET(*icall)); 246 if (rc == EOK) 255 247 rc = nil_received_msg_local(0, 256 IPC_GET_DEVICE( icall), packet, 0);257 }258 ipc_answer_0(iid, (ipcarg_t) rc);248 IPC_GET_DEVICE(*icall), packet, 0); 249 250 async_answer_0(iid, (sysarg_t) rc); 259 251 break; 260 252 default: 261 ipc_answer_0(iid, (ipcarg_t) ENOTSUP);253 async_answer_0(iid, (sysarg_t) ENOTSUP); 262 254 } 263 255 … … 273 265 * @param[in] service The device driver service. 274 266 * @param[in] mtu The device maximum transmission unit. 275 * @return sEOK on success.276 * @return sEEXIST if the device with the different service exists.277 * @return sENOMEM if there is not enough memory left.278 * @return sOther error codes as defined for the267 * @return EOK on success. 268 * @return EEXIST if the device with the different service exists. 269 * @return ENOMEM if there is not enough memory left. 270 * @return Other error codes as defined for the 279 271 * net_get_device_conf_req() function. 280 * @return sOther error codes as defined for the272 * @return Other error codes as defined for the 281 273 * netif_bind_service() function. 282 * @return sOther error codes as defined for the274 * @return Other error codes as defined for the 283 275 * netif_get_addr_req() function. 284 276 */ … … 286 278 size_t mtu) 287 279 { 288 eth_device_ refdevice;280 eth_device_t *device; 289 281 int index; 290 282 measured_string_t names[2] = { 291 283 { 292 ( char*) "ETH_MODE",284 (uint8_t *) "ETH_MODE", 293 285 8 294 286 }, 295 287 { 296 ( char*) "ETH_DUMMY",288 (uint8_t *) "ETH_DUMMY", 297 289 9 298 290 } 299 291 }; 300 measured_string_ refconfiguration;292 measured_string_t *configuration; 301 293 size_t count = sizeof(names) / sizeof(measured_string_t); 302 char*data;303 eth_proto_ refproto;294 uint8_t *data; 295 eth_proto_t *proto; 304 296 int rc; 305 297 … … 320 312 device->mtu = ETH_MAX_TAGGED_CONTENT(device->flags); 321 313 322 printf("Device %d already exists:\tMTU\t= % d\n",314 printf("Device %d already exists:\tMTU\t= %zu\n", 323 315 device->device_id, device->mtu); 324 316 fibril_rwlock_write_unlock(ð_globals.devices_lock); … … 342 334 343 335 /* Create a new device */ 344 device = (eth_device_ ref) malloc(sizeof(eth_device_t));336 device = (eth_device_t *) malloc(sizeof(eth_device_t)); 345 337 if (!device) 346 338 return ENOMEM; … … 364 356 365 357 if (configuration) { 366 if (!str_lcmp( configuration[0].value, "DIX",358 if (!str_lcmp((char *) configuration[0].value, "DIX", 367 359 configuration[0].length)) { 368 360 device->flags |= ETH_DIX; 369 } else if(!str_lcmp( configuration[0].value, "8023_2_LSAP",361 } else if(!str_lcmp((char *) configuration[0].value, "8023_2_LSAP", 370 362 configuration[0].length)) { 371 363 device->flags |= ETH_8023_2_LSAP; … … 412 404 } 413 405 414 printf("%s: Device registered (id: %d, service: %d: mtu: % d, "415 "mac: % x:%x:%x:%x:%x:%x, flags: 0x%x)\n",406 printf("%s: Device registered (id: %d, service: %d: mtu: %zu, " 407 "mac: %02x:%02x:%02x:%02x:%02x:%02x, flags: 0x%x)\n", 416 408 NAME, device->device_id, device->service, device->mtu, 417 409 device->addr_data[0], device->addr_data[1], … … 427 419 * @param[in] flags The device flags. 428 420 * @param[in] packet The packet. 429 * @return sThe target registered module.430 * @return sNULL if the packet is not long enough.431 * @return sNULL if the packet is too long.432 * @return sNULL if the raw ethernet protocol is used.433 * @return sNULL if the dummy device FCS checksum is invalid.434 * @return sNULL if the packet address length is not big enough.435 */ 436 static eth_proto_ ref eth_process_packet(int flags, packet_tpacket)437 { 438 eth_header_snap_ refheader;421 * @return The target registered module. 422 * @return NULL if the packet is not long enough. 423 * @return NULL if the packet is too long. 424 * @return NULL if the raw ethernet protocol is used. 425 * @return NULL if the dummy device FCS checksum is invalid. 426 * @return NULL if the packet address length is not big enough. 427 */ 428 static eth_proto_t *eth_process_packet(int flags, packet_t *packet) 429 { 430 eth_header_snap_t *header; 439 431 size_t length; 440 432 eth_type_t type; 441 433 size_t prefix; 442 434 size_t suffix; 443 eth_fcs_ reffcs;435 eth_fcs_t *fcs; 444 436 uint8_t *data; 445 437 int rc; … … 454 446 455 447 data = packet_get_data(packet); 456 header = (eth_header_snap_ ref) data;448 header = (eth_header_snap_t *) data; 457 449 type = ntohs(header->header.ethertype); 458 450 … … 461 453 prefix = sizeof(eth_header_t); 462 454 suffix = 0; 463 fcs = (eth_fcs_ ref) data + length - sizeof(eth_fcs_t);455 fcs = (eth_fcs_t *) data + length - sizeof(eth_fcs_t); 464 456 length -= sizeof(eth_fcs_t); 465 457 } else if(type <= ETH_MAX_CONTENT) { … … 487 479 488 480 suffix = (type < ETH_MIN_CONTENT) ? ETH_MIN_CONTENT - type : 0U; 489 fcs = (eth_fcs_ ref) data + prefix + type + suffix;481 fcs = (eth_fcs_t *) data + prefix + type + suffix; 490 482 suffix += length - prefix - type; 491 483 length = prefix + type + suffix; … … 514 506 515 507 int nil_received_msg_local(int nil_phone, device_id_t device_id, 516 packet_t packet, services_t target)517 { 518 eth_proto_ refproto;519 packet_t next;520 eth_device_ refdevice;508 packet_t *packet, services_t target) 509 { 510 eth_proto_t *proto; 511 packet_t *next; 512 eth_device_t *device; 521 513 int flags; 522 514 … … 539 531 proto->service); 540 532 } else { 541 / / drop invalid/unknown533 /* Drop invalid/unknown */ 542 534 pq_release_remote(eth_globals.net_phone, 543 535 packet_get_id(packet)); … … 557 549 * @param[out] content The maximum content size. 558 550 * @param[out] suffix The minimum reserved suffix size. 559 * @return sEOK on success.560 * @return sEBADMEM if either one of the parameters is NULL.561 * @return sENOENT if there is no such device.551 * @return EOK on success. 552 * @return EBADMEM if either one of the parameters is NULL. 553 * @return ENOENT if there is no such device. 562 554 */ 563 555 static int eth_packet_space_message(device_id_t device_id, size_t *addr_len, 564 556 size_t *prefix, size_t *content, size_t *suffix) 565 557 { 566 eth_device_ refdevice;558 eth_device_t *device; 567 559 568 560 if (!addr_len || !prefix || !content || !suffix) … … 591 583 * @param[in] type Type of the desired address. 592 584 * @param[out] address The device hardware address. 593 * @return sEOK on success.594 * @return sEBADMEM if the address parameter is NULL.595 * @return sENOENT if there no such device.585 * @return EOK on success. 586 * @return EBADMEM if the address parameter is NULL. 587 * @return ENOENT if there no such device. 596 588 */ 597 589 static int eth_addr_message(device_id_t device_id, eth_addr_type_t type, 598 measured_string_ ref*address)599 { 600 eth_device_ refdevice;590 measured_string_t **address) 591 { 592 eth_device_t *device; 601 593 602 594 if (!address) … … 625 617 * @param[in] service The module service. 626 618 * @param[in] phone The service phone. 627 * @return sEOK on success.628 * @return sENOENT if the service is not known.629 * @return sENOMEM if there is not enough memory left.619 * @return EOK on success. 620 * @return ENOENT if the service is not known. 621 * @return ENOMEM if there is not enough memory left. 630 622 */ 631 623 static int eth_register_message(services_t service, int phone) 632 624 { 633 eth_proto_ refproto;625 eth_proto_t *proto; 634 626 int protocol; 635 627 int index; … … 646 638 return EOK; 647 639 } else { 648 proto = (eth_proto_ ref) malloc(sizeof(eth_proto_t));640 proto = (eth_proto_t *) malloc(sizeof(eth_proto_t)); 649 641 if (!proto) { 650 642 fibril_rwlock_write_unlock(ð_globals.protos_lock); … … 678 670 * @param[in] ethertype The ethernet protocol type. 679 671 * @param[in] mtu The device maximum transmission unit. 680 * @return sEOK on success.681 * @return sEINVAL if the packet addresses length is not long672 * @return EOK on success. 673 * @return EINVAL if the packet addresses length is not long 682 674 * enough. 683 * @return sEINVAL if the packet is bigger than the device MTU.684 * @return sENOMEM if there is not enough memory in the packet.675 * @return EINVAL if the packet is bigger than the device MTU. 676 * @return ENOMEM if there is not enough memory in the packet. 685 677 */ 686 678 static int 687 eth_prepare_packet(int flags, packet_t packet, uint8_t *src_addr, int ethertype,679 eth_prepare_packet(int flags, packet_t *packet, uint8_t *src_addr, int ethertype, 688 680 size_t mtu) 689 681 { 690 eth_header_snap_ refheader;691 eth_header_lsap_ refheader_lsap;692 eth_header_ refheader_dix;693 eth_fcs_ reffcs;682 eth_header_snap_t *header; 683 eth_header_lsap_t *header_lsap; 684 eth_header_t *header_dix; 685 eth_fcs_t *fcs; 694 686 uint8_t *src; 695 687 uint8_t *dest; … … 697 689 int i; 698 690 void *padding; 699 eth_preamble_ refpreamble;691 eth_preamble_t *preamble; 700 692 701 693 i = packet_get_addr(packet, &src, &dest); … … 788 780 * @param[in] packet The packet queue. 789 781 * @param[in] sender The sending module service. 790 * @return sEOK on success.791 * @return sENOENT if there no such device.792 * @return sEINVAL if the service parameter is not known.793 */ 794 static int eth_send_message(device_id_t device_id, packet_t packet,782 * @return EOK on success. 783 * @return ENOENT if there no such device. 784 * @return EINVAL if the service parameter is not known. 785 */ 786 static int eth_send_message(device_id_t device_id, packet_t *packet, 795 787 services_t sender) 796 788 { 797 eth_device_ refdevice;798 packet_t next;799 packet_t tmp;789 eth_device_t *device; 790 packet_t *next; 791 packet_t *tmp; 800 792 int ethertype; 801 793 int rc; … … 842 834 } 843 835 844 int nil_m essage_standalone(const char *name, ipc_callid_t callid,845 ipc_call_t * call, ipc_call_t *answer, int *answer_count)846 { 847 measured_string_ refaddress;848 packet_t packet;836 int nil_module_message(ipc_callid_t callid, ipc_call_t *call, 837 ipc_call_t *answer, size_t *answer_count) 838 { 839 measured_string_t *address; 840 packet_t *packet; 849 841 size_t addrlen; 850 842 size_t prefix; … … 854 846 855 847 *answer_count = 0; 856 switch (IPC_GET_ METHOD(*call)) {848 switch (IPC_GET_IMETHOD(*call)) { 857 849 case IPC_M_PHONE_HUNGUP: 858 850 return EOK; 859 851 860 852 case NET_NIL_DEVICE: 861 return eth_device_message(IPC_GET_DEVICE( call),862 IPC_GET_SERVICE( call), IPC_GET_MTU(call));853 return eth_device_message(IPC_GET_DEVICE(*call), 854 IPC_GET_SERVICE(*call), IPC_GET_MTU(*call)); 863 855 case NET_NIL_SEND: 864 856 rc = packet_translate_remote(eth_globals.net_phone, &packet, 865 IPC_GET_PACKET( call));857 IPC_GET_PACKET(*call)); 866 858 if (rc != EOK) 867 859 return rc; 868 return eth_send_message(IPC_GET_DEVICE( call), packet,869 IPC_GET_SERVICE( call));860 return eth_send_message(IPC_GET_DEVICE(*call), packet, 861 IPC_GET_SERVICE(*call)); 870 862 case NET_NIL_PACKET_SPACE: 871 rc = eth_packet_space_message(IPC_GET_DEVICE( call), &addrlen,863 rc = eth_packet_space_message(IPC_GET_DEVICE(*call), &addrlen, 872 864 &prefix, &content, &suffix); 873 865 if (rc != EOK) 874 866 return rc; 875 IPC_SET_ADDR( answer, addrlen);876 IPC_SET_PREFIX( answer, prefix);877 IPC_SET_CONTENT( answer, content);878 IPC_SET_SUFFIX( answer, suffix);867 IPC_SET_ADDR(*answer, addrlen); 868 IPC_SET_PREFIX(*answer, prefix); 869 IPC_SET_CONTENT(*answer, content); 870 IPC_SET_SUFFIX(*answer, suffix); 879 871 *answer_count = 4; 880 872 return EOK; 881 873 case NET_NIL_ADDR: 882 rc = eth_addr_message(IPC_GET_DEVICE( call), ETH_LOCAL_ADDR,874 rc = eth_addr_message(IPC_GET_DEVICE(*call), ETH_LOCAL_ADDR, 883 875 &address); 884 876 if (rc != EOK) … … 886 878 return measured_strings_reply(address, 1); 887 879 case NET_NIL_BROADCAST_ADDR: 888 rc = eth_addr_message(IPC_GET_DEVICE( call), ETH_BROADCAST_ADDR,880 rc = eth_addr_message(IPC_GET_DEVICE(*call), ETH_BROADCAST_ADDR, 889 881 &address); 890 882 if (rc != EOK) … … 892 884 return measured_strings_reply(address, 1); 893 885 case IPC_M_CONNECT_TO_ME: 894 return eth_register_message(NIL_GET_PROTO( call),895 IPC_GET_PHONE( call));886 return eth_register_message(NIL_GET_PROTO(*call), 887 IPC_GET_PHONE(*call)); 896 888 } 897 889 … … 899 891 } 900 892 901 /** Default thread for new connections.902 *903 * @param[in] iid The initial message identifier.904 * @param[in] icall The initial message call structure.905 */906 static void nil_client_connection(ipc_callid_t iid, ipc_call_t *icall)907 {908 /*909 * Accept the connection910 * - Answer the first IPC_M_CONNECT_ME_TO call.911 */912 ipc_answer_0(iid, EOK);913 914 while (true) {915 ipc_call_t answer;916 int answer_count;917 918 /* Clear the answer structure */919 refresh_answer(&answer, &answer_count);920 921 /* Fetch the next message */922 ipc_call_t call;923 ipc_callid_t callid = async_get_call(&call);924 925 /* Process the message */926 int res = nil_module_message_standalone(NAME, callid, &call,927 &answer, &answer_count);928 929 /*930 * End if told to either by the message or the processing931 * result.932 */933 if ((IPC_GET_METHOD(call) == IPC_M_PHONE_HUNGUP) ||934 (res == EHANGUP))935 return;936 937 /* Answer the message */938 answer_call(callid, res, &answer, answer_count);939 }940 }941 942 893 int main(int argc, char *argv[]) 943 894 { 944 int rc;945 946 895 /* Start the module */ 947 rc = nil_module_start_standalone(nil_client_connection); 948 return rc; 896 return nil_module_start(SERVICE_ETHERNET); 949 897 } 950 898
Note:
See TracChangeset
for help on using the changeset viewer.