net: ravb: Filter out supported PHY features
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Mon, 18 Jun 2018 03:44:53 +0000 (05:44 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Tue, 19 Jun 2018 04:15:55 +0000 (06:15 +0200)
commit536fb5d47c350de0a67279c344470119a9f53886
treee05f6426410e0fb08af3edca04236f80cb61c3b6
parentc4a8d9ca046a6881babe1ca6e08223bd1a2f7d59
net: ravb: Filter out supported PHY features

The RAVB only supports 100Full and 1000Full operation, it does not support
10Full or any Half-duplex modes. The PHY could still advertise those features
though, so filter out the PHY features accordingly.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/ravb.c