[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9235D6609DB808459E95D78E17F2E43D409700B3@CHN-SV-EXMX02.mchp-main.com>
Date: Tue, 29 Nov 2016 23:20:24 +0000
From: <Woojung.Huh@...rochip.com>
To: <f.fainelli@...il.com>, <davem@...emloft.net>, <andrew@...n.ch>
CC: <netdev@...r.kernel.org>, <UNGLinuxDriver@...rochip.com>
Subject: RE: [PATCH net-netx] net: lan78xx: add LAN7801 MAC-only support
> There are two ways to get these settings propagated to the PHY driver:
>
> - using a board fixup which is going to be invoked during
> drv->config_init() time
>
> - specifying a phydev->dev_flags and reading it from the PHY driver to
> act upon and configure the PHY based on that value, there are only
> 32-bits available though, and you need to make sure they are not
> conflicting with other potential users in tree
>
> My preference would go with 1, since you could just register it in your
> PHY driver and re-use the code you are proposing to include here.
fixup looks good to me too. Will submit revision soon.
Thanks.
- Woojung
Powered by blists - more mailing lists