]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: dc2114x: Use standard I/O accessors
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 8 Jul 2020 04:31:54 +0000 (06:31 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 25 Jul 2020 09:24:02 +0000 (11:24 +0200)
commit02b95a4b4133cff79d72cafc2c19b1154504ac56
tree682b1290ec1ae0a45f322e7c8955964fb200c18e
parent9b98f20494c279389a4a6e80a6a4ca170653b49f
net: dc2114x: Use standard I/O accessors

The current dc21x4x driver accesses its memory mapped registers directly
instead of using the standard I/O accessors. This can cause problems on
some systems as the accesses can get out of order. So convert the direct
volatile dereferences to use the normal in/out macros.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Ramon Fried <rfried.dev@gmail.com>
drivers/net/dc2114x.c