atl1c: fix issue of io access mode for AR8152 v2.1
authorCloud Ren <cjren@qca.qualcomm.com>
Thu, 19 Jul 2012 17:01:58 +0000 (17:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Jul 2012 18:21:18 +0000 (11:21 -0700)
commitfa0afcd10951afad2022dda09777d2bf70cdab3d
tree3f74c4d6d407f0b4a23e291ba56652c5f3125522
parentb09e786bd1dd66418b69348cb110f3a64764626a
atl1c: fix issue of io access mode for AR8152 v2.1

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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: xiong <xiong@qca.qualcomm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/atl1c/atl1c_hw.h
drivers/net/ethernet/atheros/atl1c/atl1c_main.c