forked from Minki/linux
e5e0fbfc4e
If NO_DMA=y: drivers/built-in.o: In function `emac_probe': emac.c:(.text+0x3780b8): undefined reference to `bad_dma_ops' emac.c:(.text+0x3780e2): undefined reference to `bad_dma_ops' emac.c:(.text+0x378112): undefined reference to `bad_dma_ops' emac.c:(.text+0x378146): undefined reference to `bad_dma_ops' emac.c:(.text+0x37816e): undefined reference to `bad_dma_ops' drivers/built-in.o:emac.c:(.text+0x37819a): more undefined references to `bad_dma_ops' follow If NO_IOMEM=y: drivers/net/ethernet/qualcomm/emac/emac.c: In function ‘emac_remove’: drivers/net/ethernet/qualcomm/emac/emac.c:736:3: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration] iounmap(adpt->phy.digital); ^ Add dependencies on HAS_DMA and HAS_IOMEM to fix this. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Timur Tabi <timur@codeaurora.org> Signed-off-by: David S. Miller <davem@davemloft.net>
41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
#
|
|
# Qualcomm network device configuration
|
|
#
|
|
|
|
config NET_VENDOR_QUALCOMM
|
|
bool "Qualcomm 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 Qualcomm cards. If you say Y, you will be asked
|
|
for your specific card in the following questions.
|
|
|
|
if NET_VENDOR_QUALCOMM
|
|
|
|
config QCA7000
|
|
tristate "Qualcomm Atheros QCA7000 support"
|
|
depends on SPI_MASTER && OF
|
|
---help---
|
|
This SPI protocol driver supports the Qualcomm Atheros QCA7000.
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
will be called qcaspi.
|
|
|
|
config QCOM_EMAC
|
|
tristate "Qualcomm Technologies, Inc. EMAC Gigabit Ethernet support"
|
|
depends on HAS_DMA && HAS_IOMEM
|
|
select CRC32
|
|
select PHYLIB
|
|
---help---
|
|
This driver supports the Qualcomm Technologies, Inc. Gigabit
|
|
Ethernet Media Access Controller (EMAC). The controller
|
|
supports IEEE 802.3-2002, half-duplex mode at 10/100 Mb/s,
|
|
full-duplex mode at 10/100/1000Mb/s, Wake On LAN (WOL) for
|
|
low power, Receive-Side Scaling (RSS), and IEEE 1588-2008
|
|
Precision Clock Synchronization Protocol.
|
|
|
|
endif # NET_VENDOR_QUALCOMM
|