D-Link DGE-530T and r8169.c

3 messages, 2 authors, 2012-09-17 · open the first message on its own page

D-Link DGE-530T and r8169.c

From: James R. Hay <hidden>
Date: 2012-09-17 16:01:25

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

Re: D-Link DGE-530T and r8169.c

From: Francois Romieu <romieu@fr.zoreil.com>
Date: 2012-09-17 18:05:15

James R. Hay [off-list ref] :
[...]
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

Re: D-Link DGE-530T and r8169.c

From: James R. Hay <hidden>
Date: 2012-09-17 20:01:40

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)--
quoted
	{ 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help