diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-07-03 02:25:14 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-07-03 02:25:14 +0000 |
commit | 6c6b7b89fc5f9398db54c120c73459d68c1c794d (patch) | |
tree | 64ef8b485ad28034abbdc96e62b9711789026707 | |
parent | ea204258946613dee3e0704c60d8efc604b71439 (diff) |
ETHERMTU_JUMBO -> ETHER_MAX_LEN_JUMBO
-rw-r--r-- | sys/dev/pci/if_ti.c | 5 |
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. */ |