zephyr/drivers/net
Robert Lubos 16a0e314ea drivers: net: Move Ethernet device definition for SLIP to ethernet
Currently, if CONFIG_SLIP_TAP is enabled (default for QEMU), and no
other Ethernet driver is enabled, the following warning is printed by
CMake:
    No SOURCES given to Zephyr library: drivers__ethernet

This happens because SLIP_TAP enabled Ethernet L2, but has no actual
sources in drivers/ethernet. This commit fixes this, by moving the
actual definition of the SLIP TAP Ethernet interface into a separate
file, within drivers/ethernet. Technically, in that configuration SLIP
defines a Ethernet device, implementing Ethernet API, so such a change
is justifiable, and prevents unwanted warning from being generated.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2023-02-20 10:52:20 +01:00
..
CMakeLists.txt drivers: net: canbus: move CAN bus network driver to drivers/net 2022-07-13 10:34:51 +02:00
Kconfig crc: Make the build of crc function dependent on a Kconfig 2022-11-23 13:30:00 +01:00
canbus.c net: context: properly namespace can-related methods 2022-09-05 14:35:17 +00:00
loopback.c drivers: net: loopback: Optimize packet drop 2022-10-21 13:15:05 +02:00
ppp.c net: ip: net_context: AF_PACKET/SOCK_RAW/IPPROTO_RAW: set pkt family 2023-01-09 19:21:18 +01:00
slip.c drivers: net: Move Ethernet device definition for SLIP to ethernet 2023-02-20 10:52:20 +01:00
slip.h drivers: net: Move Ethernet device definition for SLIP to ethernet 2023-02-20 10:52:20 +01:00