From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752477Ab3FJMwb (ORCPT ); Mon, 10 Jun 2013 08:52:31 -0400 Received: from mail2.gnudd.com ([213.203.150.91]:44982 "EHLO mail.gnudd.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751757Ab3FJMwa (ORCPT ); Mon, 10 Jun 2013 08:52:30 -0400 Date: Mon, 10 Jun 2013 14:52:14 +0200 From: Giancarlo Asnaghi To: linux-kernel@vger.kernel.org Cc: netdev@vger.kernel.org, davem@davemloft.net, Alessandro Rubini , Federico Vaga Subject: [PATCH 0/3] MOST network protocol Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: GnuDD, Device Drivers, Embedded Systems, Courses Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set includes known-working code, developed by Wind River and Intel, published at http://sourceforge.net/projects/sta2x11/ . We fixed a number of things in the code, porting to the current linux-next and upstream sta2x11 code, factorizing replicated code, making stuff more readable and fixing buglets. (We is Federico Vaga, Alessandro Rubini, Giancarlo Asnaghi). Patch 1 is the core, patch 2 is an interface driver and patch 3 is a pci fixup in the chipset that hosts the logic block for the interface. Unfortunately, the code implements network-specific system calls but doesn't fit in the kernel network subsystem. Instead of using skbuffs and network interfaces, it sets up a direct connection between the system calls and custom-defined operations for the hardware driver. We are aware patch 1/3 and 2/3 cannot be merged without serious refactoring, and for this reason we are not adding signed-off-by markers. Still, we think the current code may be useful to other people nonetheless: the MOST protocol is not very common, but it is not an exotic single-vendor thing, either. We plan to work on resubmitting this in the upcoming months, adapting to the proper conventions for a network protocol. Giancarlo Asnaghi (3): net: add support for MOST protocol drivers/net/most: add MediaLB driver for sta2x11 arch/x86/pci/sta2x11-fixup.c: reset and enable STA2X11 MediaLB clock arch/x86/pci/sta2x11-fixup.c | 17 + drivers/net/Makefile | 1 + drivers/net/most/Kconfig | 10 + drivers/net/most/Makefile | 6 + drivers/net/most/sta2x11mlb.c | 1181 +++++++++++++++++++++++++++++++++++++++++ drivers/net/most/sta2x11mlb.h | 275 ++++++++++ include/linux/socket.h | 4 +- include/net/most/most.h | 238 +++++++++ net/Kconfig | 1 + net/Makefile | 1 + net/core/sock.c | 9 +- net/most/Kconfig | 15 + net/most/Makefile | 6 + net/most/af_most.c | 967 +++++++++++++++++++++++++++++++++ 14 files changed, 2727 insertions(+), 4 deletions(-) create mode 100644 drivers/net/most/Kconfig create mode 100644 drivers/net/most/Makefile create mode 100644 drivers/net/most/sta2x11mlb.c create mode 100644 drivers/net/most/sta2x11mlb.h create mode 100644 include/net/most/most.h create mode 100644 net/most/Kconfig create mode 100644 net/most/Makefile create mode 100644 net/most/af_most.c -- 1.7.7.2