On Tue, 2019-07-09 at 23:33 +, Joe Hershberger wrote:
> On Mon, Jun 17, 2019 at 8:43 PM Samuel Mendoza-Jonas
> wrote:
> > Add the handling of NC-SI ethernet frames, and add a check at the
> > start
> > of net_loop() to configure NC-SI before starting other network
>
On Wed, 2019-06-19 at 02:35 +, Joel Stanley wrote:
> On Tue, 18 Jun 2019 at 01:38, Samuel Mendoza-Jonas
> wrote:
> > Add the handling of NC-SI ethernet frames, and add a check at the start
> > of net_loop() to configure NC-SI before starting other network commands.
>
Add the handling of NC-SI ethernet frames, and add a check at the start
of net_loop() to configure NC-SI before starting other network commands.
This also adds an "ncsi" command to manually start NC-SI configuration.
Signed-off-by: Samuel Mendoza-Jonas
---
v2: Update ncsi command help
the NC-SI phy.
Signed-off-by: Samuel Mendoza-Jonas
---
drivers/net/ftgmac100.c | 39 +--
1 file changed, 29 insertions(+), 10 deletions(-)
diff --git a/drivers/net/ftgmac100.c b/drivers/net/ftgmac100.c
index 92c38a81bd..c0100e91c7 100644
--- a/drivers/net
.
Signed-off-by: Samuel Mendoza-Jonas
---
drivers/net/phy/phy.c | 7 +++
include/phy.h | 11 +++
include/phy_interface.h | 2 ++
3 files changed, 20 insertions(+)
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index c1c1af9abd..dc68f25ebf 100644
--- a/drivers
] is copied from the Linux kernel for consistent
field definitions.
[0]: https://github.com/torvalds/linux/tree/master/net/ncsi
[1]: https://github.com/torvalds/linux/blob/master/net/ncsi/ncsi-pkt.h
Signed-off-by: Samuel Mendoza-Jonas
---
v2:
- Fix endianess issue when setting MAC address
- Make che
/
Changes in v2:
- Fix endianess issue when setting MAC address
- Make checksum offsets easier to read
- Instantiate per-phy ncsi_priv structures
- Update ncsi command help text
- Used update ncsi-pkt.h version to include SPDX header
Samuel Mendoza-Jonas (4):
phy: Add support for the NC-SI protocol
On Wed, 2019-06-12 at 02:05 +, Joel Stanley wrote:
> On Thu, 6 Jun 2019 at 04:50, Samuel Mendoza-Jonas
> wrote:
> > Add the handling of NC-SI ethernet frames, and add a check at the start
> > of net_loop() to configure NC-SI before starting other network commands.
> >
On Wed, 2019-06-12 at 03:04 +, Joel Stanley wrote:
> On Thu, 6 Jun 2019 at 04:50, Samuel Mendoza-Jonas
> wrote:
> > Update the ftgmac100 driver to support NC-SI instead of an mdio phy
> > where available. This is a common setup for Aspeed AST2x00 platforms.
> >
>
On Wed, 2019-06-12 at 02:40 +, Joel Stanley wrote:
> On Thu, 6 Jun 2019 at 04:50, Samuel Mendoza-Jonas
> wrote:
> > This introduces support for the NC-SI protocol, modelled as a phy driver
> > for other ethernet drivers to consume.
> >
> > NC-SI (Network Contr
Add the handling of NC-SI ethernet frames, and add a check at the start
of net_loop() to configure NC-SI before starting other network commands.
This also adds an "ncsi" command to manually start NC-SI configuration.
Signed-off-by: Samuel Mendoza-Jonas
---
cmd/Kconfig | 6 ++
the NC-SI phy.
Signed-off-by: Samuel Mendoza-Jonas
---
drivers/net/ftgmac100.c | 39 +--
1 file changed, 29 insertions(+), 10 deletions(-)
diff --git a/drivers/net/ftgmac100.c b/drivers/net/ftgmac100.c
index 92c38a81bd..c0100e91c7 100644
--- a/drivers/net
] is copied from the Linux kernel for consistent
field definitions.
[0]: https://github.com/torvalds/linux/tree/master/net/ncsi
[1]: https://github.com/torvalds/linux/blob/master/net/ncsi/ncsi-pkt.h
Signed-off-by: Samuel Mendoza-Jonas
---
drivers/net/phy/Kconfig | 4 +
drivers/net/phy/Makefile
.
Signed-off-by: Samuel Mendoza-Jonas
---
drivers/net/phy/phy.c | 8
include/phy.h | 11 +++
include/phy_interface.h | 2 ++
3 files changed, 21 insertions(+)
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index cda4caa803..c2bc57c45d 100644
--- a/drivers
ing NCSI first
ethernet@1e66: link up, 100 Mbps full-duplex mac:0c:c4:7a:d5:48:43
NCSI: probing channels
NCSI: configuring channel 0
NCSI: configuration done!
BOOTP broadcast 1
BOOTP broadcast 2
DHCP client bound to address 10.61.161.188 (255 ms)
[0]: https://patchwork.ozlabs.org/patch/1107087/
2.7; our IP address is 10.61.254.32
Filename '0A3DFE20.img'.
Load address: 0x8300
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
[0] https://github.com/torvalds/linux/tree/master/net/ncsi
Signed-off-by: Samuel Mendoza-Jonas
---
cmd/Kconfig | 6 +
16 matches
Mail list logo