mirror of
https://github.com/torvalds/linux.git
synced 2026-04-29 12:02:35 -04:00
Add doc build infrastructure for txgbe driver. Initialize PCI memory space for WangXun 10 Gigabit Ethernet devices. Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com> Link: https://lore.kernel.org/r/20220628095530.889344-1-jiawenwu@trustnetic.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
25 lines
593 B
C
25 lines
593 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (c) 2015 - 2022 Beijing WangXun Technology Co., Ltd. */
|
|
|
|
#ifndef _TXGBE_H_
|
|
#define _TXGBE_H_
|
|
|
|
#include "txgbe_type.h"
|
|
|
|
#define TXGBE_MAX_FDIR_INDICES 63
|
|
|
|
#define TXGBE_MAX_RX_QUEUES (TXGBE_MAX_FDIR_INDICES + 1)
|
|
#define TXGBE_MAX_TX_QUEUES (TXGBE_MAX_FDIR_INDICES + 1)
|
|
|
|
/* board specific private data structure */
|
|
struct txgbe_adapter {
|
|
u8 __iomem *io_addr; /* Mainly for iounmap use */
|
|
/* OS defined structs */
|
|
struct net_device *netdev;
|
|
struct pci_dev *pdev;
|
|
};
|
|
|
|
extern char txgbe_driver_name[];
|
|
|
|
#endif /* _TXGBE_H_ */
|