From d0ca5381d97666601048c954497103f599eee6f8 Mon Sep 17 00:00:00 2001 From: zhengda Date: Wed, 19 May 2010 14:19:58 +0000 Subject: --- user/zhengda.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/zhengda.mdwn b/user/zhengda.mdwn index 8842f765..39af5699 100644 --- a/user/zhengda.mdwn +++ b/user/zhengda.mdwn @@ -23,7 +23,7 @@ There is a minor problem when we compile a Linux driver. Linux drivers use jiffi It is better to disable the corresponding kernel drivers in GNU Mach. For example, if we use the pcnet card, we'd better disable lance and pcnet32 drivers while building GNU Mach. DDE requires the pfinet with the modification during my GSoC project in 2008 and that pfinet requires libpcap-dev. To build DDE, we have to first install libpciaccess. libdde_linux26 has to be compiled manually (building dde_pcnet32 doesn't compile libdde_linux26 automatically). -To build a Linux driver with DDE Linux, the easiest way is to use dde_pcnet32 (also in the dde branch) as a template. The directory of dde_pcnet32 has Makefile, Makeconf.local, default.ld, pcnet32.c and main.c. If we need to build a new driver file, we only need to replace pcnet32.c with the new file and change Makefile accordingly. +To build a Linux driver with DDE Linux, the easiest way is to use dde_pcnet32 (also in the dde branch) as a template. The directory of dde_pcnet32 has Makefile, Makeconf.local, default.ld, pcnet32.c and main.c. If we need to build a new driver file, we only need to replace pcnet32.c with the new file and change Makefile accordingly. You also need to change DDEKITLIBDIR, DDEKITINCDIR, DDE26LIBDIR and OBJ_BASE in Makeconf.local to indicate the path to ddekit and dde_linux26. To run a DDE NIC driver: -- cgit v1.2.3