mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-22 09:42:32 +00:00
Add MAC address related operations, and register netdev. Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
19 lines
666 B
C
19 lines
666 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (c) 2015 - 2022 Beijing WangXun Technology Co., Ltd. */
|
|
|
|
#ifndef _WX_HW_H_
|
|
#define _WX_HW_H_
|
|
|
|
int wx_check_flash_load(struct wx_hw *hw, u32 check_bit);
|
|
void wx_get_mac_addr(struct wx_hw *wxhw, u8 *mac_addr);
|
|
int wx_set_rar(struct wx_hw *wxhw, u32 index, u8 *addr, u64 pools, u32 enable_addr);
|
|
int wx_clear_rar(struct wx_hw *wxhw, u32 index);
|
|
void wx_init_rx_addrs(struct wx_hw *wxhw);
|
|
void wx_disable_rx(struct wx_hw *wxhw);
|
|
int wx_disable_pcie_master(struct wx_hw *wxhw);
|
|
int wx_stop_adapter(struct wx_hw *wxhw);
|
|
void wx_reset_misc(struct wx_hw *wxhw);
|
|
int wx_sw_init(struct wx_hw *wxhw);
|
|
|
|
#endif /* _WX_HW_H_ */
|