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

Commit cfb739b4 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Staging: add et131x network driver

This is a driver for the ET1310 network device.

Based on the driver found at https://sourceforge.net/projects/et131x/



Cleaned up immensely by Olaf Hartman <o.hartmann@telovital.com> and Christoph
Hellwig <hch@infradead.org>

Note, the powermanagement options were removed from the vendor provided
driver as they did not build properly at the time.

TODO:
	- kernel coding style cleanups
	- forward port for latest network driver changes
	- kill useless typecasts (e.g. in et1310_phy.c)
	- alloc_etherdev is initializing memory with zero?!?
	- add_timer call in et131x_netdev.c is correct?
	- Add power saving functionality (suspend, sleep, resume)
	- Implement a few more kernel Parameter (set mac )

Cc: Olaf Hartmann <o.hartmann@telovital.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Dean Adams <dadams1969@gmail.com>
Cc: Victor Soriano <vjsoriano@agere.com>
Cc: Andre-Sebastian Liebe <andre@lianse.eu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent dbc6c2cc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -23,5 +23,6 @@ menuconfig STAGING

if STAGING

source "drivers/staging/et131x/Kconfig"

endif # STAGING
+1 −0
Original line number Diff line number Diff line
# Makefile for staging directory

obj-$(CONFIG_ET131X)		+= et131x/
+18 −0
Original line number Diff line number Diff line
config ET131X
	tristate "Agere ET-1310 Gigabit Ethernet support"
	depends on NETDEV_1000 && PCI
	default n
	---help---
	  This driver supports Agere ET-1310 ethernet adapters.

	  To compile this driver as a module, choose M here. The module
	  will be called et131x.

config ET131X_DEBUG
	bool "Enable et131x debugging"
	depends on ET131X
	default n
	---help---
	  Say Y for detailed debug information.

	  If in doubt, say N.
+18 −0
Original line number Diff line number Diff line
#
# Makefile for the Agere ET-131x ethernet driver
#

obj-$(CONFIG_ET131X) += et131x.o

et131x-objs :=	et1310_eeprom.o \
		et1310_jagcore.o \
		et1310_mac.o \
		et1310_phy.o \
		et1310_pm.o \
		et1310_rx.o \
		et1310_tx.o \
		et131x_config.o \
		et131x_debug.o \
		et131x_initpci.o \
		et131x_isr.o \
		et131x_netdev.o
+25 −0
Original line number Diff line number Diff line
This is a driver for the ET1310 network device.

Based on the driver found at https://sourceforge.net/projects/et131x/

Cleaned up immensely by Olaf Hartman <o.hartmann@telovital.com> and Christoph
Hellwig <hch@infradead.org>

Note, the powermanagement options were removed from the vendor provided
driver as they did not build properly at the time.

TODO:
	- kernel coding style cleanups
	- forward port for latest network driver changes
	- kill useless typecasts (e.g. in et1310_phy.c)
	- alloc_etherdev is initializing memory with zero?!?
	- add_timer call in et131x_netdev.c is correct?
	- Add power saving functionality (suspend, sleep, resume)
	- Implement a few more kernel Parameter (set mac )

Please send patches to:
	Greg Kroah-Hartman <gregkh@suse.de>

And Cc: Olaf Hartmann <o.hartmann@telovital.com> as he has this device and can
test any changes.
Loading