commit | e2ffeaa16250ec6372412c0f268449803c321db6 | [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 | f641a8ac93e0c0179fe6f73429812af228109ff2 [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>