diff options
author | Brice Goglin <brice@myri.com> | 2007-03-07 14:01:53 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-03-09 11:51:32 -0500 |
commit | 4c882dd808b907652c9a8fe4f7d345cb4dee6a92 (patch) | |
tree | 36e3776e90b0e1a1ac31cae8f095c188c9102cfe /drivers/net/myri10ge/myri10ge.c | |
parent | 34fdccea93e858aaece3f127628365b546f96857 (diff) |
myri10ge: prevent 4k rdma on SGI TIOCE chipset
Do not use 4k rdma request on SGI TIOCE chipset since this
bridge does not support it.
Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/myri10ge/myri10ge.c')
-rw-r--r-- | drivers/net/myri10ge/myri10ge.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c index eab9b5acd0cf..68fd38b291fd 100644 --- a/drivers/net/myri10ge/myri10ge.c +++ b/drivers/net/myri10ge/myri10ge.c | |||
@@ -2524,6 +2524,12 @@ static void myri10ge_select_firmware(struct myri10ge_priv *mgp) | |||
2524 | bridge->vendor, bridge->device); | 2524 | bridge->vendor, bridge->device); |
2525 | mgp->tx.boundary = 4096; | 2525 | mgp->tx.boundary = 4096; |
2526 | mgp->fw_name = myri10ge_fw_aligned; | 2526 | mgp->fw_name = myri10ge_fw_aligned; |
2527 | } else if (bridge && | ||
2528 | bridge->vendor == PCI_VENDOR_ID_SGI && | ||
2529 | bridge->device == 0x4002 /* TIOCE pcie-port */ ) { | ||
2530 | /* this pcie bridge does not support 4K rdma request */ | ||
2531 | mgp->tx.boundary = 2048; | ||
2532 | mgp->fw_name = myri10ge_fw_aligned; | ||
2527 | } | 2533 | } |
2528 | } else { | 2534 | } else { |
2529 | if (myri10ge_force_firmware == 1) { | 2535 | if (myri10ge_force_firmware == 1) { |