netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/7] tg3: MII => TP
@ 2007-10-19 21:36 Matt Carlson
  2007-10-19 23:10 ` linux kernel networking code review request Templin, Fred L
  2007-10-21 23:14 ` [PATCH 2/7] tg3: MII => TP David Miller
  0 siblings, 2 replies; 7+ messages in thread
From: Matt Carlson @ 2007-10-19 21:36 UTC (permalink / raw)
  To: davem; +Cc: netdev, andy, Michael Chan

This patch changes the PHY type reported through ethtool for copper
devices from MII to TP.  The latter is more accurate.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>

diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index 253d761..66682b8 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -8274,7 +8274,7 @@ static int tg3_get_settings(struct net_device *dev, struct ethtool_cmd *cmd)
 				  SUPPORTED_100baseT_Full |
 				  SUPPORTED_10baseT_Half |
 				  SUPPORTED_10baseT_Full |
-				  SUPPORTED_MII);
+				  SUPPORTED_TP);
 		cmd->port = PORT_TP;
 	} else {
 		cmd->supported |= SUPPORTED_FIBRE;



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* linux kernel networking code review request
  2007-10-19 21:36 [PATCH 2/7] tg3: MII => TP Matt Carlson
@ 2007-10-19 23:10 ` Templin, Fred L
  2007-10-20  2:15   ` Dmitry Torokhov
  2007-10-21 23:14 ` [PATCH 2/7] tg3: MII => TP David Miller
  1 sibling, 1 reply; 7+ messages in thread
From: Templin, Fred L @ 2007-10-19 23:10 UTC (permalink / raw)
  To: netdev; +Cc: Templin, Fred L

Hello,

I would like to get a review on some new Linux
kernel networking code. The code is based on the
2.6.23 source tree and touches three files - two
in ./net/ipv6 and one in ./include/net. What is
the proper procedure for requesting a review?

Thanks - Fred
fred.l.templin@boeing.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: linux kernel networking code review request
  2007-10-19 23:10 ` linux kernel networking code review request Templin, Fred L
@ 2007-10-20  2:15   ` Dmitry Torokhov
  2007-10-20  7:05     ` Ilpo Järvinen
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Torokhov @ 2007-10-20  2:15 UTC (permalink / raw)
  To: Templin, Fred L; +Cc: netdev

On Friday 19 October 2007, Templin, Fred L wrote:
> Hello,
> 
> I would like to get a review on some new Linux
> kernel networking code. The code is based on the
> 2.6.23 source tree and touches three files - two
> in ./net/ipv6 and one in ./include/net. What is
> the proper procedure for requesting a review?
> 

Just don your flameproof pants and post the changes here ;)

-- 
Dmitry

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: linux kernel networking code review request
  2007-10-20  2:15   ` Dmitry Torokhov
@ 2007-10-20  7:05     ` Ilpo Järvinen
  0 siblings, 0 replies; 7+ messages in thread
From: Ilpo Järvinen @ 2007-10-20  7:05 UTC (permalink / raw)
  To: Templin, Fred L; +Cc: Netdev, Dmitry Torokhov

On Fri, 19 Oct 2007, Dmitry Torokhov wrote:

> On Friday 19 October 2007, Templin, Fred L wrote:
> > Hello,
> > 
> > I would like to get a review on some new Linux
> > kernel networking code. The code is based on the
> > 2.6.23 source tree and touches three files - two
> > in ./net/ipv6 and one in ./include/net. What is
> > the proper procedure for requesting a review?
> > 
> 
> Just don your flameproof pants and post the changes here ;)

In addition, check what is being said in Documentation/SubmittingPatches

:-)

-- 
 i.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/7] tg3: MII => TP
  2007-10-19 21:36 [PATCH 2/7] tg3: MII => TP Matt Carlson
  2007-10-19 23:10 ` linux kernel networking code review request Templin, Fred L
@ 2007-10-21 23:14 ` David Miller
  2007-10-22  3:49   ` Michael Chan
  1 sibling, 1 reply; 7+ messages in thread
From: David Miller @ 2007-10-21 23:14 UTC (permalink / raw)
  To: mcarlson; +Cc: netdev, andy, mchan

From: "Matt Carlson" <mcarlson@broadcom.com>
Date: Fri, 19 Oct 2007 14:36:42 -0700

> This patch changes the PHY type reported through ethtool for copper
> devices from MII to TP.  The latter is more accurate.
> 
> Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
> Signed-off-by: Michael Chan <mchan@broadcom.com>

You should set both MII and TP, since these copper interfaces
have a MII based twisted-pair physical layer.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/7] tg3: MII => TP
  2007-10-21 23:14 ` [PATCH 2/7] tg3: MII => TP David Miller
@ 2007-10-22  3:49   ` Michael Chan
  2007-10-22  4:00     ` David Miller
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Chan @ 2007-10-22  3:49 UTC (permalink / raw)
  To: David Miller, Matthew Carlson; +Cc: netdev, andy

David Miller wrote:

> From: "Matt Carlson" <mcarlson@broadcom.com>
> Date: Fri, 19 Oct 2007 14:36:42 -0700
> 
> > This patch changes the PHY type reported through ethtool for copper
> > devices from MII to TP.  The latter is more accurate.
> > 
> > Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
> > Signed-off-by: Michael Chan <mchan@broadcom.com>
> 
> You should set both MII and TP, since these copper interfaces
> have a MII based twisted-pair physical layer.
> 
> 

MII in this ethtool context means an MII connector on the card
that can connect to an external transceiver, right?

Or does it mean internal MII interface to the PHY?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/7] tg3: MII => TP
  2007-10-22  3:49   ` Michael Chan
@ 2007-10-22  4:00     ` David Miller
  0 siblings, 0 replies; 7+ messages in thread
From: David Miller @ 2007-10-22  4:00 UTC (permalink / raw)
  To: mchan; +Cc: mcarlson, netdev, andy

From: "Michael Chan" <mchan@broadcom.com>
Date: Sun, 21 Oct 2007 20:49:25 -0700

> MII in this ethtool context means an MII connector on the card
> that can connect to an external transceiver, right?
> 
> Or does it mean internal MII interface to the PHY?

Good question.  Looking at drivers it's set randomly.

Probably you are right and it's supposed to mean you can specify
PORT_MII in ethtool_cmd->port to select the external MII connector.

Please resubmit this change after the PCI error recovery
issues are resolved.

Thanks.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-10-22  4:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-19 21:36 [PATCH 2/7] tg3: MII => TP Matt Carlson
2007-10-19 23:10 ` linux kernel networking code review request Templin, Fred L
2007-10-20  2:15   ` Dmitry Torokhov
2007-10-20  7:05     ` Ilpo Järvinen
2007-10-21 23:14 ` [PATCH 2/7] tg3: MII => TP David Miller
2007-10-22  3:49   ` Michael Chan
2007-10-22  4:00     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).