mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-14 06:35:12 +00:00
2f4d984b95
It should depends on ETHERNET, otherwise building fails:
drivers/staging/hp/hp100.o: In function `hp100_pci_remove':
hp100.c:(.text+0x165): undefined reference to `unregister_netdev'
hp100.c:(.text+0x214): undefined reference to `free_netdev'
Fixes: 52340b82cf
("hp100: Move 100BaseVG AnyLAN driver to staging")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Link: https://lore.kernel.org/r/20191113021306.35464-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
30 lines
834 B
Text
30 lines
834 B
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# HP network device configuration
|
|
#
|
|
|
|
config NET_VENDOR_HP
|
|
bool "HP devices"
|
|
default y
|
|
depends on ETHERNET
|
|
depends on ISA || EISA || PCI
|
|
---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 HP cards. If you say Y, you will be asked for
|
|
your specific card in the following questions.
|
|
|
|
if NET_VENDOR_HP
|
|
|
|
config HP100
|
|
tristate "HP 10/100VG PCLAN (ISA, EISA, PCI) support"
|
|
depends on (ISA || EISA || PCI)
|
|
---help---
|
|
If you have a network (Ethernet) card of this type, say Y here.
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
will be called hp100.
|
|
|
|
endif # NET_VENDOR_HP
|