Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3813ae6 authored by Jeff Kirsher's avatar Jeff Kirsher Committed by Jeff Garzik
Browse files

[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: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarAuke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: default avatarArjan van de Ven <arjan@linux.intel.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 83cd8279
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6591,7 +6591,7 @@ e1000_get_bus_info(struct e1000_hw *hw)
    switch (hw->mac_type) {
    case e1000_82542_rev2_0:
    case e1000_82542_rev2_1:
        hw->bus_type = e1000_bus_type_unknown;
        hw->bus_type = e1000_bus_type_pci;
        hw->bus_speed = e1000_bus_speed_unknown;
        hw->bus_width = e1000_bus_width_unknown;
        break;