Search Linux Wireless

Re: [RFC v3 03/13] bcma: add functions to scan cores needed on SoCs

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

 



2011/6/30 Hauke Mehrtens <hauke@xxxxxxxxxx>:
> +               core->core_index = core_num++;
> +               bus->nr_cores++;
> +
>                pr_info("Core %d found: %s "
>                        "(manuf 0x%03X, id 0x%03X, rev 0x%02X, class 0x%X)\n",
> -                       bus->nr_cores, bcma_device_name(&core->id),
> +                       core->core_index, bcma_device_name(&core->id),
>                        core->id.manuf, core->id.id, core->id.rev,
>                        core->id.class);
>
> -               core->core_index = bus->nr_cores++;
>                list_add(&core->list, &bus->cores);

Didn't you just change core indexes (0, 1, ...) to numbers (1, 2,
...)? It would break enabling IRQs on PCI.

Didn't test it however yet, I'll have access to my machines tomorrow.

-- 
Rafał
��.n��������+%������w��{.n�����{���zW����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f



[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