summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/zhengda.mdwn6
1 files changed, 3 insertions, 3 deletions
diff --git a/user/zhengda.mdwn b/user/zhengda.mdwn
index a3dfbbbb..b4b514e9 100644
--- a/user/zhengda.mdwn
+++ b/user/zhengda.mdwn
@@ -26,12 +26,12 @@ To build a Linux driver with DDE Linux, we need libddekit, libdde_linux26 and li
When all parts are ready, we can start to build DDE drivers now. In case someone hasn't installed libpciaccess, please install it first. We first build libddekit, then libdde_linux26, then libmachdev and at last the DDE driver.
-To run a DDE NIC driver:
-
-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 in gnumach. DDE requires the pfinet with modification during my GSoC project in 2008 and that pfinet requires libpcap-dev (this pfinet is also in the dde branch).
+To run a DDE NIC driver: 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 in gnumach. DDE requires the pfinet with modification during my GSoC project in 2008 and that pfinet requires libpcap-dev (this pfinet is also in the dde branch).
settrans -acfg pcnet32 hurd/dde_pcnet32/dde_pcnet32
+
settrans -acfg /dev/eth0 hurd/devnode/devnode eth0 -M pcnet32
+
settrans -acfg /servers/socket/2 hurd/pfinet/pfinet -i /dev/eth0 -a 172.16.172.10 -g 172.16.172.2 -m 255.255.255.0
---