aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2006-12-15 04:37:32 -0500
committerJeff Garzik <jeff@garzik.org>2006-12-26 15:51:30 -0500
commitc3813ae6615107cc93c79200f477ffd2a870c8ab (patch)
tree8c6c83364995308ad102a44a1ef7e6e3ceb5f93c /drivers
parent83cd827977d8d20ac8c4fe56c88b53a70ac54af3 (diff)
[PATCH] e1000: fix ethtool reported bus type for older adapters
For older adapters we know that they are of the PCI bus type, so we can just set this. Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/e1000/e1000_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000/e1000_hw.c b/drivers/net/e1000/e1000_hw.c
index ea7b371e9119..5a6a61ecb27d 100644
--- a/drivers/net/e1000/e1000_hw.c
+++ b/drivers/net/e1000/e1000_hw.c
@@ -6591,7 +6591,7 @@ e1000_get_bus_info(struct e1000_hw *hw)
6591 switch (hw->mac_type) { 6591 switch (hw->mac_type) {
6592 case e1000_82542_rev2_0: 6592 case e1000_82542_rev2_0:
6593 case e1000_82542_rev2_1: 6593 case e1000_82542_rev2_1:
6594 hw->bus_type = e1000_bus_type_unknown; 6594 hw->bus_type = e1000_bus_type_pci;
6595 hw->bus_speed = e1000_bus_speed_unknown; 6595 hw->bus_speed = e1000_bus_speed_unknown;
6596 hw->bus_width = e1000_bus_width_unknown; 6596 hw->bus_width = e1000_bus_width_unknown;
6597 break; 6597 break;