Prepare for native installation on Haiku. The net_stack is located under dev/net_stack to avoid recursive lookup, the network core is at add-ons/kernel/network instead of obos_network.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12292 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz
2005-04-11 19:37:09 +00:00
parent 79de7f4dcb
commit 8dfbc5e088
2 changed files with 9 additions and 0 deletions
+4
View File
@@ -17,7 +17,11 @@
#include <module.h>
#ifndef __HAIKU__
#define NETWORK_MODULES_ROOT "obos_network/"
#else
#define NETWORK_MODULES_ROOT "network/"
#endif
struct kernel_net_module_info {
module_info info;
+5
View File
@@ -11,7 +11,12 @@
// Forward declaration
struct sockaddr;
#ifndef __HAIKU__
#define NET_STACK_DRIVER_DEV "net/stack"
#else
#define NET_STACK_DRIVER_DEV "net_stack/stack"
#endif
#define NET_STACK_DRIVER_PATH "/dev/" ## NET_STACK_DRIVER_DEV
enum {