* D-Link DGE-530T and r8169.c
@ 2012-09-17 15:51 James R. Hay
2012-09-17 17:47 ` Francois Romieu
0 siblings, 1 reply; 3+ messages in thread
From: James R. Hay @ 2012-09-17 15:51 UTC (permalink / raw)
To: romieu, nic_swsd; +Cc: netdev
Good morning,
It appears that D-Link has changed the ID of the DGE-530T NIC from
1186:4300: to 1186:4302: which means the RTL8169 driver in the linux
kernel does not recognize newer DGE-530T cards.
At link 199 of r8169.c is the following:
{ PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4300), 0, 0, RTL_CFG_0 },
While I changed the 0x4300 to 0x4302 and recompiled the kernel to get the
driver to recognize the card I believe that the appropriate fix would be
to add the following line immediately after:
{ PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4302), 0, 0, RTL_CFG_0 },
Since I only have the one machine here on which to test this driver I am
hoping that any further testing needed can be done by someone so that this
can make its way inte the kernel source code.
Jim.
James R. Hay jrhay@HayA.QC.CA
Hay-Net Networks http://www.hay-net.net
P.O. Box 46051
Pointe Claire, QC
H9R 5R4
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: D-Link DGE-530T and r8169.c
2012-09-17 15:51 D-Link DGE-530T and r8169.c James R. Hay
@ 2012-09-17 17:47 ` Francois Romieu
2012-09-17 20:01 ` James R. Hay
0 siblings, 1 reply; 3+ messages in thread
From: Francois Romieu @ 2012-09-17 17:47 UTC (permalink / raw)
To: James R. Hay; +Cc: nic_swsd, netdev
James R. Hay <jrhay@haya.qc.ca> :
[...]
> At line 199 of r8169.c is the following:
>
> { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4300), 0, 0, RTL_CFG_0 },
>
> While I changed the 0x4300 to 0x4302 and recompiled the kernel to
> get the driver to recognize the card I believe that the appropriate
> fix would be to add the following line immediately after:
>
> { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4302), 0, 0, RTL_CFG_0 },
The ID above was added by 93a3aa25933461d76141179fc94aa32d5f9d954a between
v3.0 and v3.1. See:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=93a3aa25933461d76141179fc94aa32d5f9d954a
--
Ueimor
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: D-Link DGE-530T and r8169.c
2012-09-17 17:47 ` Francois Romieu
@ 2012-09-17 20:01 ` James R. Hay
0 siblings, 0 replies; 3+ messages in thread
From: James R. Hay @ 2012-09-17 20:01 UTC (permalink / raw)
To: Francois Romieu; +Cc: nic_swsd, netdev
Thank you very much. Evidently I'm a bit further behind on the kernel
version than I thought.
Jim.
On Mon, 17 Sep 2012, Francois Romieu wrote:
--(snip)--
>>
>> { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4302), 0, 0, RTL_CFG_0 },
>
> The ID above was added by 93a3aa25933461d76141179fc94aa32d5f9d954a between
> v3.0 and v3.1. See:
>
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=93a3aa25933461d76141179fc94aa32d5f9d954a
>
> --
> Ueimor
>
James R. Hay jrhay@HayA.QC.CA
Hay-Net Networks http://www.hay-net.net
P.O. Box 46051
Pointe Claire, QC
H9R 5R4
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-09-17 20:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-17 15:51 D-Link DGE-530T and r8169.c James R. Hay
2012-09-17 17:47 ` Francois Romieu
2012-09-17 20:01 ` James R. Hay
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox