net: Fix references to deleted NET_ETHERNET Kconfig setting.
Change them over to plain "ETHERNET" Reported-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: David S. Miller <davem@davemloft.net> Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
@ -50,7 +50,7 @@
|
||||
#include "lcs.h"
|
||||
|
||||
|
||||
#if !defined(CONFIG_NET_ETHERNET) && \
|
||||
#if !defined(CONFIG_ETHERNET) && \
|
||||
!defined(CONFIG_TR) && !defined(CONFIG_FDDI)
|
||||
#error Cannot compile lcs.c without some net devices switched on.
|
||||
#endif
|
||||
@ -1634,7 +1634,7 @@ lcs_startlan_auto(struct lcs_card *card)
|
||||
int rc;
|
||||
|
||||
LCS_DBF_TEXT(2, trace, "strtauto");
|
||||
#ifdef CONFIG_NET_ETHERNET
|
||||
#ifdef CONFIG_ETHERNET
|
||||
card->lan_type = LCS_FRAME_TYPE_ENET;
|
||||
rc = lcs_send_startlan(card, LCS_INITIATOR_TCPIP);
|
||||
if (rc == 0)
|
||||
@ -2166,7 +2166,7 @@ lcs_new_device(struct ccwgroup_device *ccwgdev)
|
||||
goto netdev_out;
|
||||
}
|
||||
switch (card->lan_type) {
|
||||
#ifdef CONFIG_NET_ETHERNET
|
||||
#ifdef CONFIG_ETHERNET
|
||||
case LCS_FRAME_TYPE_ENET:
|
||||
card->lan_type_trans = eth_type_trans;
|
||||
dev = alloc_etherdev(0);
|
||||
|
Reference in New Issue
Block a user