mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00

Add driver for Sunplus SP7021 SoC. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Wells Lu <wellslutw@gmail.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
18 lines
594 B
C
18 lines
594 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright Sunplus Technology Co., Ltd.
|
|
* All rights reserved.
|
|
*/
|
|
|
|
#ifndef __SPL2SW_MAC_H__
|
|
#define __SPL2SW_MAC_H__
|
|
|
|
void spl2sw_mac_hw_stop(struct spl2sw_common *comm);
|
|
void spl2sw_mac_hw_start(struct spl2sw_common *comm);
|
|
int spl2sw_mac_addr_add(struct spl2sw_mac *mac);
|
|
int spl2sw_mac_addr_del(struct spl2sw_mac *mac);
|
|
void spl2sw_mac_hw_init(struct spl2sw_common *comm);
|
|
void spl2sw_mac_rx_mode_set(struct spl2sw_mac *mac);
|
|
void spl2sw_mac_init(struct spl2sw_common *comm);
|
|
void spl2sw_mac_soft_reset(struct spl2sw_common *comm);
|
|
|
|
#endif
|