diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2008-06-23 13:35:37 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-07-04 14:46:51 +0200 |
commit | 83042955210aaee70b881240fe4f5e8409235308 (patch) | |
tree | 2e8a6ba7f7662376a11ca922e022ef9e3aa003fe /drivers/net/ipg.h | |
parent | ipg: always compile in jumbo frame support (diff) | |
download | linux-83042955210aaee70b881240fe4f5e8409235308.tar.xz linux-83042955210aaee70b881240fe4f5e8409235308.zip |
ipg: remove jumbo frame #ifdef from mtu
Remove JUMBO_FRAME #ifdef from dev->mtu setting in ipg_nic_open() so that we
can make IPG_TXFRAG_SIZE configurable.
Tested-by: Andrew Savchenko <Bircoph@list.ru>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/ipg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ipg.h b/drivers/net/ipg.h index 446f3663ae6a..9c520ce264a6 100644 --- a/drivers/net/ipg.h +++ b/drivers/net/ipg.h @@ -598,6 +598,8 @@ enum ipg_regs { #ifdef JUMBO_FRAME /* IPG_TXFRAG_SIZE must <= 0x2b00, or TX will crash */ #define IPG_TXFRAG_SIZE JUMBO_FRAME_SIZE +#else +#define IPG_TXFRAG_SIZE 0 /* use default MTU */ #endif /* Size of allocated received buffers. Nominally 0x0600. |