Bug 38862
Summary: | No support for DGE-530T Rev C1 | ||
---|---|---|---|
Product: | Drivers | Reporter: | James Henderson (jameshenderson) |
Component: | Network | Assignee: | Francois Romieu (romieu) |
Status: | RESOLVED CODE_FIX | ||
Severity: | enhancement | CC: | florian, jameshenderson, romieu |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.39.2 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | Image of the unsupported card. |
Description
James Henderson
2011-07-06 16:05:34 UTC
Created attachment 64802 [details]
Image of the unsupported card.
(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). On Wed, 6 Jul 2011 16:05:36 GMT bugzilla-daemon@bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=38862 > > Summary: No support for DGE-530T Rev C1 > Product: Drivers > Version: 2.5 > Kernel Version: 2.6.39.2 > Platform: All > OS/Version: Linux > Tree: Mainline > Status: NEW > Severity: normal > Priority: P1 > Component: Network > AssignedTo: drivers_network@kernel-bugs.osdl.org > ReportedBy: jameshenderson@ruggedcom.com > Regression: No > > > The kernel support DGE-530T REV B2 through the skge driver. The PCI device > id > of REV-B2 is 1186:4302. Rev C1 has a PCI device id of 1186:4302. No driver > in > the current kernel supports this device id/vendor combination. Furthermore, > this device is not even listed in the device database -> > http://www.pcidatabase.com/vendor_details.php?id=921 . > > On the chip is the following information: > D-Link > DLG10028C > A8A34A1 > GA50 TAIWAN > > A sticker on the card reads: > DGE-530T Rev C1 > > I am including a picture I took of the card. > Did you test simply adding that device to the driver? --- a/drivers/net/skge.c~a +++ a/drivers/net/skge.c @@ -89,6 +89,7 @@ static DEFINE_PCI_DEVICE_TABLE(skge_id_t { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, PCI_DEVICE_ID_SYSKONNECT_YU) }, { PCI_DEVICE(PCI_VENDOR_ID_DLINK, PCI_DEVICE_ID_DLINK_DGE510T) }, { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4b01) }, /* DGE-530T */ + { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4302) }, /* DGE-530T Rev C1 */ { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x4320) }, { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x5005) }, /* Belkin */ { PCI_DEVICE(PCI_VENDOR_ID_CNET, PCI_DEVICE_ID_CNET_GIGACARD) }, _ On Wed, 6 Jul 2011 17:48:44 -0400 James Henderson <JamesHenderson@ruggedcom.com> wrote: > > Did you test simply adding that device to the driver? > > > > --- a/drivers/net/skge.c~a > > +++ a/drivers/net/skge.c > > @@ -89,6 +89,7 @@ static DEFINE_PCI_DEVICE_TABLE(skge_id_t > > { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, PCI_DEVICE_ID_SYSKONNECT_YU) }, > > { PCI_DEVICE(PCI_VENDOR_ID_DLINK, PCI_DEVICE_ID_DLINK_DGE510T) }, > > { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4b01) }, /* DGE-530T */ > > + { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4302) }, /* DGE-530T Rev C1 */ > > { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x4320) }, > > { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x5005) }, /* Belkin */ > > { PCI_DEVICE(PCI_VENDOR_ID_CNET, PCI_DEVICE_ID_CNET_GIGACARD) }, > > _ > > > > > No I haven't tested that change - I don't have a kernel development > environment setup and unfortunately I don't have any more work time to > budget to the issue beyond reporting it. > > Also, I meant to say that Rev B2 has PCI id 1186:4B01 (although you seem > to have figured that out). OK, I suppose we can add that info thusly: --- a/drivers/net/skge.c~drivers-net-skgec-support-dlink-dge-530t-rev-c1 +++ a/drivers/net/skge.c @@ -88,7 +88,8 @@ static DEFINE_PCI_DEVICE_TABLE(skge_id_t { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, PCI_DEVICE_ID_SYSKONNECT_GE) }, { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, PCI_DEVICE_ID_SYSKONNECT_YU) }, { PCI_DEVICE(PCI_VENDOR_ID_DLINK, PCI_DEVICE_ID_DLINK_DGE510T) }, - { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4b01) }, /* DGE-530T */ + { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4b01) }, /* DGE-530T Rev B2 */ + { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4302) }, /* DGE-530T Rev C1 */ { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x4320) }, { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x5005) }, /* Belkin */ { PCI_DEVICE(PCI_VENDOR_ID_CNET, PCI_DEVICE_ID_CNET_GIGACARD) }, _ although that might be misleading if, say, 0x4b01 describes other revisions. But there isn't much we can do with this until someone can test the change. Andrew Morton wrote: > (switched to email. Please respond via emailed reply-to-all, not via the > bugzilla web interface). > > On Wed, 6 Jul 2011 16:05:36 GMT > bugzilla-daemon@bugzilla.kernel.org wrote: > > >> https://bugzilla.kernel.org/show_bug.cgi?id=38862 >> >> Summary: No support for DGE-530T Rev C1 >> Product: Drivers >> Version: 2.5 >> Kernel Version: 2.6.39.2 >> Platform: All >> OS/Version: Linux >> Tree: Mainline >> Status: NEW >> Severity: normal >> Priority: P1 >> Component: Network >> AssignedTo: drivers_network@kernel-bugs.osdl.org >> ReportedBy: jameshenderson@ruggedcom.com >> Regression: No >> >> >> The kernel support DGE-530T REV B2 through the skge driver. The PCI device >> id >> of REV-B2 is 1186:4302. Rev C1 has a PCI device id of 1186:4302. No driver >> in >> the current kernel supports this device id/vendor combination. Furthermore, >> this device is not even listed in the device database -> >> http://www.pcidatabase.com/vendor_details.php?id=921 . >> >> On the chip is the following information: >> D-Link >> DLG10028C >> A8A34A1 >> GA50 TAIWAN >> >> A sticker on the card reads: >> DGE-530T Rev C1 >> >> I am including a picture I took of the card. >> >> > > Did you test simply adding that device to the driver? > > --- a/drivers/net/skge.c~a > +++ a/drivers/net/skge.c > @@ -89,6 +89,7 @@ static DEFINE_PCI_DEVICE_TABLE(skge_id_t > { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, PCI_DEVICE_ID_SYSKONNECT_YU) }, > { PCI_DEVICE(PCI_VENDOR_ID_DLINK, PCI_DEVICE_ID_DLINK_DGE510T) }, > { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4b01) }, /* DGE-530T */ > + { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4302) }, /* DGE-530T Rev C1 */ > { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x4320) }, > { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x5005) }, /* Belkin */ > { PCI_DEVICE(PCI_VENDOR_ID_CNET, PCI_DEVICE_ID_CNET_GIGACARD) }, > _ > > No I haven't tested that change - I don't have a kernel development environment setup and unfortunately I don't have any more work time to budget to the issue beyond reporting it. Also, I meant to say that Rev B2 has PCI id 1186:4B01 (although you seem to have figured that out). Thanks, James On Wed, 6 Jul 2011 17:48:44 -0400 James Henderson <JamesHenderson@ruggedcom.com> wrote: > Andrew Morton wrote: > > (switched to email. Please respond via emailed reply-to-all, not via the > > bugzilla web interface). > > > > On Wed, 6 Jul 2011 16:05:36 GMT > > bugzilla-daemon@bugzilla.kernel.org wrote: > > > > > >> https://bugzilla.kernel.org/show_bug.cgi?id=38862 > >> > >> Summary: No support for DGE-530T Rev C1 > >> Product: Drivers > >> Version: 2.5 > >> Kernel Version: 2.6.39.2 > >> Platform: All > >> OS/Version: Linux > >> Tree: Mainline > >> Status: NEW > >> Severity: normal > >> Priority: P1 > >> Component: Network > >> AssignedTo: drivers_network@kernel-bugs.osdl.org > >> ReportedBy: jameshenderson@ruggedcom.com > >> Regression: No > >> > >> > >> The kernel support DGE-530T REV B2 through the skge driver. The PCI > device id > >> of REV-B2 is 1186:4302. Rev C1 has a PCI device id of 1186:4302. No > driver in > >> the current kernel supports this device id/vendor combination. > Furthermore, > >> this device is not even listed in the device database -> > >> http://www.pcidatabase.com/vendor_details.php?id=921 . > >> > >> On the chip is the following information: > >> D-Link > >> DLG10028C > >> A8A34A1 > >> GA50 TAIWAN > >> > >> A sticker on the card reads: > >> DGE-530T Rev C1 > >> > >> I am including a picture I took of the card. > >> > >> > > > > Did you test simply adding that device to the driver? > > > > --- a/drivers/net/skge.c~a > > +++ a/drivers/net/skge.c > > @@ -89,6 +89,7 @@ static DEFINE_PCI_DEVICE_TABLE(skge_id_t > > { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, PCI_DEVICE_ID_SYSKONNECT_YU) }, > > { PCI_DEVICE(PCI_VENDOR_ID_DLINK, PCI_DEVICE_ID_DLINK_DGE510T) }, > > { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4b01) }, /* DGE-530T */ > > + { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4302) }, /* DGE-530T Rev C1 */ > > { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x4320) }, > > { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, 0x5005) }, /* Belkin */ > > { PCI_DEVICE(PCI_VENDOR_ID_CNET, PCI_DEVICE_ID_CNET_GIGACARD) }, > > _ I will go look at the Marvell Syskonnect driver, they occasionally up date it with new ID's. Addressed in David Miller's fixes branch by commit 93a3aa25933461d76141179fc94aa32d5f9d954a from Lennart Sorensen. This is a 8169 in disguise. A patch referencing this bug report has been merged in Linux v3.1-rc1: commit c074304c2bcf4b45e2b7ff86011beaa035ee52fd Author: stephen hemminger <shemminger@vyatta.com> Date: Wed Jul 6 19:00:06 2011 +0000 add pci-id for DGE-530T |