Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4a71df50 authored by Frank Blaschka's avatar Frank Blaschka Committed by Jeff Garzik
Browse files

qeth: new qeth device driver



List of major changes and improvements:
 no manipulation of the global ARP constructor
 clean code split into core, layer 2 and layer 3 functionality
 better exploitation of the ethtool interface
 better representation of the various hardware capabilities
 fix packet socket support (tcpdump), no fake_ll required
 osasnmpd notification via udev events
 coding style and beautification

Signed-off-by: default avatarFrank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 04885948
Loading
Loading
Loading
Loading
+3 −5
Original line number Original line Diff line number Diff line
@@ -537,11 +537,9 @@ CONFIG_CTC=m
# CONFIG_SMSGIUCV is not set
# CONFIG_SMSGIUCV is not set
# CONFIG_CLAW is not set
# CONFIG_CLAW is not set
CONFIG_QETH=y
CONFIG_QETH=y

CONFIG_QETH_L2=y
#
CONFIG_QETH_L3=y
# Gigabit Ethernet default settings
CONFIG_QETH_IPV6=y
#
# CONFIG_QETH_IPV6 is not set
CONFIG_CCWGROUP=y
CONFIG_CCWGROUP=y
# CONFIG_PPP is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_SLIP is not set
+17 −14
Original line number Original line Diff line number Diff line
@@ -67,23 +67,26 @@ config QETH
	  To compile this driver as a module, choose M.
	  To compile this driver as a module, choose M.
	  The module name is qeth.ko.
	  The module name is qeth.ko.



config QETH_L2
comment "Gigabit Ethernet default settings"
        tristate "qeth layer 2 device support"
        depends on QETH
        depends on QETH

config QETH_IPV6
	bool "IPv6 support for gigabit ethernet"
	depends on (QETH = IPV6) || (QETH && IPV6 = 'y')
        help
        help
	  If CONFIG_QETH is switched on, this option will include IPv6
          Select this option to be able to run qeth devices in layer 2 mode.
	  support in the qeth device driver.
          To compile as a module, choose M. The module name is qeth_l2.ko.
          If unsure, choose y.


config QETH_VLAN
config QETH_L3
	bool "VLAN support for gigabit ethernet"
        tristate "qeth layer 3 device support"
	depends on (QETH = VLAN_8021Q) || (QETH && VLAN_8021Q = 'y')
        depends on QETH
        help
        help
	  If CONFIG_QETH is switched on, this option will include IEEE
          Select this option to be able to run qeth devices in layer 3 mode.
	  802.1q VLAN support in the qeth device driver.
          To compile as a module choose M. The module name is qeth_l3.ko.
          If unsure, choose Y.

config QETH_IPV6
        bool
        depends on (QETH_L3 = IPV6) || (QETH_L3 && IPV6 = 'y')
        default y


config CCWGROUP
config CCWGROUP
	tristate
	tristate
+5 −2
Original line number Original line Diff line number Diff line
@@ -8,6 +8,9 @@ obj-$(CONFIG_NETIUCV) += netiucv.o fsm.o
obj-$(CONFIG_SMSGIUCV) += smsgiucv.o
obj-$(CONFIG_SMSGIUCV) += smsgiucv.o
obj-$(CONFIG_LCS) += lcs.o cu3088.o
obj-$(CONFIG_LCS) += lcs.o cu3088.o
obj-$(CONFIG_CLAW) += claw.o cu3088.o
obj-$(CONFIG_CLAW) += claw.o cu3088.o
qeth-y := qeth_main.o qeth_mpc.o qeth_sys.o qeth_eddp.o 
qeth-y += qeth_core_sys.o qeth_core_main.o qeth_core_mpc.o qeth_core_offl.o
qeth-$(CONFIG_PROC_FS) += qeth_proc.o
obj-$(CONFIG_QETH) += qeth.o
obj-$(CONFIG_QETH) += qeth.o
qeth_l2-y += qeth_l2_main.o
obj-$(CONFIG_QETH_L2) += qeth_l2.o
qeth_l3-y += qeth_l3_main.o qeth_l3_sys.o
obj-$(CONFIG_QETH_L3) += qeth_l3.o
+916 −0

File added.

Preview size limit exceeded, changes collapsed.

+4540 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading