bnx2x: revised and corrected SPIO access
authorYuval Mintz <yuvalmin@broadcom.com>
Sun, 2 Dec 2012 04:05:45 +0000 (04:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Dec 2012 01:22:59 +0000 (20:22 -0500)
commitd6d99a3f7e9169ef351340b217b48accab78e849
treeba007398f5f1903a79f82e1cc753870f4b1282fa
parentd317966bd3249ee7cd912931ab013c49cb77b9a4
bnx2x: revised and corrected SPIO access

Changed naming convention of SPIO macros, and prevented access to invalid SPIOs.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h