summaryrefslogtreecommitdiff
path: root/pfinet/ethernet.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-02-22 22:54:14 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-02-22 22:54:14 +0000
commit5c4ebe02f4690fc2679bd85d376870b7c3e05704 (patch)
treeee61423a05a39706c0544ce31b4a8351050476a8 /pfinet/ethernet.c
parentd583c2bf9159456ec145a99eacf29d6df4331f2b (diff)
Formerly ethernet.c.~17~
Diffstat (limited to 'pfinet/ethernet.c')
-rw-r--r--pfinet/ethernet.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pfinet/ethernet.c b/pfinet/ethernet.c
index 60f06546..f6393547 100644
--- a/pfinet/ethernet.c
+++ b/pfinet/ethernet.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -80,6 +80,8 @@ ethernet_open (struct device *dev)
mach_port_insert_right (mach_task_self (), readptname, readptname,
MACH_MSG_TYPE_MAKE_SEND);
+ mach_port_set_qlimit (mach_task_self (), readptname, MACH_PORT_QLIMIT_MAX);
+
device_open (master_device, D_WRITE | D_READ, ethername, &ether_port);
device_set_filter (ether_port, ports_get_right (readpt),