atl1c: fix issue of io access mode for AR8152 v2.1

commit fa0afcd109 upstream.

When io access mode is enabled by BOOTROM or BIOS for AR8152 v2.1,
the register can't be read/write by memory access mode.
Clearing Bit 8  of Register 0x21c could fixed the issue.

Signed-off-by: Cloud Ren <cjren@qca.qualcomm.com>
Signed-off-by: xiong <xiong@qca.qualcomm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Cloud Ren 2012-07-19 17:01:58 +00:00 • committed by Greg Kroah-Hartman
commit c366e8b007
2 changed files with 20 additions and 1 deletions