diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2004-08-05 21:17:21 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2004-08-05 21:17:21 +0000 |
commit | 3e297267a1db1cd1a3b0538d8a4b260095ef430f (patch) | |
tree | 62509c15215375f171f12f48fabe5c3050d49d12 /sys/dev/pci | |
parent | 63b8bc53049bffe0d707fba67efcc30e2f628935 (diff) |
remove some separate per driver constants and use
ETHER_MAX_LEN_JUMBO/ETHERMTU_JUMBO where appropriate.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_re.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_re.c b/sys/dev/pci/if_re.c index e37dfc70846..82a307d290c 100644 --- a/sys/dev/pci/if_re.c +++ b/sys/dev/pci/if_re.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_re.c,v 1.7 2004/07/20 05:40:42 pvalchev Exp $ */ +/* $OpenBSD: if_re.c,v 1.8 2004/08/05 21:17:20 brad Exp $ */ /* * Copyright (c) 1997, 1998-2003 * Bill Paul <wpaul@windriver.com>. All rights reserved. @@ -1989,7 +1989,7 @@ re_ioctl(ifp, command, data) } break; case SIOCSIFMTU: - if (ifr->ifr_mtu > RL_JUMBO_MTU) + if (ifr->ifr_mtu > ETHERMTU_JUMBO) error = EINVAL; ifp->if_mtu = ifr->ifr_mtu; break; |