summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhengda <zhengda@web>2010-06-09 03:29:32 +0000
committerGNU Hurd web pages engine <web-hurd@gnu.org>2010-06-09 03:29:32 +0000
commit382f2d69ab0ffe8b88e435be3f6689d0383dcea6 (patch)
tree751af2a2012465187e7392b5e2c679a419927152
parentdcedf676bfffe06e828b9e3a3c90ae759102c864 (diff)
-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
---