Colin Foster | b996584 | 2021-11-28 17:57:37 -0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ |
| 2 | /* |
| 3 | * Driver for the MDIO interface of Microsemi network switches. |
| 4 | * |
| 5 | * Author: Colin Foster <[email protected]> |
| 6 | * Copyright (C) 2021 Innovative Advantage |
| 7 | */ |
| 8 | #ifndef MDIO_MSCC_MIIM_H |
| 9 | #define MDIO_MSCC_MIIM_H |
| 10 | |
| 11 | #include <linux/device.h> |
| 12 | #include <linux/phy.h> |
| 13 | #include <linux/regmap.h> |
| 14 | |
| 15 | int mscc_miim_setup(struct device *device, struct mii_bus **bus, |
| 16 | const char *name, struct regmap *mii_regmap, |
Vladimir Oltean | 9df677d | 2023-02-24 17:52:33 +0200 | [diff] [blame] | 17 | int status_offset, bool ignore_read_errors); |
Colin Foster | b996584 | 2021-11-28 17:57:37 -0800 | [diff] [blame] | 18 | |
| 19 | #endif |