* [PATCH] Add Fujitsu 1000base-SX PCI ID to tg3
@ 2011-05-25 15:43 Meelis Roos
2011-06-01 21:14 ` Matt Carlson
0 siblings, 1 reply; 3+ messages in thread
From: Meelis Roos @ 2011-05-25 15:43 UTC (permalink / raw)
To: Matt Carlson, Michael Chan; +Cc: netdev
This patch adds the PCI ID of Fujitsu 1000base-SX NIC to tg3 driver.
Tested to detect the card, MAC and serdes, not tested with link at the
moment since I have no fiber switch here. I did not add new constants to
the pci_ids.h header file since these constants are used only here.
Signed-off-by: Meelis Roos <mroos@linux.ee>
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index 7a5daef..7b1901e 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -273,6 +273,7 @@ static DEFINE_PCI_DEVICE_TABLE(tg3_pci_tbl) = {
{PCI_DEVICE(PCI_VENDOR_ID_ALTIMA, PCI_DEVICE_ID_ALTIMA_AC1003)},
{PCI_DEVICE(PCI_VENDOR_ID_ALTIMA, PCI_DEVICE_ID_ALTIMA_AC9100)},
{PCI_DEVICE(PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_TIGON3)},
+ {PCI_DEVICE(0x10cf, 0x11a2)}, /* Fujitsu 1000base-SX with BCM5703SKHB */
{}
};
--
Meelis Roos (mroos@linux.ee)
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] Add Fujitsu 1000base-SX PCI ID to tg3
2011-05-25 15:43 [PATCH] Add Fujitsu 1000base-SX PCI ID to tg3 Meelis Roos
@ 2011-06-01 21:14 ` Matt Carlson
2011-06-02 12:35 ` Meelis Roos
0 siblings, 1 reply; 3+ messages in thread
From: Matt Carlson @ 2011-06-01 21:14 UTC (permalink / raw)
To: Meelis Roos; +Cc: Matthew Carlson, Michael Chan, netdev@vger.kernel.org
On Wed, May 25, 2011 at 08:43:47AM -0700, Meelis Roos wrote:
> This patch adds the PCI ID of Fujitsu 1000base-SX NIC to tg3 driver.
> Tested to detect the card, MAC and serdes, not tested with link at the
> moment since I have no fiber switch here. I did not add new constants to
> the pci_ids.h header file since these constants are used only here.
>
> Signed-off-by: Meelis Roos <mroos@linux.ee>
>
> diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
> index 7a5daef..7b1901e 100644
> --- a/drivers/net/tg3.c
> +++ b/drivers/net/tg3.c
> @@ -273,6 +273,7 @@ static DEFINE_PCI_DEVICE_TABLE(tg3_pci_tbl) = {
> {PCI_DEVICE(PCI_VENDOR_ID_ALTIMA, PCI_DEVICE_ID_ALTIMA_AC1003)},
> {PCI_DEVICE(PCI_VENDOR_ID_ALTIMA, PCI_DEVICE_ID_ALTIMA_AC9100)},
> {PCI_DEVICE(PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_TIGON3)},
> + {PCI_DEVICE(0x10cf, 0x11a2)}, /* Fujitsu 1000base-SX with BCM5703SKHB */
> {}
> };
I don't have any problems with the patch, but before we integrate it,
can we make sure it passes traffic? I'd hate to add support for a
device and later find out it doesn't work.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] Add Fujitsu 1000base-SX PCI ID to tg3
2011-06-01 21:14 ` Matt Carlson
@ 2011-06-02 12:35 ` Meelis Roos
0 siblings, 0 replies; 3+ messages in thread
From: Meelis Roos @ 2011-06-02 12:35 UTC (permalink / raw)
To: Matt Carlson; +Cc: Michael Chan, netdev@vger.kernel.org
> > This patch adds the PCI ID of Fujitsu 1000base-SX NIC to tg3 driver.
> > Tested to detect the card, MAC and serdes, not tested with link at the
> > moment since I have no fiber switch here. I did not add new constants to
> > the pci_ids.h header file since these constants are used only here.
> >
> > Signed-off-by: Meelis Roos <mroos@linux.ee>
> >
> > diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
> > index 7a5daef..7b1901e 100644
> > --- a/drivers/net/tg3.c
> > +++ b/drivers/net/tg3.c
> > @@ -273,6 +273,7 @@ static DEFINE_PCI_DEVICE_TABLE(tg3_pci_tbl) = {
> > {PCI_DEVICE(PCI_VENDOR_ID_ALTIMA, PCI_DEVICE_ID_ALTIMA_AC1003)},
> > {PCI_DEVICE(PCI_VENDOR_ID_ALTIMA, PCI_DEVICE_ID_ALTIMA_AC9100)},
> > {PCI_DEVICE(PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_TIGON3)},
> > + {PCI_DEVICE(0x10cf, 0x11a2)}, /* Fujitsu 1000base-SX with BCM5703SKHB */
> > {}
> > };
>
> I don't have any problems with the patch, but before we integrate it,
> can we make sure it passes traffic? I'd hate to add support for a
> device and later find out it doesn't work.
Checked with direct link to another NIC, link came up.
[ 99.067432] tg3 0000:01:0b.0: eth1: Link is up at 1000 Mbps, full duplex
[ 99.067662] tg3 0000:01:0b.0: eth1: Flow control is on for TX and on for RX
I can also see DHCP requests from one interface on the other with
tcpdump, so data gets also through. Seems to work.
--
Meelis Roos (mroos@linux.ee)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-02 13:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-25 15:43 [PATCH] Add Fujitsu 1000base-SX PCI ID to tg3 Meelis Roos
2011-06-01 21:14 ` Matt Carlson
2011-06-02 12:35 ` Meelis Roos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox