linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bjarni Jonasson <bjarni.jonasson@microchip.com>
To: Russell King - ARM Linux admin <linux@armlinux.org.uk>
Cc: Andrew Lunn <andrew@lunn.ch>,
	Heiner Kallweit <hkallweit1@gmail.com>,
	"David S. Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>, <netdev@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>,
	UNGLinuxDriver <UNGLinuxDriver@microchip.com>
Subject: Re: [PATCH v1 0/2] Add 100 base-x mode
Date: Tue, 12 Jan 2021 15:33:34 +0100	[thread overview]
Message-ID: <a727ddabfed0dbd0cf75a045076df7a66d4d6a67.camel@microchip.com> (raw)
In-Reply-To: <20210111141847.GU1551@shell.armlinux.org.uk>

[-- Attachment #1: Type: text/plain, Size: 1124 bytes --]

On Mon, 2021-01-11 at 14:18 +0000, Russell King - ARM Linux admin
wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you
> know the content is safe
> 
> On Mon, Jan 11, 2021 at 02:06:55PM +0100, Bjarni Jonasson wrote:
> > Adding support for 100 base-x in phylink.
> > The Sparx5 switch supports 100 base-x pcs (IEEE 802.3 Clause 24)
> > 4b5b encoded.
> > These patches adds phylink support for that mode.
> > 
> > Tested in Sparx5, using sfp modules:
> > Axcen 100fx AXFE-1314-0521
> > Cisco GLC-FE-100LX
> > HP SFP 100FX J9054C
> > Excom SFP-SX-M1002
> 
> For each of these modules, please send me:
> 
> ethtool -m ethx raw on > module.bin
> 
> so I can validate future changes with these modules. Thanks.
> 
> --
> RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
> FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

I've included the dump from ethtool for:
Axcen 100fx AXFE-1314-0521
Axcen 100lx AXFE-1314-0551
Excom SFP-SX-M1002
HP SFP 100FX J9054C
The "ethtool raw" output seems a bit garbled so I added the hex output
as well.

Rgds
--
Bjarni Jonasson
Microchip 


[-- Attachment #2: axcen_100fx_axfe_1314_0521.bin --]
[-- Type: application/octet-stream, Size: 1486 bytes --]

# ethtool -m eth13 raw on
 ÈÈAxcen Photonics -AXFE-1314-0521  V1.0CAX10190001946   100512  «EXTREMELY COMPATIBLE            A09090300419    ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ#

# ethtool -m eth13 hex on
Offset          Values
------          ------
0x0000:         03 04 07 00 00 01 20 00 00 00 00 02 01 00 00 00
0x0010:         c8 c8 00 00 41 78 63 65 6e 20 50 68 6f 74 6f 6e
0x0020:         69 63 73 20 00 00 17 2d 41 58 46 45 2d 31 33 31
0x0030:         34 2d 30 35 32 31 20 20 56 31 2e 30 05 1e 00 43
0x0040:         00 1a 00 00 41 58 31 30 31 39 30 30 30 31 39 34
0x0050:         36 20 20 20 31 30 30 35 31 32 20 20 00 00 00 ab
0x0060:         45 58 54 52 45 4d 45 4c 59 20 43 4f 4d 50 41 54
0x0070:         49 42 4c 45 20 20 20 20 20 20 20 20 20 20 20 20
0x0080:         41 30 39 30 39 30 33 30 30 34 31 39 20 20 20 20
0x0090:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00a0:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00b0:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00c0:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00d0:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00e0:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00f0:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

[-- Attachment #3: axcen_100lx_axfe_1314_0551.bin --]
[-- Type: application/octet-stream, Size: 1484 bytes --]

# ethtool -m eth13 raw on
ÿAxcen Photonics -AXFE-1314-0551  V1.0ÔAX14091702260   090420  ²EXTREMELY COMPATIBLE            A090300031001557ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ#

# ethtool -m eth13 hex on
Offset          Values
------          ------
0x0000:         03 04 07 00 10 02 10 00 00 00 00 02 01 00 1e ff
0x0010:         00 00 00 00 41 78 63 65 6e 20 50 68 6f 74 6f 6e
0x0020:         69 63 73 20 00 00 17 2d 41 58 46 45 2d 31 33 31
0x0030:         34 2d 30 35 35 31 20 20 56 31 2e 30 05 1e 00 d4
0x0040:         00 1a 00 00 41 58 31 34 30 39 31 37 30 32 32 36
0x0050:         30 20 20 20 30 39 30 34 32 30 20 20 00 00 00 b2
0x0060:         45 58 54 52 45 4d 45 4c 59 20 43 4f 4d 50 41 54
0x0070:         49 42 4c 45 20 20 20 20 20 20 20 20 20 20 20 20
0x0080:         41 30 39 30 33 30 30 30 33 31 30 30 31 35 35 37
0x0090:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00a0:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00b0:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00c0:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00d0:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00e0:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00f0:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

[-- Attachment #4: excom_sfp_sx_m1002.bin --]
[-- Type: application/octet-stream, Size: 2751 bytes --]

# ethtool -m eth13 raw on
´ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿZÓUØpim`ÃP¯È2
                                                                                                                                              Zû Ð<¦ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ?ÿÿÿs*ÿÿÿÿ@ÿ@ÿÿÿCNUIADYAAA10-2077-01V01 F¿ªªGLC-FE-100FX        167(..14)6fÿÀÿÿÿÀÿÿ#

# ethtool -m eth13 hex on
Offset          Values
------          ------
0x0000:         03 04 07 00 00 01 10 00 00 00 00 02 01 00 00 00
0x0010:         c8 c8 00 00 45 78 63 6f 6d 20 20 20 20 20 20 20
0x0020:         20 20 20 20 00 00 00 00 53 46 50 2d 53 58 2d 4d
0x0030:         31 30 30 32 20 20 20 20 41 20 20 20 05 1e 00 50
0x0040:         00 12 00 00 45 58 31 36 30 33 31 34 30 33 36 20
0x0050:         20 20 20 20 31 36 30 33 31 34 20 20 68 90 01 7f
0x0060:         2b 00 11 38 97 ce 09 19 1e 69 ca eb e5 17 6a 5e
0x0070:         89 ac ce 00 00 00 00 00 00 00 00 00 1a 7d 8d b4
0x0080:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0090:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00a0:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00b0:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00c0:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00d0:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00e0:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x00f0:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
0x0100:         5a 00 d3 00 55 00 d8 00 94 70 69 78 90 88 6d 60
0x0110:         c3 50 00 00 af c8 00 32 0c 5a 00 fb 09 d0 01 3c
0x0120:         18 a6 00 03 13 94 00 04 ff ff ff ff ff ff ff ff
0x0130:         ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00
0x0140:         00 00 00 00 3f 80 00 00 00 00 00 00 01 00 00 00
0x0150:         01 00 00 00 01 00 00 00 01 00 00 00 ff ff ff 73
0x0160:         1b 06 83 c1 2b d4 03 e2 00 00 ff ff ff ff 02 00
0x0170:         00 40 00 ff 00 40 ff ff 00 00 ff 00 00 00 00 00
0x0180:         43 4e 55 49 41 44 59 41 41 41 31 30 2d 32 30 37
0x0190:         37 2d 30 31 56 30 31 20 01 00 46 00 00 00 00 bf
0x01a0:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x01b0:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 aa aa
0x01c0:         47 4c 43 2d 46 45 2d 31 30 30 46 58 20 20 20 20
0x01d0:         20 20 20 20 31 36 00 00 00 00 00 00 00 00 00 37
0x01e0:         1e 28 2e 2e 31 34 29 36 00 00 00 00 00 00 00 00
0x01f0:         00 00 00 00 00 66 00 00 ff c0 ff ff ff c0 ff ff

[-- Attachment #5: hp_100fx_j9054c.bin --]
[-- Type: application/octet-stream, Size: 2471 bytes --]

# ethtool -m eth13 raw on
@ÈÈOPNEXT INC
                   @TRF5326ANLB404  A2A ICN19DY900H      110930  hðJ9054C 1990-4112FýÖEñâ>HP ProCurve Proprietary Technology - Use implies acceptance of licensing terms.HP100-FX    UöPû
                                         u¸yu0ôa¨èÿÿ
ÿÿ
võ?mÐ@@

# ethtool -m eth13 hex on
Offset          Values
------          ------
0x0000:         03 04 07 00 00 00 40 00 00 00 00 02 01 00 00 00
0x0010:         c8 c8 00 00 4f 50 4e 45 58 54 20 49 4e 43 20 20
0x0020:         20 20 20 20 00 00 0b 40 54 52 46 35 33 32 36 41
0x0030:         4e 4c 42 34 30 34 20 20 41 32 41 20 00 00 00 49
0x0040:         00 1a 00 00 43 4e 31 39 44 59 39 30 30 48 20 20
0x0050:         20 20 20 20 31 31 30 39 33 30 20 20 68 f0 01 1a
0x0060:         00 00 00 00 00 00 00 00 4a 39 30 35 34 43 20 31
0x0070:         39 39 30 2d 34 31 31 32 46 fd d6 80 45 f1 86 e2
0x0080:         3e 48 50 20 50 72 6f 43 75 72 76 65 20 50 72 6f
0x0090:         70 72 69 65 74 61 72 79 20 54 65 63 68 6e 6f 6c
0x00a0:         6f 67 79 20 2d 20 55 73 65 20 69 6d 70 6c 69 65
0x00b0:         73 20 61 63 63 65 70 74 61 6e 63 65 20 6f 66 20
0x00c0:         6c 69 63 65 6e 73 69 6e 67 20 74 65 72 6d 73 2e
0x00d0:         48 50 31 30 30 2d 46 58 20 20 20 20 00 00 00 00
0x00e0:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x00f0:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0100:         55 00 f6 00 50 00 fb 00 8c a0 75 30 88 b8 79 18
0x0110:         75 30 01 f4 61 a8 03 e8 ff ff 00 0a ff ff 00 0a
0x0120:         02 76 00 05 01 f5 00 06 00 00 00 00 00 00 00 00
0x0130:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0140:         00 00 00 00 3f 80 00 00 00 00 00 00 01 00 00 00
0x0150:         01 00 00 00 01 00 00 00 01 00 00 00 00 00 00 12
0x0160:         1e 00 82 00 1f 35 00 d8 00 00 00 00 00 00 12 00
0x0170:         00 40 00 00 00 40 00 00 00 00 00 00 00 00 00 00
0x0180:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0190:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x01a0:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x01b0:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x01c0:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x01d0:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x01e0:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x01f0:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

  reply	other threads:[~2021-01-12 14:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-11 13:06 [PATCH v1 0/2] Add 100 base-x mode Bjarni Jonasson
2021-01-11 13:06 ` [PATCH v1 1/2] net: phy: " Bjarni Jonasson
2021-01-11 14:19   ` Russell King - ARM Linux admin
2021-01-11 14:26   ` Andrew Lunn
2021-01-11 16:47   ` Russell King - ARM Linux admin
2021-01-12 15:32     ` Bjarni Jonasson
2021-01-11 19:37   ` Michał Mirosław
2021-01-12 15:34     ` Bjarni Jonasson
2021-01-11 13:06 ` [PATCH v1 2/2] sfp: add support for 100 base-x SFPs Bjarni Jonasson
2021-01-11 14:22   ` Russell King - ARM Linux admin
2021-01-12 15:31     ` Bjarni Jonasson
2021-01-12 15:39       ` Andrew Lunn
2021-01-11 14:18 ` [PATCH v1 0/2] Add 100 base-x mode Russell King - ARM Linux admin
2021-01-12 14:33   ` Bjarni Jonasson [this message]
2021-01-12 16:05     ` Russell King - ARM Linux admin
2021-01-13  9:45       ` Bjarni Jonasson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a727ddabfed0dbd0cf75a045076df7a66d4d6a67.camel@microchip.com \
    --to=bjarni.jonasson@microchip.com \
    --cc=UNGLinuxDriver@microchip.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=hkallweit1@gmail.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).