On Fri, Jan 22, 2016 at 4:42 PM, Joe Hershberger
<[email protected]> wrote:
> On Sun, Jan 17, 2016 at 3:52 PM, Simon Glass <[email protected]> wrote:
>> Some ethernet devices may be on a PCI bus. Probe the first PCI controller to
>> find these, so that ethernet init will complete correctly.
>>
>> Signed-off-by: Simon Glass <[email protected]>
>> ---
>>
>>  net/eth-uclass.c | 5 +++++
>>  1 file changed, 5 insertions(+)
>>
>> diff --git a/net/eth-uclass.c b/net/eth-uclass.c
>> index a356a08..817c6e0 100644
>> --- a/net/eth-uclass.c
>> +++ b/net/eth-uclass.c
>> @@ -383,7 +383,12 @@ int eth_initialize(void)
>>  {
>>         int num_devices = 0;
>>         struct udevice *dev;
>> +#ifdef CONFIG_DM_PCI
>> +       struct udevice *pci_dev;
>>
>> +       /* Start PCI since it may have a network interface */
>> +       uclass_first_device(UCLASS_PCI, &pci_dev);
>
> I see this is still under discussion, so it probably makes sense to
> leave it off of this series.

Any update on this?

>> +#endif
>>         eth_common_init();
>>
>>         /*
>> --
>> 2.6.0.rc2.230.g3dd15c0
>>
>> _______________________________________________
>> U-Boot mailing list
>> [email protected]
>> http://lists.denx.de/mailman/listinfo/u-boot
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to