summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ti.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-07-03 02:25:14 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-07-03 02:25:14 +0000
commit6c6b7b89fc5f9398db54c120c73459d68c1c794d (patch)
tree64ef8b485ad28034abbdc96e62b9711789026707 /sys/dev/pci/if_ti.c
parentea204258946613dee3e0704c60d8efc604b71439 (diff)
ETHERMTU_JUMBO -> ETHER_MAX_LEN_JUMBO
Diffstat (limited to 'sys/dev/pci/if_ti.c')
-rw-r--r--sys/dev/pci/if_ti.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ti.c b/sys/dev/pci/if_ti.c
index e27adf2ea34..0ce5dd69389 100644
--- a/sys/dev/pci/if_ti.c
+++ b/sys/dev/pci/if_ti.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ti.c,v 1.63 2005/07/03 02:17:51 brad Exp $ */
+/* $OpenBSD: if_ti.c,v 1.64 2005/07/03 02:25:13 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -2367,7 +2367,8 @@ void ti_init2(sc)
/* Specify MTU and interface index. */
CSR_WRITE_4(sc, TI_GCR_IFINDEX, sc->sc_dv.dv_unit);
- CSR_WRITE_4(sc, TI_GCR_IFMTU, ETHERMTU_JUMBO + ETHER_VLAN_ENCAP_LEN);
+ CSR_WRITE_4(sc, TI_GCR_IFMTU,
+ ETHER_MAX_LEN_JUMBO + ETHER_VLAN_ENCAP_LEN);
TI_DO_CMD(TI_CMD_UPDATE_GENCOM, 0, 0);
/* Load our MAC address. */