kernel-fxtec-pro1x/drivers/net/e1000
Jesse Brandeburg e508be174a e1000: fix Tx hangs by disabling 64-bit DMA
Several users report issues with 32-bit adapters when plugged
into PCI slots in machines with >= 4GB ram.  In particular AMD
systems with HyperTransport to PCI bridges seem to trigger the
issue, but it isn't limited to only them.

This issue is not easily reproducible here, yet still continues
to occur in the field.  For e1000 on PCI devices, just disable DMA
addresses over the 4GB boundary when in PCI (not PCI-X) mode, to
prevent the issue from continuing to pop up.  The performance
impact for this is negligible.

The code was refactored to move the init of the hw struct to its
own function. This allows the init to be called very early in
probe, which then allows using hw-> members for this fix.

A slight refactor to the DMA mask code was done for minor
correctness based on the instructions in DMA-API-HOWTO.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-09-08 14:21:53 -07:00
..
e1000.h e1000: use netif_<level> instead of netdev_<level> 2010-07-26 23:37:21 -07:00
e1000_ethtool.c e1000: use netif_<level> instead of netdev_<level> 2010-07-26 23:37:21 -07:00
e1000_hw.c e1000: Use netdev_<level>, pr_<level> and dev_<level> 2010-04-27 17:05:03 -07:00
e1000_hw.h e1000: Use netdev_<level>, pr_<level> and dev_<level> 2010-04-27 17:05:03 -07:00
e1000_main.c e1000: fix Tx hangs by disabling 64-bit DMA 2010-09-08 14:21:53 -07:00
e1000_osdep.h e1000: Use netdev_<level>, pr_<level> and dev_<level> 2010-04-27 17:05:03 -07:00
e1000_param.c e1000: cleanup unused parameters 2010-05-14 03:06:19 -07:00
Makefile