When neither of supported frame type is enabled via kernel options enable
them all, otherwise the driver will be useless and will only confuse user as manual page says nothing about the need to enable one of those frame types explicitly in the kernel config. PR: kern/47152 Submitted by: Andriy Gapon <avg@icyb.net.ua> MFC after: 3 days
This commit is contained in:
parent
80fb82bb40
commit
3ce7730799
@ -61,6 +61,15 @@
|
||||
#include <netipx/ipx_if.h>
|
||||
#endif
|
||||
|
||||
/* If none of the supported layers is enabled explicitly enable them all */
|
||||
#if !defined(ETHER_II) && !defined(ETHER_8023) && !defined(ETHER_8022) && \
|
||||
!defined(ETHER_SNAP)
|
||||
#define ETHER_II 1
|
||||
#define ETHER_8023 1
|
||||
#define ETHER_8022 1
|
||||
#define ETHER_SNAP 1
|
||||
#endif
|
||||
|
||||
/* internal frame types */
|
||||
#define ETHER_FT_EII 0 /* Ethernet_II - default */
|
||||
#define ETHER_FT_8023 1 /* 802.3 (Novell) */
|
||||
|
Loading…
Reference in New Issue
Block a user