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_tireg.h | |
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_tireg.h')
-rw-r--r-- | sys/dev/pci/if_tireg.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/pci/if_tireg.h b/sys/dev/pci/if_tireg.h index 9c9813a53b8..f0b1a2ad489 100644 --- a/sys/dev/pci/if_tireg.h +++ b/sys/dev/pci/if_tireg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_tireg.h,v 1.14 2004/05/19 11:37:00 brad Exp $ */ +/* $OpenBSD: if_tireg.h,v 1.15 2004/08/05 19:57:17 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -768,9 +768,6 @@ struct ti_tx_desc { * boundary. */ -#define TI_FRAMELEN 1518 -#define TI_JUMBO_FRAMELEN 9018 -#define TI_JUMBO_MTU (TI_JUMBO_FRAMELEN-ETHER_HDR_LEN-ETHER_CRC_LEN) #define TI_PAGE_SIZE PAGE_SIZE #define TI_MIN_FRAMELEN 60 @@ -981,7 +978,7 @@ struct ti_event_desc { #define TI_MSLOTS 256 #define TI_JSLOTS 384 -#define TI_JRAWLEN (TI_JUMBO_FRAMELEN + ETHER_ALIGN) +#define TI_JRAWLEN (ETHER_MAX_LEN_JUMBO + ETHER_ALIGN) #define TI_JLEN (TI_JRAWLEN + (sizeof(u_int64_t) - \ (TI_JRAWLEN % sizeof(u_int64_t)))) #define TI_JPAGESZ PAGE_SIZE |