mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 07:24:39 +08:00
a24006ed12
Where a PTP clock driver is associated with a net or PHY driver, it should be enabled automatically whenever that driver is enabled. Therefore: - Make PTP clock drivers select rather than depending on PTP_1588_CLOCK - Remove separate boolean options for PTP clock drivers that are built as part of net driver modules. (This also fixes cases where the PTP subsystem is wrongly forced to be built-in.) - Set 'default y' for PTP clock drivers that depend on specific net drivers but are built separately Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
config SFC
|
|
tristate "Solarflare SFC4000/SFC9000-family support"
|
|
depends on PCI && INET
|
|
select MDIO
|
|
select CRC32
|
|
select I2C
|
|
select I2C_ALGOBIT
|
|
---help---
|
|
This driver supports 10-gigabit Ethernet cards based on
|
|
the Solarflare SFC4000 and SFC9000-family controllers.
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
will be called sfc.
|
|
config SFC_MTD
|
|
bool "Solarflare SFC4000/SFC9000-family MTD support"
|
|
depends on SFC && MTD && !(SFC=y && MTD=m)
|
|
default y
|
|
---help---
|
|
This exposes the on-board flash and/or EEPROM as MTD devices
|
|
(e.g. /dev/mtd1). This is required to update the firmware or
|
|
the boot configuration under Linux.
|
|
config SFC_MCDI_MON
|
|
bool "Solarflare SFC9000-family hwmon support"
|
|
depends on SFC && HWMON && !(SFC=y && HWMON=m)
|
|
default y
|
|
----help---
|
|
This exposes the on-board firmware-managed sensors as a
|
|
hardware monitor device.
|
|
config SFC_SRIOV
|
|
bool "Solarflare SFC9000-family SR-IOV support"
|
|
depends on SFC && PCI_IOV
|
|
default y
|
|
---help---
|
|
This enables support for the SFC9000 I/O Virtualization
|
|
features, allowing accelerated network performance in
|
|
virtualized environments.
|