mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
LinuxKPI: some additions for mt76
Add changes required for later mt76 drivers. Sponsored by: The FreeBSD Foundation (cherry picked from commit 4b972f77a16f9a217c211c8c4f28a41eca98554e)
This commit is contained in:
parent
f00e737be0
commit
5ea0b01301
2 changed files with 3 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ struct mtk_wed_device {
|
|||
#define mtk_wed_device_ppe_check(_dev, _skb, _reason, _entry) \
|
||||
do {} while (0)
|
||||
#define mtk_wed_device_stop(_dev) do { } while(0)
|
||||
#define mtk_wed_device_start_hw_rro(_dev, _mask, _b) do { } while(0)
|
||||
|
||||
static inline bool
|
||||
mtk_wed_device_active(struct mtk_wed_device *dev __unused)
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
#include <linux/kernel.h> /* pr_debug */
|
||||
#include <linux/types.h>
|
||||
#include <linux/dma-mapping.h>
|
||||
#include <linux/netdevice.h>
|
||||
|
||||
struct device;
|
||||
|
||||
|
|
@ -41,6 +42,7 @@ struct page_pool_params {
|
|||
uint32_t offset;
|
||||
int nid; /* NUMA */
|
||||
enum dma_data_direction dma_dir;
|
||||
struct napi_struct *napi;
|
||||
};
|
||||
|
||||
struct page_pool {
|
||||
|
|
|
|||
Loading…
Reference in a new issue