Search Linux Wireless

Re: [PATCH] ssb: Add PCI ID 0x4322 to PHU handling

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

 



On Fri, Feb 19, 2010 at 7:02 PM, Larry Finger <Larry.Finger@xxxxxxxxxxxx> wrote:
> Some of the N PHYs need a revision in the handling of the PMU.
>
> Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
> ---
>
> John,
>
> This will be needed for some of the N PHY devices - 2.6.34 amterial.
>
> Larry
> ---
>
> Index: wireless-testing/drivers/ssb/driver_chipcommon_pmu.c
> ===================================================================
> --- wireless-testing.orig/drivers/ssb/driver_chipcommon_pmu.c
> +++ wireless-testing/drivers/ssb/driver_chipcommon_pmu.c
> @@ -332,6 +332,12 @@ static void ssb_pmu_pll_init(struct ssb_
>        case 0x5354:
>                ssb_pmu0_pllinit_r0(cc, crystalfreq);
>                break;
> +       case 0x4322:
> +               if (cc->pmu.rev == 2) {
> +                       chipco_write32(cc, SSB_CHIPCO_PLLCTL_ADDR, 0x0000000A);
> +                       chipco_write32(cc, SSB_CHIPCO_PLLCTL_DATA, 0x380005C0);
> +               }
> +               break;
>        default:
>                ssb_printk(KERN_ERR PFX
>                           "ERROR: PLL init unknown for device %04X\n",
> @@ -417,6 +423,7 @@ static void ssb_pmu_resources_init(struc
>
>        switch (bus->chip_id) {
>        case 0x4312:
> +       case 0x4322:
>                /* We keep the default settings:
>                 * min_msk = 0xCBB
>                 * max_msk = 0x7FFFF
> _______________________________________________
> Bcm43xx-dev mailing list
> Bcm43xx-dev@xxxxxxxxxxxxxxxx
> https://lists.berlios.de/mailman/listinfo/bcm43xx-dev
>

Typo in title - PHU should be PMU.

-- 
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
--
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