diff options
Diffstat (limited to 'net/tipc/core.c')
| -rw-r--r-- | net/tipc/core.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/net/tipc/core.c b/net/tipc/core.c index 3d0a8ee4e1d3..0539a8362858 100644 --- a/net/tipc/core.c +++ b/net/tipc/core.c | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | * net/tipc/core.c: TIPC module code | 2 | * net/tipc/core.c: TIPC module code |
| 3 | * | 3 | * |
| 4 | * Copyright (c) 2003-2006, Ericsson AB | 4 | * Copyright (c) 2003-2006, Ericsson AB |
| 5 | * Copyright (c) 2005, Wind River Systems | 5 | * Copyright (c) 2005-2006, Wind River Systems |
| 6 | * All rights reserved. | 6 | * All rights reserved. |
| 7 | * | 7 | * |
| 8 | * Redistribution and use in source and binary forms, with or without | 8 | * Redistribution and use in source and binary forms, with or without |
| @@ -57,7 +57,7 @@ void tipc_socket_stop(void); | |||
| 57 | int tipc_netlink_start(void); | 57 | int tipc_netlink_start(void); |
| 58 | void tipc_netlink_stop(void); | 58 | void tipc_netlink_stop(void); |
| 59 | 59 | ||
| 60 | #define MOD_NAME "tipc_start: " | 60 | #define TIPC_MOD_VER "1.6.1" |
| 61 | 61 | ||
| 62 | #ifndef CONFIG_TIPC_ZONES | 62 | #ifndef CONFIG_TIPC_ZONES |
| 63 | #define CONFIG_TIPC_ZONES 3 | 63 | #define CONFIG_TIPC_ZONES 3 |
| @@ -191,14 +191,15 @@ static int __init tipc_init(void) | |||
| 191 | int res; | 191 | int res; |
| 192 | 192 | ||
| 193 | tipc_log_reinit(CONFIG_TIPC_LOG); | 193 | tipc_log_reinit(CONFIG_TIPC_LOG); |
| 194 | info("Activated (compiled " __DATE__ " " __TIME__ ")\n"); | 194 | info("Activated (version " TIPC_MOD_VER |
| 195 | " compiled " __DATE__ " " __TIME__ ")\n"); | ||
| 195 | 196 | ||
| 196 | tipc_own_addr = 0; | 197 | tipc_own_addr = 0; |
| 197 | tipc_remote_management = 1; | 198 | tipc_remote_management = 1; |
| 198 | tipc_max_publications = 10000; | 199 | tipc_max_publications = 10000; |
| 199 | tipc_max_subscriptions = 2000; | 200 | tipc_max_subscriptions = 2000; |
| 200 | tipc_max_ports = delimit(CONFIG_TIPC_PORTS, 127, 65536); | 201 | tipc_max_ports = delimit(CONFIG_TIPC_PORTS, 127, 65536); |
| 201 | tipc_max_zones = delimit(CONFIG_TIPC_ZONES, 1, 511); | 202 | tipc_max_zones = delimit(CONFIG_TIPC_ZONES, 1, 255); |
| 202 | tipc_max_clusters = delimit(CONFIG_TIPC_CLUSTERS, 1, 1); | 203 | tipc_max_clusters = delimit(CONFIG_TIPC_CLUSTERS, 1, 1); |
| 203 | tipc_max_nodes = delimit(CONFIG_TIPC_NODES, 8, 2047); | 204 | tipc_max_nodes = delimit(CONFIG_TIPC_NODES, 8, 2047); |
| 204 | tipc_max_slaves = delimit(CONFIG_TIPC_SLAVE_NODES, 0, 2047); | 205 | tipc_max_slaves = delimit(CONFIG_TIPC_SLAVE_NODES, 0, 2047); |
| @@ -224,6 +225,7 @@ module_exit(tipc_exit); | |||
| 224 | 225 | ||
| 225 | MODULE_DESCRIPTION("TIPC: Transparent Inter Process Communication"); | 226 | MODULE_DESCRIPTION("TIPC: Transparent Inter Process Communication"); |
| 226 | MODULE_LICENSE("Dual BSD/GPL"); | 227 | MODULE_LICENSE("Dual BSD/GPL"); |
| 228 | MODULE_VERSION(TIPC_MOD_VER); | ||
| 227 | 229 | ||
| 228 | /* Native TIPC API for kernel-space applications (see tipc.h) */ | 230 | /* Native TIPC API for kernel-space applications (see tipc.h) */ |
| 229 | 231 | ||
