summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2019-03-20 17:02:00 +0300
committerDavid S. Miller <davem@davemloft.net>2019-03-20 22:43:52 +0300
commitd268f31552794abf5b6aa5af31021643411f25f5 (patch)
treebade3daf6fbcb52ea5f8b85629121db3442ccd0e /tools/perf/scripts/python/export-to-postgresql.py
parent761cfa979a0c177d6c2d93ef5585cd79ae49a7d5 (diff)
downloadlinux-d268f31552794abf5b6aa5af31021643411f25f5.tar.xz
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 <lukas@wunner.de> Cc: Frank Pavlic <f.pavlic@kunbus.de> Cc: Ben Dooks <ben.dooks@codethink.co.uk> Cc: Tristram Ha <Tristram.Ha@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions