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: David Kershner <david.kershner@unisys.com> Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
dbb9d61994
Коммит
68905a14e4
|
@ -12,5 +12,6 @@ menuconfig UNISYSSPAR
|
|||
if UNISYSSPAR
|
||||
|
||||
source "drivers/staging/unisys/visorbus/Kconfig"
|
||||
source "drivers/staging/unisys/visornic/Kconfig"
|
||||
|
||||
endif # UNISYSSPAR
|
||||
|
|
|
@ -2,3 +2,4 @@
|
|||
# Makefile for Unisys SPAR drivers
|
||||
#
|
||||
obj-$(CONFIG_UNISYS_VISORBUS) += visorbus/
|
||||
obj-$(CONFIG_UNISYS_VISORNIC) += visornic/
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
#
|
||||
# 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.
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
#
|
||||
# Makefile for Unisys channel
|
||||
#
|
||||
|
||||
obj-$(CONFIG_UNISYS_VISORNIC) += visornic.o
|
||||
|
||||
visornic-y := visornic_main.o
|
||||
|
||||
ccflags-y += -Idrivers/staging/unisys/include
|
||||
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче