net: bcmgenet: Add 'eee' module parameter
authorPhil Elwell <phil@raspberrypi.com>
Wed, 14 Dec 2022 15:00:51 +0000 (15:00 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:25 +0000 (11:33 +0000)
commit0a7a2d077ccfbb21498d2f3eff861bb38e6805e0
treeb7eaf74be79c6736b62ff1a81420697878d4c31d
parente1d14a278d15194ace5ff314379bf6e6638841d7
net: bcmgenet: Add 'eee' module parameter

On some switches, having EEE enabled causes the link to become
unstable. With this patch, adding 'genet.eee=N' to the kernel command
line will cause EEE to be disabled on the link.

See: https://github.com/raspberrypi/linux/issues/4289

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
drivers/net/ethernet/broadcom/genet/bcmgenet.c