Commit 68905a14 authored by David Kershner's avatar David Kershner Committed by Greg Kroah-Hartman
Browse files

staging: unisys: Add s-Par visornic ethernet driver



This driver creates a network device when s-Par sends a device
create message to create network adapter on the visorbus. When
the message is received by visorbus, the visornic_probe function
is called and the netdev device is created and managed by the
visornic driver.

Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dbb9d619
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12,5 +12,6 @@ menuconfig UNISYSSPAR
if UNISYSSPAR

source "drivers/staging/unisys/visorbus/Kconfig"
source "drivers/staging/unisys/visornic/Kconfig"

endif # UNISYSSPAR
+1 −0
Original line number Diff line number Diff line
@@ -2,3 +2,4 @@
# Makefile for Unisys SPAR drivers
#
obj-$(CONFIG_UNISYS_VISORBUS)		+= visorbus/
obj-$(CONFIG_UNISYS_VISORNIC)		+= visornic/
+15 −0
Original line number Diff line number Diff line
#
# Unisys visornic configuration
#

config UNISYS_VISORNIC
	tristate "Unisys visornic driver"
	depends on UNISYSSPAR && UNISYS_VISORBUS && NET
	---help---
	The Unisys Visornic driver provides support for s-Par network
	devices exposed on the s-Par visorbus. When a message is sent
	to visorbus to create a network device, the probe function of
	visornic is called to create the netdev device. Networking on
	s-Par switches will not work if this driver is not selected.
	If you say Y here, you will enable the Unisys visornic driver.
+10 −0
Original line number Diff line number Diff line
#
# Makefile for Unisys channel
#

obj-$(CONFIG_UNISYS_VISORNIC)	+= visornic.o

visornic-y := visornic_main.o

ccflags-y += -Idrivers/staging/unisys/include
+2140 −0

File added.

Preview size limit exceeded, changes collapsed.