forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 95099d4622f8cb224d94e314c7a8e0df60b13f87
kernel/drivers/net/ethernet/chelsio/cxgb/common.h
....@@ -55,7 +55,6 @@
5555
5656 #define DRV_DESCRIPTION "Chelsio 10Gb Ethernet Driver"
5757 #define DRV_NAME "cxgb"
58
-#define DRV_VERSION "2.2"
5958
6059 #define CH_DEVICE(devid, ssid, idx) \
6160 { PCI_VENDOR_ID_CHELSIO, devid, PCI_ANY_ID, ssid, 0, 0, idx }
....@@ -239,7 +238,6 @@
239238 int msg_enable;
240239 u32 mmio_len;
241240
242
- struct work_struct ext_intr_handler_task;
243241 struct adapter_params params;
244242
245243 /* Terminator modules. */
....@@ -258,6 +256,7 @@
258256
259257 /* guards async operations */
260258 spinlock_t async_lock ____cacheline_aligned;
259
+ u32 pending_thread_intr;
261260 u32 slow_intr_mask;
262261 int t1powersave;
263262 };
....@@ -335,8 +334,7 @@
335334 void t1_interrupts_disable(adapter_t *adapter);
336335 void t1_interrupts_clear(adapter_t *adapter);
337336 int t1_elmer0_ext_intr_handler(adapter_t *adapter);
338
-void t1_elmer0_ext_intr(adapter_t *adapter);
339
-int t1_slow_intr_handler(adapter_t *adapter);
337
+irqreturn_t t1_slow_intr_handler(adapter_t *adapter);
340338
341339 int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
342340 const struct board_info *t1_get_board_info(unsigned int board_id);
....@@ -348,7 +346,6 @@
348346 int t1_init_hw_modules(adapter_t *adapter);
349347 int t1_init_sw_modules(adapter_t *adapter, const struct board_info *bi);
350348 void t1_free_sw_modules(adapter_t *adapter);
351
-void t1_fatal_err(adapter_t *adapter);
352349 void t1_link_changed(adapter_t *adapter, int port_id);
353350 void t1_link_negotiated(adapter_t *adapter, int port_id, int link_stat,
354351 int speed, int duplex, int pause);