[PATCH v2 03/11] bcma: add functions to scan cores needed on SoCs

Rafał Miłecki zajec5 at gmail.com
Thu Jul 21 18:35:01 EDT 2011


2011/7/16 Hauke Mehrtens <hauke at hauke-m.de>:
> @@ -159,5 +159,8 @@ static void bcma_pcicore_serdes_workaround(struct bcma_drv_pci *pc)
>
>  void bcma_core_pci_init(struct bcma_drv_pci *pc)
>  {
> +       if (pc->setup_done)
> +               return;
>        bcma_pcicore_serdes_workaround(pc);
> +       pc->setup_done = true;
>  }

This won't apply to the upstream driver_pci.c. Fix is obvious for me
and you, but could be nice to don't bother John/Ralf.


> +       /* Scan for devices (cores) */
> +       err = bcma_bus_scan_early(bus, &match, core_cc);

Could you update the comment by the way?

-- 
Rafał



More information about the b43-dev mailing list