Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add packet driver for NE2K compatible #1

Closed
mfld-fr opened this issue Jan 22, 2017 · 2 comments
Closed

Add packet driver for NE2K compatible #1

mfld-fr opened this issue Jan 22, 2017 · 2 comments

Comments

@mfld-fr
Copy link
Owner

mfld-fr commented Jan 22, 2017

As the Asix AX88796-L chip on my SBC is claimed to be NE2K compatible in its datasheet, implement a tiny packet driver that could be connected later as backend to ktcp.

For implementation guidelines:
http://www.spinics.net/lists/linux-8086/msg00722.html
http://www.spinics.net/lists/linux-8086/msg00719.html

@mfld-fr mfld-fr self-assigned this Jan 22, 2017
@mfld-fr mfld-fr changed the title Add packet driver for N2K compatible Add packet driver for NE2K compatible Jan 22, 2017
@mfld-fr
Copy link
Owner Author

mfld-fr commented Jan 27, 2017

Implementation started in branch ne2k.

As ELKS does not provide MDIO routines as modern Linux, first step is to drive the PHY and manage the link status, the speed and the duplex mode. Second step is to drive the MAC.

@mfld-fr
Copy link
Owner Author

mfld-fr commented Jan 28, 2017

Implementation and testing next steps:

  • Draft of low-level routines
  • Draft of test program
  • Read PHY registers and link status
  • Internal DMA write / read loop
  • Receive single packet
  • Send single packet
  • ARP responder
  • Continuous packet stream

mfld-fr added a commit that referenced this issue Jan 29, 2017
mfld-fr added a commit that referenced this issue Jan 31, 2017
mfld-fr added a commit that referenced this issue Feb 3, 2017
@mfld-fr mfld-fr closed this as completed in fb4858a Feb 4, 2017
@mfld-fr mfld-fr added this to NE2K driver in Ethernet networking Feb 10, 2017
@mfld-fr mfld-fr added this to the Ethernet networking milestone Feb 10, 2017
@mfld-fr mfld-fr added the done label Oct 30, 2017
mfld-fr pushed a commit that referenced this issue Apr 18, 2020
Update from Official ELKS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Ethernet networking
Ethernet driver
Development

No branches or pull requests

1 participant