commit | b4ba60b8351c8765bf983cea410b49e2a825ab84 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Wed Mar 25 18:15:46 2020 +0100 |
committer | Marek Vasut <marex@denx.de> | Fri May 22 19:46:45 2020 +0200 |
tree | 221a241057ec2a4b2277f02d6c4a82ec1cb2f549 | |
parent | 21bf578c78a6d8451b5d356f49505090a10edefd [diff] |
net: ks8851: Clean up chip ID readout There is only one chip ID in the table of chip IDs for this chip. Read out the chip ID instead and mask off the last "revision" bit to check the chip ID, this works for all chips in the family. Then drop the chip ID passing around. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Eugen Hristev <eugen.hristev@microchip.com> Cc: Joe Hershberger <joe.hershberger@ni.com>