forked from torvalds/linux
Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
net: Driver for LiteETH network interface
Co-developed-by: David Shah <dave@ds0.me> Co-developed-by: Gabriel Somlo <gsomlo@gmail.com> Signed-off-by: David Shah <dave@ds0.me> Signed-off-by: Gabriel Somlo <gsomlo@gmail.com> Signed-off-by: Joel Stanley <joel@jms.id.au>
- Loading branch information
Showing
5 changed files
with
414 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # | ||
| # LiteX device configuration | ||
| # | ||
|
|
||
| config NET_VENDOR_LITEX | ||
| bool "LiteX devices" | ||
| default y | ||
| help | ||
| If you have a network (Ethernet) card belonging to this class, say Y. | ||
|
|
||
| Note that the answer to this question doesn't directly affect the | ||
| kernel: saying N will just cause the configurator to skip all | ||
| the questions about LiteX devices. If you say Y, you will be asked | ||
| for your specific card in the following questions. | ||
|
|
||
| if NET_VENDOR_LITEX | ||
|
|
||
| config LITEX_LITEETH | ||
| tristate "LiteX Ethernet support" | ||
| depends on LITEX_SOC_CONTROLLER | ||
| select NET_CORE | ||
| select MII | ||
| select PHYLIB | ||
| help | ||
| If you wish to compile a kernel for hardware with a LiteX LiteEth | ||
| device then you should answer Y to this. | ||
|
|
||
| endif # NET_VENDOR_LITEX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # | ||
| # Makefile for the LiteX network device drivers. | ||
| # | ||
|
|
||
| obj-$(CONFIG_LITEX_LITEETH) += litex_liteeth.o |
Oops, something went wrong.