OSDN Git Service

net: bgmac: Use interface name to request interrupt
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 27 Mar 2018 23:20:01 +0000 (16:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Mar 2018 16:06:10 +0000 (12:06 -0400)
commitd72e7c21b54bd7a6caa08a8eb62257d4e4196ab3
treeacfb397205986f766547168518fe6449e64c3cf2
parent36fc2d727ee711f901c120046d63b8d7e341a744
net: bgmac: Use interface name to request interrupt

When the system contains several BGMAC adapters, it is nice to be able
to tell which one is which by looking at /proc/interrupts. Use the
network device name as a name to request_irq() with.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c