commit | b069c4ac541a2fa00043980f6b882e9a85a8c561 | [log] [tgz] |
---|---|---|
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | Tue Jun 18 11:37:18 2019 +1000 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Mon Mar 09 18:11:23 2020 -0500 |
tree | d47454b8dda54689225136c99125c968f9230680 | |
parent | 2325c44939fd88defc35357cada16b345c4f2bb4 [diff] |
phy: Include NC-SI in phy setup Add NC-SI to the usual phy handling. This makes two notable changes: - Somewhat similar to a fixed phy, phy_connect() will create an NC-SI phy if CONFIG_PHY_NCSI is defined. - An early return is added to phy_read() and phy_write() to handle a case like the NC-SI phy which does not define a bus. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> Reviewed-by: Joel Stanley <joel@jms.id.au> Acked-by: Joe Hershberger <joe.hershberger@ni.com>