Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#
# Blackfin device configuration
#

config CONFIG_NET_BFIN
	bool "Blackfin devices"
	depends on CONFIG_BF516 || CONFIG_BF518 || CONFIG_BF526 || CONFIG_BF527 || CONFIG_BF536 || CONFIG_BF537
	---help---
	  If you have a network (Ethernet) card belonging to this class, say Y.

	  If unsure, 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 remaining Blackfin card questions. If you say Y, you will be
	  asked for your specific card in the following questions.

if CONFIG_NET_BFIN

config CONFIG_BFIN_MAC
	tristate "Blackfin on-chip MAC support"
	depends on (CONFIG_BF516 || CONFIG_BF518 || CONFIG_BF526 || CONFIG_BF527 || CONFIG_BF536 || CONFIG_BF537)
	select CONFIG_CRC32
	select CONFIG_MII
	select CONFIG_PHYLIB
	select CONFIG_BFIN_MAC_USE_L1 if CONFIG_DMA_UNCACHED_NONE
	---help---
	  This is the driver for Blackfin on-chip mac device. Say Y if you want
	  it compiled into the kernel. This driver is also available as a
	  module ( = code which can be inserted in and removed from the running
	  kernel whenever you want). The module will be called bfin_mac.

config CONFIG_BFIN_MAC_USE_L1
	bool "Use L1 memory for rx/tx packets"
	depends on CONFIG_BFIN_MAC && (CONFIG_BF527 || CONFIG_BF537)
	default y
	---help---
	  To get maximum network performance, you should use L1 memory as rx/tx
	  buffers. Say N here if you want to reserve L1 memory for other uses.

config CONFIG_BFIN_TX_DESC_NUM
	int "Number of transmit buffer packets"
	depends on CONFIG_BFIN_MAC
	range 6 10 if CONFIG_BFIN_MAC_USE_L1
	range 10 100
	default "10"
	---help---
	  Set the number of buffer packets used in driver.

config CONFIG_BFIN_RX_DESC_NUM
	int "Number of receive buffer packets"
	depends on CONFIG_BFIN_MAC
	range 20 64
	default "20"
	---help---
	  Set the number of buffer packets used in driver.

config CONFIG_BFIN_MAC_USE_HWSTAMP
	bool "Use IEEE 1588 hwstamp"
	depends on CONFIG_BFIN_MAC && CONFIG_BF518
	imply CONFIG_PTP_1588_CLOCK
	default y
	---help---
	  To support the IEEE 1588 Precision Time Protocol (PTP), select y here

endif # CONFIG_NET_BFIN