mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[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 <[email protected]> Signed-off-by: Auke Kok <[email protected]> Signed-off-by: Arjan van de Ven <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
This commit is contained in:
parent
83cd827977
commit
c3813ae661
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue