mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 07:50:04 +00:00
4a502cf4d7
The Altera Triple Speed Ethernet has a SGMII/1000BaseC PCS that can be integrated in several ways. It can either be part of the TSE MAC's address space, accessed through 32 bits accesses on the mapped mdio device 0, or through a dedicated 16 bits register set. This driver allows using the TSE PCS outside of altera TSE's driver, since it can be used standalone by other MACs. Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
18 lines
394 B
C
18 lines
394 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2022 Bootlin
|
|
*
|
|
* Maxime Chevallier <maxime.chevallier@bootlin.com>
|
|
*/
|
|
|
|
#ifndef __LINUX_PCS_ALTERA_TSE_H
|
|
#define __LINUX_PCS_ALTERA_TSE_H
|
|
|
|
struct phylink_pcs;
|
|
struct net_device;
|
|
|
|
struct phylink_pcs *alt_tse_pcs_create(struct net_device *ndev,
|
|
void __iomem *pcs_base, int reg_width);
|
|
|
|
#endif /* __LINUX_PCS_ALTERA_TSE_H */
|