Search Linux Wireless

Re: [PATCH V2] ssb: Add support for 4318E

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 01 July 2009 05:39:43 Larry Finger wrote:
> From: Clyde McPherson <ccmcphe@xxxxxxxxxxx>
> 
> 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: Clyde McPherson <ccmcphe@xxxxxxxxxxx>
> Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>

ack

> ---
> 
> Index: wireless-testing/drivers/ssb/pcmcia.c
> ===================================================================
> --- wireless-testing.orig/drivers/ssb/pcmcia.c
> +++ wireless-testing/drivers/ssb/pcmcia.c
> @@ -678,7 +678,8 @@ int ssb_pcmcia_get_invariants(struct ssb
>  			sprom->board_rev = tuple.TupleData[1];
>  			break;
>  		case SSB_PCMCIA_CIS_PA:
> -			GOTO_ERROR_ON(tuple.TupleDataLen != 9,
> +			GOTO_ERROR_ON((tuple.TupleDataLen != 9) &&
> +				      (tuple.TupleDataLen != 10),
>  				      "pa tpl size");
>  			sprom->pa0b0 = tuple.TupleData[1] |
>  				 ((u16)tuple.TupleData[2] << 8);
> @@ -718,7 +719,8 @@ int ssb_pcmcia_get_invariants(struct ssb
>  			sprom->antenna_gain.ghz5.a3 = tuple.TupleData[1];
>  			break;
>  		case SSB_PCMCIA_CIS_BFLAGS:
> -			GOTO_ERROR_ON(tuple.TupleDataLen != 3,
> +			GOTO_ERROR_ON((tuple.TupleDataLen != 3) &&
> +				      (tuple.TupleDataLen != 5),
>  				      "bfl tpl size");
>  			sprom->boardflags_lo = tuple.TupleData[1] |
>  					 ((u16)tuple.TupleData[2] << 8);
> 
> 



-- 
Greetings, Michael.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux