3c905 Nic configuration
Joel Sherrill
joel.sherrill at oarcorp.com
Mon Oct 1 17:01:51 UTC 2007
Stéphane ARQUER wrote:
> Hi,
>
> My card as the chipset:
> 920-BR05
> 40-0579-005
>
> an lspci gives:
> 10B7: 9200 (rev 74)
> 3C905C-TX/TX-M (Tornado) (Rev 74)
>
I see that id listed in elink.c and it has what appears to
be quite functional code. It is usually in a long switch
with other similar devices. The constant is:
TC_DEVICEID_TORNADO_10_100BT
So it is supported.
Can you add some debug to the loop around pci_find_device
near line 3170 in elnk.c and see what is going on? The message
you are seeing indicates that none of the supported PCI Ids were
found on the bus.
--joel
>
> Stephane
>
>
> Le 28/9/2007, "Joel Sherrill" <joel.sherrill at oarcorp.com> a écrit:
>
>
>> Stéphane ARQUER wrote:
>>
>>> Hello,
>>>
>>> My card seems not to be recognized correctly on the pci bus.
>>> "Etherlink: No Etherlink device found "
>>>
>>>
>>>
>> Check the PCI Id of your card versus the list of PCI Ids
>> it checks for. Often cards get new revisions and the Id
>> changes and the RTEMS driver doesn't know it yet.
>>
>> --joel
>>
>>> sA
>>>
>>>
>>> Le 27/9/2007, "Joel Sherrill" <joel.sherrill at oarcorp.com> a écrit:
>>>
>>>
>>>
>>>> How about elink1? You are naming the specific interface,
>>>> not the driver as a whole.
>>>>
>>>> --joel
>>>>
>>>> Stéphane ARQUER wrote:
>>>>
>>>>
>>>>> Hello,
>>>>>
>>>>> Le 25/9/2007, "Joel Sherrill" <joel.sherrill at oarcorp.com> a écrit:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> Back to the list. Everyone needs to pitch in on this one. :-D
>>>>>>
>>>>>> Stéphane ARQUER wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -----Message d'origine-----
>>>>>>> De : Joel Sherrill [mailto:joel.sherrill at oarcorp.com]
>>>>>>> Envoyé : mardi 25 septembre 2007 19:19
>>>>>>> À : Karel Gardas
>>>>>>> Cc : Stéphane ARQUER; RTEMS users
>>>>>>> Objet : Re: 3c905 Nic configuration
>>>>>>>
>>>>>>> Karel Gardas wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> IIRC 3c905x is different from 3c509. Please use xl driver for your
>>>>>>>> card and it should work well.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> Isn't one ISA and the other PCI?
>>>>>>>
>>>>>>> Yes, the 3c509B-tpo is an ISA and the 3c905c-TXM a PCI.
>>>>>>>
>>>>>>> Where do you find the xl driver ?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> The .c file is in c/src/libchip/network/elnk.c. I do not see a .h file
>>>>>> that is for
>>>>>> you to include in your networkconfig. :(
>>>>>>
>>>>>> Prototype:
>>>>>>
>>>>>> int
>>>>>> rtems_elnk_driver_attach (struct rtems_bsdnet_ifconfig *config, int attach)
>>>>>>
>>>>>>
>>>>>>
>>>>> I created a simple one with only the prototype mentionned above and I
>>>>> added these lines in the BSP.h file:
>>>>>
>>>>> #define BSP_ELNK_NETWORK_DRIVER_NAME "elnk"
>>>>> #define BSP_ELNK_NETWORK_DRIVER_ATTACH rtems_elnk_driver_attach
>>>>>
>>>>> and I obtain the following error message:
>>>>> Bad network driver name 'elnk'
>>>>> Can't bring elnk up: No such device or address
>>>>> Can't set default route: No such process
>>>>> Can't get host address
>>>>>
>>>>>
>>>>> Another problem is to modify the file elnk.c, I'm not able to compile it
>>>>> after modifications to update it il the librtemsbsp.a file. I use this
>>>>> commande to do it :
>>>>> i386-rtems-gcc --pipe -B/opt/rtems-4.6/i386-rtems/pc386/lib/ -specs
>>>>> bsp_specs -qrtems -g -Wall -04 -c -o elnk.o elnk.c
>>>>>
>>>>> If you have a tip.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> Stephane.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> It would be nice to have the user .h file that applications include
>>>>>> when configuring the driver.
>>>>>>
>>>>>> --joel
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>> --joel
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Karel
>>>>>>>>
>>>>>>>> Stéphane ARQUER wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> Hello,
>>>>>>>>>
>>>>>>>>> I'm trying to configure the network interface 3c905c-TXM with the
>>>>>>>>> pc386 bsp of rtems 4.6.6.
>>>>>>>>> I read in the wiki that someone used this reference in september 2005
>>>>>>>>> but there is no details on the driver to use.
>>>>>>>>>
>>>>>>>>> On the other hand, I'm working with a 3c509B-tpo card, I try to
>>>>>>>>> execute the network examples and when the card seems to be configured:
>>>>>>>>> --> 3C509: attach() is complete
>>>>>>>>> there are the error messages:
>>>>>>>>> --> Can't bring ep up: No such device or adress
>>>>>>>>> --> Can't set default route: No such process
>>>>>>>>> --> Can't get host adress
>>>>>>>>>
>>>>>>>>> You 'll find attached the networkconfig.h file.
>>>>>>>>>
>>>>>>>>> If anyone has a tip ?
>>>>>>>>>
>>>>>>>>> Thanks in advance for your help.
>>>>>>>>>
>>>>>>>>> Regards.
>>>>>>>>>
>>>>>>>>> SA
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>> ---
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> rtems-users mailing list
>>>>>>>>> rtems-users at rtems.com
>>>>>>>>> http://rtems.rtems.org/mailman/listinfo/rtems-users
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> _______________________________________________
>>>>>> rtems-users mailing list
>>>>>> rtems-users at rtems.com
>>>>>> http://rtems.rtems.org/mailman/listinfo/rtems-users
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> -------------------------------------------------
>>>>> Stéphane ARQUER
>>>>> CSSI - Division Aéronautique, Logiciels Embarqués
>>>>> email: stephane.arquer at c-s.fr
>>>>> -------------------------------------------------
>>>>>
>>>>>
>>>>>
>>> -------------------------------------------------
>>> Stéphane ARQUER
>>> CSSI - Division Aéronautique, Logiciels Embarqués
>>> email: stephane.arquer at c-s.fr
>>> -------------------------------------------------
>>>
>>>
>
> -------------------------------------------------
> Stéphane ARQUER
> CSSI - Division Aéronautique, Logiciels Embarqués
> email: stephane.arquer at c-s.fr
> -------------------------------------------------
>
More information about the users
mailing list