Commit 2fbddeb5 authored by Clyde McPherson's avatar Clyde McPherson Committed by John W. Linville

ssb: Add support for 4318E

Added support for the Broadcom 4318E chipset on PCMCIA/CF cards. The
4318E can do 802.11A/B/G, only B and G mode are supported in b43.
Signed-off-by: default avatarClyde McPherson <ccmcphe@verizon.net>
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent cff782cd
...@@ -678,7 +678,8 @@ int ssb_pcmcia_get_invariants(struct ssb_bus *bus, ...@@ -678,7 +678,8 @@ int ssb_pcmcia_get_invariants(struct ssb_bus *bus,
sprom->board_rev = tuple.TupleData[1]; sprom->board_rev = tuple.TupleData[1];
break; break;
case SSB_PCMCIA_CIS_PA: case SSB_PCMCIA_CIS_PA:
GOTO_ERROR_ON(tuple.TupleDataLen != 9, GOTO_ERROR_ON((tuple.TupleDataLen != 9) &&
(tuple.TupleDataLen != 10),
"pa tpl size"); "pa tpl size");
sprom->pa0b0 = tuple.TupleData[1] | sprom->pa0b0 = tuple.TupleData[1] |
((u16)tuple.TupleData[2] << 8); ((u16)tuple.TupleData[2] << 8);
...@@ -718,7 +719,8 @@ int ssb_pcmcia_get_invariants(struct ssb_bus *bus, ...@@ -718,7 +719,8 @@ int ssb_pcmcia_get_invariants(struct ssb_bus *bus,
sprom->antenna_gain.ghz5.a3 = tuple.TupleData[1]; sprom->antenna_gain.ghz5.a3 = tuple.TupleData[1];
break; break;
case SSB_PCMCIA_CIS_BFLAGS: case SSB_PCMCIA_CIS_BFLAGS:
GOTO_ERROR_ON(tuple.TupleDataLen != 3, GOTO_ERROR_ON((tuple.TupleDataLen != 3) &&
(tuple.TupleDataLen != 5),
"bfl tpl size"); "bfl tpl size");
sprom->boardflags_lo = tuple.TupleData[1] | sprom->boardflags_lo = tuple.TupleData[1] |
((u16)tuple.TupleData[2] << 8); ((u16)tuple.TupleData[2] << 8);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment