Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * mdio-boardinfo.h - board info interface internal to the mdio_bus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  * component
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #ifndef __MDIO_BOARD_INFO_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #define __MDIO_BOARD_INFO_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #include <linux/phy.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #include <linux/mutex.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) struct mdio_board_entry {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	struct list_head	list;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 	struct mdio_board_info	board_info;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) void mdiobus_setup_mdiodev_from_board_info(struct mii_bus *bus,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 					   int (*cb)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 					   (struct mii_bus *bus,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 					    struct mdio_board_info *bi));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #endif /* __MDIO_BOARD_INFO_H */