diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-07-18 01:24:47 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-07-18 01:24:47 +0000 |
commit | 1a9a413649f94a88968c427fe3510b073d968d5c (patch) | |
tree | 94e40b3d650a215c6f16a15712be32bd98a729a2 /sys/dev/pci | |
parent | c08750bdbe867ac0f1eee93bca1421ec2af1151d (diff) |
increase the number of Jumbo slots a little bit for sparc64.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_bgereg.h | 5 | ||||
-rw-r--r-- | sys/dev/pci/if_tireg.h | 7 |
2 files changed, 5 insertions, 7 deletions
diff --git a/sys/dev/pci/if_bgereg.h b/sys/dev/pci/if_bgereg.h index 97bacd775a9..fd13e032459 100644 --- a/sys/dev/pci/if_bgereg.h +++ b/sys/dev/pci/if_bgereg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bgereg.h,v 1.50 2006/07/01 06:26:51 brad Exp $ */ +/* $OpenBSD: if_bgereg.h,v 1.51 2006/07/18 01:24:46 brad Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -2198,7 +2198,6 @@ struct bge_gib { #define BGE_JUMBO_FRAMELEN 9018 #define BGE_JUMBO_MTU (BGE_JUMBO_FRAMELEN - ETHER_HDR_LEN - ETHER_CRC_LEN) #define BGE_PAGE_SIZE PAGE_SIZE -#define BGE_MIN_FRAMELEN 60 /* * Other utility macros. @@ -2245,7 +2244,7 @@ struct bge_gib { #define BGE_SSLOTS 256 #define BGE_MSLOTS 256 #ifdef __sparc64__ -#define BGE_JSLOTS 54 +#define BGE_JSLOTS 57 #else #define BGE_JSLOTS 384 #endif diff --git a/sys/dev/pci/if_tireg.h b/sys/dev/pci/if_tireg.h index 5dc18a70ba5..78198e01cf9 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.23 2006/05/28 00:20:21 brad Exp $ */ +/* $OpenBSD: if_tireg.h,v 1.24 2006/07/18 01:24:46 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -783,9 +783,8 @@ struct ti_tx_desc { */ #define TI_JUMBO_FRAMELEN 9018 -#define TI_JUMBO_MTU (TI_JUMBO_FRAMELEN-ETHER_HDR_LEN-ETHER_CRC_LEN) +#define TI_JUMBO_MTU (TI_JUMBO_FRAMELEN - ETHER_HDR_LEN - ETHER_CRC_LEN) #define TI_PAGE_SIZE PAGE_SIZE -#define TI_MIN_FRAMELEN 60 /* * Buffer descriptor error flags. @@ -993,7 +992,7 @@ struct ti_event_desc { #define TI_SSLOTS 256 #define TI_MSLOTS 256 #ifdef __sparc64__ -#define TI_JSLOTS 54 +#define TI_JSLOTS 57 #else #define TI_JSLOTS 384 #endif |