linux/drivers/staging
Ioana Ciornei 240cb8de11 staging: dpaa2-ethsw: setup MAC address of switch netdevices
At probe time, retrieve the MAC addresses of the switch ports using a
firmware call and use that to setup the switch interface net_device
instead of relying entirely on the user to configure a MAC address on
the interface. In case a switch interface is not connected to a MAC,
thus the dpsw_if_get_port_mac_addr() will return all zeroes, generate a
random MAC address and use that.

This new functionality is dependent on a firmware call which is
available only on newer versions, so depending on the running DPSW
object version skip this step.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/20200714133431.17532-7-ioana.ciornei@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-15 16:22:36 +02:00
..
android staging: ion: fix common struct sg_table related issues 2020-06-25 16:34:54 +02:00
axis-fifo staging: axis-fifo: Fix parenthesis alignment 2020-04-13 08:55:30 +02:00
board
clocking-wizard clk: staging: Specify IOMEM dependency for Xilinx Clocking Wizard driver 2020-07-01 15:43:05 +02:00
comedi staging: comedi: s626: Remove pci-dma-compat wrapper APIs. 2020-07-15 16:05:14 +02:00
emxx_udc
fbtft staging: fbtft: fb_st7789v: make HSD20_IPS numeric and not a string 2020-05-22 10:48:32 +02:00
fieldbus
fsl-dpaa2 staging: dpaa2-ethsw: setup MAC address of switch netdevices 2020-07-15 16:22:36 +02:00
fwserial
gasket staging: gasket: core: Fix a coding style issue in gasket_core.c 2020-07-15 16:05:14 +02:00
gdm724x staging: gdm724x: remove redundant assignment to pointer 'w' 2020-04-13 08:55:31 +02:00
goldfish
greybus treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
gs_fpgaboot
iio Merge 5.7-rc7 into staging-next 2020-05-25 09:11:19 +02:00
kpc2000 staging: kpc2000: kpc_dma: Remove additional goto statements 2020-07-01 15:44:26 +02:00
ks7010 staging: ks7010: fix ks_wlan_start_xmit()'s return type 2020-06-29 09:28:27 +02:00
media Kbuild updates for v5.8 (2nd) 2020-06-13 13:29:16 -07:00
most staging: most: sound: remove overcautious argument checking 2020-06-25 15:41:17 +02:00
mt7621-dma staging: mt7621-dma: quoted string split across lines 2020-03-21 10:31:54 +01:00
mt7621-dts staging: mt7621-pci: fix PCIe interrupt mapping 2020-04-13 14:49:18 +02:00
mt7621-pci staging: mt7621-pci: initialize 'n' variable when it is declared 2020-04-16 12:33:02 +02:00
mt7621-pci-phy staging: mt7621-pci-phy: dt: bindings: remove bindings txt file 2020-04-13 14:49:17 +02:00
mt7621-pinctrl staging: mt7621-pinctrl: Use correct pointer type argument for sizeof 2020-04-23 13:36:20 +02:00
netlogic staging: netlogic: Use the correct style for SPDX License Identifier 2020-02-09 16:22:58 -08:00
nvec Staging: nvec: Replace HTTP links with HTTPS ones 2020-07-10 13:52:46 +02:00
octeon staging/octeon: fix up merge error 2020-03-30 17:22:01 -07:00
octeon-usb staging: Replace zero-length array with flexible-array member 2020-02-23 19:18:54 +01:00
olpc_dcon
pi433 staging: pi433: fix error return code in pi433_probe() 2020-05-05 12:31:18 +02:00
qlge staging: qlge: qlge_ethtool: Remove one byte memset. 2020-07-13 15:37:47 +02:00
ralink-gdma
rtl8188eu staging: r8188eu: remove unused members of struct xmit_buf 2020-07-15 16:10:50 +02:00
rtl8192e staging: rtl8192e: rtl_core: Remove pci-dma-compat wrapper APIs. 2020-07-13 15:36:31 +02:00
rtl8192u staging: rtl8192u: Using comparison to true is error prone 2020-07-10 13:52:46 +02:00
rtl8712 staging: rtl8712/: Using comparison to true is error prone 2020-07-10 13:55:11 +02:00
rtl8723bs staging: rtl8723bs: Using comparison to true is error prone 2020-07-10 13:52:46 +02:00
rts5208 staging: rts5208: Assign array_size() to a variable 2020-07-13 15:36:31 +02:00
sm750fb staging: sm750fb: Add names to proc_setBLANK args 2020-05-29 12:35:59 +02:00
speakup Staging: speakup: Replace HTTP links with HTTPS ones 2020-07-13 15:36:31 +02:00
unisys staging: unisys: visorhba: Correct a typo in comment 2020-04-13 08:55:32 +02:00
vc04_services Staging: vc04_services: Fix unsigned int warnings 2020-07-15 16:03:32 +02:00
vme
vt6655 staging: vt6655: Use fallthrough pseudo-keyword 2020-07-10 13:52:46 +02:00
vt6656 staging: vt6655: Use fallthrough pseudo-keyword 2020-07-10 13:52:46 +02:00
wfx staging: wfx: Get descriptors for GPIOs 2020-07-10 13:51:22 +02:00
wlan-ng staging: wlan-ng: fix use-after-free Read in hfa384x_usbin_callback 2020-03-26 15:47:26 +01:00
Kconfig wilc1000: move wilc driver out of staging 2020-06-26 08:46:46 +03:00
Makefile wilc1000: move wilc driver out of staging 2020-06-26 08:46:46 +03:00