Re: [PATCH net-next 08/11] net: dsa: mv88e6xxx: add port duplex setter

2016-11-01 Thread Vivien Didelot
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

Re: [PATCH net-next 08/11] net: dsa: mv88e6xxx: add port duplex setter

2016-11-01 Thread Andrew Lunn
> 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

[PATCH net-next 08/11] net: dsa: mv88e6xxx: add port duplex setter

2016-10-31 Thread Vivien Didelot
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