diff options
author | David S. Miller <davem@davemloft.net> | 2014-02-26 21:38:18 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-26 21:38:18 +0100 |
commit | 941ee45c4cd0ef492f5981c73434fae523e711c8 (patch) | |
tree | fea8185e34cc0c359b70a23d174d8725cdfea066 /drivers/video | |
parent | Merge branch 'bnx2x' (diff) | |
parent | net/mlx4_en: Fix bad use of dev_id (diff) | |
download | linux-941ee45c4cd0ef492f5981c73434fae523e711c8.tar.xz linux-941ee45c4cd0ef492f5981c73434fae523e711c8.zip |
Merge branch 'mlx4'
Amir Vadai says:
====================
net, net/mlx4: Add sysfs file for port number
Modern distro's are using biosdevname to rename interface to a name based on
slot/port number.
biosdevname can't get the port number of devices that have multiple ports that
share the same PCI function.
This patch adds a sysfs file under: /sys/devices/.../net/<interface>/dev_port,
that contains the port number (0 based) - to be used by biosdevname.
Also, dev_id was wrongly used in mlx4_en driver - added a patch that fix it.
This patch was tested and applied over commit 51adfcc "net: bcmgenet: remove
unused bh_lock member"
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions