From af88527ffe750f4fc35af70bb81fbfd68e129ace Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sun, 28 May 2006 00:20:22 +0000 Subject: - remove ETHER_MAX_LEN_JUMBO and ETHERMTU_JUMBO. - use if_hardmtu for MTU ioctl handlers. ok reyk@ --- sys/dev/pci/if_vicreg.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sys/dev/pci/if_vicreg.h') diff --git a/sys/dev/pci/if_vicreg.h b/sys/dev/pci/if_vicreg.h index 809aea43ac1..4cb676899cc 100644 --- a/sys/dev/pci/if_vicreg.h +++ b/sys/dev/pci/if_vicreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vicreg.h,v 1.1 2006/02/25 23:49:04 reyk Exp $ */ +/* $OpenBSD: if_vicreg.h,v 1.2 2006/05/28 00:20:21 brad Exp $ */ /* * Copyright (c) 2006 Reyk Floeter @@ -192,4 +192,8 @@ struct vic_data { #define VIC_OWNER_NIC 2 #define VIC_OWNER_NIC_PEND 3 + +#define VIC_JUMBO_FRAMELEN 9018 +#define VIC_JUMBO_MTU (VIC_JUMBO_FRAMELEN - ETHER_HDR_LEN - ETHER_CRC_LEN) + #endif /* _DEV_IC_VICREG_H */ -- cgit v1.2.3