vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| On Wed, Oct 11, 2006 at 07:46:20PM +0200, Stefan Hartsuiker wrote: > Op Wo, 11 oktober, 2006 15:06, schreef Francisco D. Kurpiel: > > Stefan Hartsuiker wrote: > >> Op Ma, 9 oktober, 2006 15:21, schreef Francisco D. Kurpiel: > >> > >>> Jonathan Gray wrote: > >>> > >>>> On Sat, Oct 07, 2006 at 09:14:57PM -0300, Francisco D. Kurpiel wrote: > >>>> > >>>> > >> [snip] > >> > >>>> Try this diff, do you see any kind of vendor name on > >>>> the card or packaging at all? > >>>> > >>>> Index: sys/dev/pci/if_rl_pci.c > >>>> ================================================== ================= > >>>> RCS file: /cvs/src/sys/dev/pci/if_rl_pci.c,v > >>>> retrieving revision 1.14 > >>>> diff -u -p -r1.14 if_rl_pci.c > >>>> --- sys/dev/pci/if_rl_pci.c 23 May 2006 00:41:50 -0000 1.14 > >>>> +++ sys/dev/pci/if_rl_pci.c 8 Oct 2006 02:14:54 -0000 > >>>> @@ -95,7 +95,8 @@ const struct pci_matchid rl_pci_devices[ > >>>> { PCI_VENDOR_DELTA, PCI_PRODUCT_DELTA_8139 }, > >>>> { PCI_VENDOR_DLINK, PCI_PRODUCT_DLINK_530TXPLUS }, > >>>> { PCI_VENDOR_NORTEL, PCI_PRODUCT_NORTEL_BS21 }, > >>>> - { PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8129 } > >>>> + { PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8129 }, > >>>> + { 0x1904, 0x8139 } > >>>> }; > >>>> > >>>> int > >>>> > >>>> > >>>> > >>> My base if_rl_pci.c is 1.12. I've added the line with the vendor and > >>> adapter anyway, so I have: > >>> > >>> ---- diff > >>> diff -u -p -r1.12 if_rl_pci.c > >>> --- if_rl_pci.c 24 Feb 2006 00:26:16 -0000 1.12 > >>> +++ if_rl_pci.c 9 Oct 2006 13:55:41 -0000 > >>> @@ -97,7 +97,8 @@ const struct pci_matchid rl_pci_devices[ > >>> { PCI_VENDOR_NORTEL, PCI_PRODUCT_NORTEL_BS21 }, > >>> { PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8129 }, > >>> { PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8139 }, > >>> - { PCI_VENDOR_TTTECH, PCI_PRODUCT_TTTECH_MC322 } > >>> + { PCI_VENDOR_TTTECH, PCI_PRODUCT_TTTECH_MC322 }, > >>> + { 0x1904, 0x8139 } > >>> }; > >>> > >>> int > >>> ---- > >>> > >>> And the dmesg shows > >>> > >>> ---- dmesg (partial) > >>> rl0 at pci1 dev 4 function 0 "Realtek 8139" rev 0x10: irq 12, address > >>> 00:08:54:d > >>> 9:08:d6 > >>> rlphy0 at rl0 phy 0: RTL internal PHY > >>> rl1 at pci1 dev 5 function 0 unknown vendor 0x1904 product 0x8139 rev > >>> 0x01: can' > >>> t map i/o space > >>> rl2 at pci1 dev 7 function 0 "Realtek 8139" rev 0x10: irq 11, address > >>> 00:d0:09:d > >>> 8:38:7d > >>> rlphy1 at rl2 phy 0: RTL internal PHY > >>> cmpci0 at pci1 dev 10 function 0 "C-Media Electronics CMI8738/C3DX > >>> Audio" rev 0x > >>> 10: irq 5 > >>> ---- > >>> > >>> The rl1 now have another problem. Shold I update the file to 1.14? Or > >>> shold I post on the right list? > >>> > >>> I just have the information I've posted about this chip. It's the > >>> motherboard's network adapter. > >>> > >>> Sorry about posting here. > >>> > >>> > >>> > >> Looks to me like you replaced the wrong line in the if_rl_pci.c file > >> You should replace the ''PCI_VENDOR_REALTEK, > >> PCI_PRODUCT_REALTEK_RT8129'' > >> line, not the PCI_VENDOR_TTTECH one. > >> > >> Stefan Hartsuiker > >> > >> > >> > > Thank-you, but, as you can see, I've added a line on the struct. Do your > > think that the replacement of the line may help? > > > > > > Hmm, no. Look at it this way: > > What you did: > { PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8139 }, > { PCI_VENDOR_TTTECH, PCI_PRODUCT_TTTECH_MC322 }, > { 0x1904, 0x8139 } > Pay attention to the order of the lines here. > > What I think it should be (according to the original diff): > { PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8139 }, > { 0x1904, 0x8139 }, > { PCI_VENDOR_TTTECH, PCI_PRODUCT_TTTECH_MC322 } > > That's what I meant, but I'm not a BSD developer, so I could be wrong The order of the entries does not matter. The entries are usually in alphabetic order by vendor name and then product name, to make it easier to keep track of what is there, especilly if there are a lot of entries. |