Hi Andrew,
Andrew Lunn writes:
>> int (*port_set_link)(struct mv88e6xxx_chip *chip, int port, int link);
>> +
>> +/* Port's MAC duplex mode
>> + *
>> + * Use DUPLEX_HALF or DUPLEX_FULL to force half or full duplex, or
>> + * DUPLEX_UNKNOWN for normal duplex
> int (*port_set_link)(struct mv88e6xxx_chip *chip, int port, int link);
> +
> + /* Port's MAC duplex mode
> + *
> + * Use DUPLEX_HALF or DUPLEX_FULL to force half or full duplex, or
> + * DUPLEX_UNKNOWN for normal duplex detection.
> + */
> + int
Similarly to port's link, add setter to force port's half duplex, full
duplex or let normal duplex detection occurs.
Signed-off-by: Vivien Didelot
---
drivers/net/dsa/mv88e6xxx/chip.c | 17 +
drivers/net/dsa/mv88e6xxx/mv88e6xxx.h | 7