forked from Minki/linux
b2e2f0c779
Instead of registering the platform and PCI drivers in one module let's move necessary bits to where it belongs. During this procedure we convert the module registration part to use module_*_driver() macros which makes code simplier. >From now on the driver consists three parts: core library, PCI, and platform drivers. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
config STMMAC_ETH
|
|
tristate "STMicroelectronics 10/100/1000 Ethernet driver"
|
|
depends on HAS_IOMEM && HAS_DMA
|
|
select MII
|
|
select PHYLIB
|
|
select CRC32
|
|
select PTP_1588_CLOCK
|
|
select RESET_CONTROLLER
|
|
---help---
|
|
This is the driver for the Ethernet IPs are built around a
|
|
Synopsys IP Core and only tested on the STMicroelectronics
|
|
platforms.
|
|
|
|
if STMMAC_ETH
|
|
|
|
config STMMAC_PLATFORM
|
|
tristate "STMMAC Platform bus support"
|
|
depends on STMMAC_ETH
|
|
default y
|
|
---help---
|
|
This selects the platform specific bus support for the stmmac driver.
|
|
This is the driver used on several SoCs:
|
|
STi, Allwinner, Amlogic Meson, Altera SOCFPGA.
|
|
|
|
If you have a controller with this interface, say Y or M here.
|
|
|
|
If unsure, say N.
|
|
|
|
config STMMAC_PCI
|
|
tristate "STMMAC PCI bus support"
|
|
depends on STMMAC_ETH && PCI
|
|
---help---
|
|
This is to select the Synopsys DWMAC available on PCI devices,
|
|
if you have a controller with this interface, say Y or M here.
|
|
|
|
This PCI support is tested on XLINX XC2V3000 FF1152AMT0221
|
|
D1215994A VIRTEX FPGA board.
|
|
|
|
If unsure, say N.
|
|
endif
|