summaryrefslogtreecommitdiff
path: root/src/drivers/net/phy/m88e1512/chip.h
blob: 915001a7a1c3544ed0dfb5924c39c2424676259a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0-only */

#include "m88e1512.h"

struct drivers_net_phy_m88e1512_config {
	bool configure_leds;		/* Enable LED customization */
	unsigned char led_0_ctrl;	/* LED[0] Control */
	unsigned char led_1_ctrl;	/* LED[1] Control */
	unsigned char led_2_ctrl;	/* LED[2] Control */
	bool enable_int;		/* INTn can be routed to LED[2] pin */
	/* 1x, 2x,...8x is the number of times the PHY attempts to establish Gigabit link
	   before the PHY downshifts to the next highest speed. */
	unsigned char downshift_cnt;
};