mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
![Maxime Chevallier](/assets/img/avatar_default.png)
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>
17 lines
394 B
C
17 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 */
|