pch_gbe: Switch to new PCI IRQ allocation API
Subsystems (2)
PATCH v2 1/1 pch_gbe: Switch to new PCI IRQ allocation API
This removes custom flag handling.
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h | 3 +- .../net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c | 42 +++++++++------------- 2 files changed, 17 insertions(+), 28 deletions(-)
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h +1 -2
@@ -613,7 +613,6 @@ struct pch_gbe_privdata {* @rx_ring: Pointer of Rx descriptor ring structure * @rx_buffer_len: Receive buffer length * @tx_queue_len: Transmit queue length -* @have_msi: PCI MSI mode flag * @pch_gbe_privdata: PCI Device ID driver_data */
@@ -623,6 +622,7 @@ struct pch_gbe_adapter {atomic_t irq_sem;struct net_device *netdev;struct pci_dev *pdev; +int irq;struct net_device *polling_netdev;struct napi_struct napi;struct pch_gbe_hw hw;
@@ -637,7 +637,6 @@ struct pch_gbe_adapter {struct pch_gbe_rx_ring *rx_ring;unsigned long rx_buffer_len;unsigned long tx_queue_len; -bool have_msi;bool rx_stop_flag;int hwts_tx_en;int hwts_rx_en;
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c +16 -26
73 lines not on this page · raw message
Signature · 1 line
2.14.2
From: Andy Shevchenko <[email protected]>
Date: Sat, 14 Oct 2017 17:04:40 +0300
Quoted 3 lines
This removes custom flag handling.
Signed-off-by Andy Shevchenko <[email protected]>
Applied to net-next, thanks.