-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
drivers: add driver for encx24j600 ethernet chips #2800
Conversation
|
4f43e8a
to
c0dde2b
Compare
|
Does anyone but me have such a device? If not, would someone ACK based on code review? |
@kaspar030 I have order one module from Bulgaria, if you can wait a few more days ... then I can test it. |
Hm, the driver doesn't have many dependencies, so it should be easy to rebase... So I can wait. :) |
Hm, actually I think it would be good to merge this. #3096 can then be changed to support multiple ethernet devices, and also it would make it easier for Elli to use the driver, and they actually paid me to write it. |
Did not forget you :-). Unfortunately not yet had time and my board sticks in "Verzollung" |
@kaspar030 please rebase on master |
|
||
enc_spi_transfer(dev, cmd, result, 4); | ||
|
||
// DEBUG("encx24j600_reg_get: got 0x%x from register 0x%x\n", (result[2] | (result[3] << 8)), reg); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls use c style comments
EDIT:
Why comment out DEBUG? Either its not useful -> remove, or comment it in.
|
39856e8
to
82d754b
Compare
82d754b
to
c2c8c0c
Compare
ACK - merge if Travis is fine. |
a715390
to
0b42731
Compare
0b42731
to
777e02f
Compare
|
rebase required again |
777e02f
to
6126147
Compare
@OlegHahm does your ACK hold? |
Yes, please squash! |
6126147
to
bd698bf
Compare
&go. |
drivers: add driver for encx24j600 ethernet chips
Trying this driver with board from MikroElektronika connected to Atmel Saml21-xpro. |
This adds a driver for encx24j600 ethernet chips, which are connected through SPI.
Waiting for #3683.