mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
c9ce1fa1c2
Prevent drivers from building on PPC32 if they use isa_bus_to_virt(), isa_virt_to_bus(), or isa_page_to_bus(), which are not available and thus cause build errors. ../drivers/net/ethernet/3com/3c515.c: In function 'corkscrew_open': ../drivers/net/ethernet/3com/3c515.c:824:9: error: implicit declaration of function 'isa_virt_to_bus'; did you mean 'virt_to_bus'? [-Werror=implicit-function-declaration] ../drivers/net/ethernet/amd/lance.c: In function 'lance_rx': ../drivers/net/ethernet/amd/lance.c:1203:23: error: implicit declaration of function 'isa_bus_to_virt'; did you mean 'bus_to_virt'? [-Werror=implicit-function-declaration] ../drivers/net/ethernet/amd/ni65.c: In function 'ni65_init_lance': ../drivers/net/ethernet/amd/ni65.c:585:20: error: implicit declaration of function 'isa_virt_to_bus'; did you mean 'virt_to_bus'? [-Werror=implicit-function-declaration] ../drivers/net/ethernet/cirrus/cs89x0.c: In function 'net_open': ../drivers/net/ethernet/cirrus/cs89x0.c:897:20: error: implicit declaration of function 'isa_virt_to_bus'; did you mean 'virt_to_bus'? [-Werror=implicit-function-declaration] Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Suggested-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: David S. Miller <davem@davemloft.net>
61 lines
1.7 KiB
Plaintext
61 lines
1.7 KiB
Plaintext
#
|
|
# Cirrus network device configuration
|
|
#
|
|
|
|
config NET_VENDOR_CIRRUS
|
|
bool "Cirrus devices"
|
|
default y
|
|
depends on ISA || EISA || ARM || MAC
|
|
---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 Cirrus cards. If you say Y, you will be asked
|
|
for your specific card in the following questions.
|
|
|
|
if NET_VENDOR_CIRRUS
|
|
|
|
config CS89x0
|
|
tristate "CS89x0 support"
|
|
depends on ISA || EISA || ARM
|
|
depends on !PPC32
|
|
---help---
|
|
Support for CS89x0 chipset based Ethernet cards. If you have a
|
|
network (Ethernet) card of this type, say Y and read the file
|
|
<file:Documentation/networking/cs89x0.txt>.
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
will be called cs89x0.
|
|
|
|
config CS89x0_PLATFORM
|
|
bool "CS89x0 platform driver support" if HAS_IOPORT_MAP
|
|
default !HAS_IOPORT_MAP
|
|
depends on CS89x0
|
|
help
|
|
Say Y to compile the cs89x0 driver as a platform driver. This
|
|
makes this driver suitable for use on certain evaluation boards
|
|
such as the iMX21ADS.
|
|
|
|
If you are unsure, say N.
|
|
|
|
config EP93XX_ETH
|
|
tristate "EP93xx Ethernet support"
|
|
depends on ARM && ARCH_EP93XX
|
|
select MII
|
|
help
|
|
This is a driver for the ethernet hardware included in EP93xx CPUs.
|
|
Say Y if you are building a kernel for EP93xx based devices.
|
|
|
|
config MAC89x0
|
|
tristate "Macintosh CS89x0 based ethernet cards"
|
|
depends on MAC
|
|
---help---
|
|
Support for CS89x0 chipset based Ethernet cards. If you have a
|
|
Nubus or LC-PDS network (Ethernet) card of this type, say Y here.
|
|
|
|
To compile this driver as a module, choose M here. This module will
|
|
be called mac89x0.
|
|
|
|
endif # NET_VENDOR_CIRRUS
|