Commit d4a8ce7f authored by Christian Gromm's avatar Christian Gromm Committed by Greg Kroah-Hartman

Staging: most: add MOST driver's aim-network module

This patch adds the aim-network module of the MOST driver to the kernel's
driver staging area. This module is part of the MOST driver and handles
user space interaction by means of network devices.

This patch is needed in order to have access to MOST Ethernet Packets (MEP)
through a networking device.
Signed-off-by: default avatarChristian Gromm <christian.gromm@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9bc79bbc
...@@ -15,4 +15,6 @@ source "drivers/staging/most/mostcore/Kconfig" ...@@ -15,4 +15,6 @@ source "drivers/staging/most/mostcore/Kconfig"
source "drivers/staging/most/aim-cdev/Kconfig" source "drivers/staging/most/aim-cdev/Kconfig"
source "drivers/staging/most/aim-network/Kconfig"
endif endif
obj-$(CONFIG_MOSTCORE) += mostcore/ obj-$(CONFIG_MOSTCORE) += mostcore/
obj-$(CONFIG_AIM_CDEV) += aim-cdev/ obj-$(CONFIG_AIM_CDEV) += aim-cdev/
obj-$(CONFIG_AIM_NETWORK) += aim-network/
#
# MOST Networking configuration
#
config AIM_NETWORK
tristate "Networking AIM"
---help---
Say Y here if you want to commumicate via a networking device.
To compile this driver as a module, choose M here: the
module will be called aim_networking.
obj-$(CONFIG_AIM_NETWORK) += aim_network.o
aim_network-objs := networking.o
ccflags-y += -Idrivers/staging/most/mostcore/
This diff is collapsed.
/*
* Networking AIM - Networking Application Interface Module for MostCore
*
* Copyright (C) 2015, Microchip Technology Germany II GmbH & Co. KG
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This file is licensed under GPLv2.
*/
#ifndef _NETWORKING_H_
#define _NETWORKING_H_
#include "mostcore.h"
void most_deliver_netinfo(struct most_interface *iface,
unsigned char link_stat, unsigned char *mac_addr);
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment