diff options
author | Lukas Wunner <[email protected]> | 2019-03-20 15:02:00 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-03-20 12:43:52 -0700 |
commit | d268f31552794abf5b6aa5af31021643411f25f5 (patch) | |
tree | bade3daf6fbcb52ea5f8b85629121db3442ccd0e /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 761cfa979a0c177d6c2d93ef5585cd79ae49a7d5 (diff) |
net: ks8851: Delay requesting IRQ until opened
The ks8851 driver currently requests the IRQ before registering the
net_device. Because the net_device name is used as IRQ name and is
still "eth%d" when the IRQ is requested, it's impossibe to tell IRQs
apart if multiple ks8851 chips are present. Most other drivers delay
requesting the IRQ until the net_device is opened. Do the same.
The driver doesn't enable interrupts on the chip before opening the
net_device and disables them when closing it, so there doesn't seem to
be a need to request the IRQ already on probe.
Signed-off-by: Lukas Wunner <[email protected]>
Cc: Frank Pavlic <[email protected]>
Cc: Ben Dooks <[email protected]>
Cc: Tristram Ha <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions