summaryrefslogtreecommitdiff
path: root/sys/dev/isa/if_ef_isapnp.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2004-09-28 01:02:15 +0000
committerBrad Smith <brad@cvs.openbsd.org>2004-09-28 01:02:15 +0000
commitdf92dc15996d4d7a43e2b1928bb4bf802dd7015e (patch)
tree0ad3471d277c0ce1c60250a20b0ba97360305a08 /sys/dev/isa/if_ef_isapnp.c
parentb97b7651844cafe6a0e7982f6582c3b96377248e (diff)
Use ETHER_MAX_DIX_LEN
Diffstat (limited to 'sys/dev/isa/if_ef_isapnp.c')
-rw-r--r--sys/dev/isa/if_ef_isapnp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/if_ef_isapnp.c b/sys/dev/isa/if_ef_isapnp.c
index 072f964e71c..be226d2273b 100644
--- a/sys/dev/isa/if_ef_isapnp.c
+++ b/sys/dev/isa/if_ef_isapnp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ef_isapnp.c,v 1.16 2004/05/12 06:35:11 tedu Exp $ */
+/* $OpenBSD: if_ef_isapnp.c,v 1.17 2004/09/28 01:02:14 brad Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -429,7 +429,7 @@ efinit(sc)
efcompletecmd(sc, EP_COMMAND, TX_RESET);
bus_space_write_2(iot, ioh, EP_COMMAND,
- SET_TX_AVAIL_THRESH | (1536 >> 2));
+ SET_TX_AVAIL_THRESH | (ETHER_MAX_DIX_LEN >> 2));
efsetmulti(sc);