mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 05:36:43 +07:00
8761169cf1
Randy Dunlap found that SFC_MTD was selected when sfc was built-in and the MTD core was a module. Don't allow that combination. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
23 lines
668 B
Plaintext
23 lines
668 B
Plaintext
config SFC
|
|
tristate "Solarflare Solarstorm SFC4000 support"
|
|
depends on PCI && INET
|
|
select MII
|
|
select INET_LRO
|
|
select CRC32
|
|
select I2C
|
|
select I2C_ALGOBIT
|
|
help
|
|
This driver supports 10-gigabit Ethernet cards based on
|
|
the Solarflare Communications Solarstorm SFC4000 controller.
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
will be called sfc.
|
|
config SFC_MTD
|
|
bool "Solarflare Solarstorm SFC4000 flash MTD support"
|
|
depends on SFC && MTD && !(SFC=y && MTD=m)
|
|
default y
|
|
help
|
|
This exposes the on-board flash memory as an MTD device (e.g.
|
|
/dev/mtd1). This makes it possible to upload new boot code
|
|
to the NIC.
|