r8169: provide some firmware information via ethtool.
authorFrancois Romieu <romieu@fr.zoreil.com>
Tue, 26 Apr 2011 16:58:59 +0000 (18:58 +0200)
committerFrancois romieu <romieu@fr.zoreil.com>
Mon, 9 May 2011 19:03:08 +0000 (21:03 +0200)
commit31bd204f97e3796c5cfcfc582a93a10e45b99946
treef405e9e7b0b8c9b34fb6b6ad6e43d49ac586b47e
parent56de414c0c7333f1e1adedc23057e131ce84233e
r8169: provide some firmware information via ethtool.

There is no real firmware version yet but the manpage of ethtool
is rather terse about the driver information.

Former output:
$ ethtool -i eth1
driver: r8169
version: 2.3LK-NAPI
firmware-version:
bus-info: 0000:01:00.0
$ ethtool -i eth0
driver: r8169
version: 2.3LK-NAPI
firmware-version:
bus-info: 0000:03:00.0

Current output:
$ ethtool -i eth1
driver: r8169
version: 2.3LK-NAPI
firmware-version: N/A
bus-info: 0000:01:00.0

$ ethtool -i eth0
driver: r8169
version: 2.3LK-NAPI
firmware-version: rtl_nic/rtl8168d-1.fw
bus-info: 0000:03:00.0

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Fixed-by Ciprian Docan <docan@eden.rutgers.edu>
Cc: Realtek linux nic maintainers <nic_swsd@realtek.com>
Cc: Fejes József <fejes@joco.name>
Cc: Borislav Petkov <borislav.petkov@amd.com>
drivers/net/r8169.c