aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/sxg/sxghw.h
diff options
context:
space:
mode:
authorMithlesh Thukral <mithlesh@linsyssoft.com>2009-02-06 19:30:40 +0530
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:53:12 -0700
commit7c66b14b6bfd4bf1b803be5ba3cc2e2e31d784de (patch)
tree3b18a508ebf9d40d5429dbed7cdec580f0e41866 /drivers/staging/sxg/sxghw.h
parentStaging: sxg: Cleanup the SXG driver of unused space and functions (diff)
downloadlinux-dev-7c66b14b6bfd4bf1b803be5ba3cc2e2e31d784de.tar.xz
linux-dev-7c66b14b6bfd4bf1b803be5ba3cc2e2e31d784de.zip
Staging: sxg: Add Jumbo frames support to Sahara SXG Driver
This patch adds Jumbo frame support to Sahara's SXG Driver. Signed-off-by: LinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/sxg/sxghw.h')
-rw-r--r--drivers/staging/sxg/sxghw.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/sxg/sxghw.h b/drivers/staging/sxg/sxghw.h
index efcbd453e160..cf26d7128ac2 100644
--- a/drivers/staging/sxg/sxghw.h
+++ b/drivers/staging/sxg/sxghw.h
@@ -271,10 +271,10 @@ struct sxg_hw_regs {
/*
* Macro to determine RCV_CONFIG_BUFLEN based on maximum frame size.
* We add 18 bytes for Sahara receive status and padding, plus 4 bytes for CRC,
- * and round up to nearest 16 byte boundary
+ * and round up to nearest 32 byte boundary
*/
#define RCV_CONFIG_BUFSIZE(_MaxFrame) \
- ((((_MaxFrame) + 22) + 15) & RCV_CONFIG_BUFLEN_MASK)
+ ((((_MaxFrame) + 22) + 31) & RCV_CONFIG_BUFLEN_MASK)
/* XmtConfig register reset */
#define XMT_CONFIG_RESET 0x80000000