diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2004-08-05 19:57:18 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2004-08-05 19:57:18 +0000 |
commit | 18a8c9a37447fa5e61397f1fa9101ccf15339990 (patch) | |
tree | 88428f23c045c36c5eafd92874a1f425f24ce715 /sys/dev/pci/if_nge.c | |
parent | 1ff8fec00c6a452cbcbe342eb137342dfdb33f5d (diff) |
remove some separate per driver constants and use
ETHER_MAX_LEN_JUMBO/ETHERMTU_JUMBO where appropriate.
ok mcbride@ henning@ mickey@
Diffstat (limited to 'sys/dev/pci/if_nge.c')
-rw-r--r-- | sys/dev/pci/if_nge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_nge.c b/sys/dev/pci/if_nge.c index abbc79ec123..8a4c19afbe8 100644 --- a/sys/dev/pci/if_nge.c +++ b/sys/dev/pci/if_nge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_nge.c,v 1.28 2004/05/30 01:51:51 mcbride Exp $ */ +/* $OpenBSD: if_nge.c,v 1.29 2004/08/05 19:57:17 brad Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2000, 2001 @@ -2118,7 +2118,7 @@ nge_ioctl(ifp, command, data) switch(command) { case SIOCSIFMTU: - if (ifr->ifr_mtu > NGE_JUMBO_MTU || ifr->ifr_mtu < ETHERMIN) + if (ifr->ifr_mtu > ETHERMTU_JUMBO || ifr->ifr_mtu < ETHERMIN) error = EINVAL; else { ifp->if_mtu = ifr->ifr_mtu; |