diff options
author | Heiner Kallweit | 2018-02-24 16:53:23 +0100 |
---|---|---|
committer | David S. Miller | 2018-02-27 11:47:41 -0500 |
commit | 6c6aa15fdea52aa4a19cc0b5478884af591c9351 (patch) | |
tree | 1d45e132b9855d208c88d42e08490c406d5d68b8 /lib/oid_registry.c | |
parent | a52b839752aab7063c38c1cb7b8e63efc54e3c30 (diff) |
r8169: improve interrupt handling
This patch improves few aspects of interrupt handling:
- update to current interrupt allocation API
(use pci_alloc_irq_vectors() instead of deprecated pci_enable_msi())
- this implicitly will allocate a MSI-X interrupt if available
- get rid of flag RTL_FEATURE_MSI
- remove some dead code, intentionally disabling (unreliable) MSI
being partially available on old PCI chips.
The patch works fine on a RTL8168evl (chip version 34) and on a
RTL8169SB (chip version 04).
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/oid_registry.c')
0 files changed, 0 insertions, 0 deletions