summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igb/e1000_defines.h
diff options
context:
space:
mode:
authorTodd Fujinaka <todd.fujinaka@intel.com>2014-05-29 05:47:26 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2014-06-03 23:57:53 -0700
commit27dff8b2f680ce966b5d959be9d69dd0edd92e3b (patch)
treec34e475efaba328c6a371bd04ed65109640ae56f /drivers/net/ethernet/intel/igb/e1000_defines.h
parent3cfcf036e1d0641ace932c2bd01211d8254a9291 (diff)
downloadblackbird-obmc-linux-27dff8b2f680ce966b5d959be9d69dd0edd92e3b.tar.gz
blackbird-obmc-linux-27dff8b2f680ce966b5d959be9d69dd0edd92e3b.zip
igb: add defaults for i210 TX/RX PBSIZE
Set the defaults on probe for the packet buffer size registers for the i210. Signed-off-by: Todd Fujinaka <todd.fujinaka@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/e1000_defines.h')
-rw-r--r--drivers/net/ethernet/intel/igb/e1000_defines.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/igb/e1000_defines.h b/drivers/net/ethernet/intel/igb/e1000_defines.h
index f85be6695e44..11ffdbae9f92 100644
--- a/drivers/net/ethernet/intel/igb/e1000_defines.h
+++ b/drivers/net/ethernet/intel/igb/e1000_defines.h
@@ -329,6 +329,9 @@
/* Timestamp in Rx buffer */
#define E1000_RXPBS_CFG_TS_EN 0x80000000
+#define I210_RXPBSIZE_DEFAULT 0x000000A2 /* RXPBSIZE default */
+#define I210_TXPBSIZE_DEFAULT 0x04000014 /* TXPBSIZE default */
+
/* SerDes Control */
#define E1000_SCTL_DISABLE_SERDES_LOOPBACK 0x0400
OpenPOWER on IntegriCloud