diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-07-31 00:06:29 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-27 00:58:13 -0700 |
commit | 33f810b2036f13f1b123062a9e5c1794d400ce81 (patch) | |
tree | 370b55026f4bd856e96842f86af631ca2bab3da2 /drivers/net/skfp/h/mbuf.h | |
parent | 3cd0999d134235d64b175edd2eb1d46ebc97b377 (diff) |
fddi: Move the FDDI drivers
Move the FDDI drivers into drivers/net/fddi/ and make the
necessary Kconfig and Makefile changes.
CC: "Maciej W. Rozycki" <macro@linux-mips.org>
CC: Christoph Goos <cgoos@syskonnect.de>
CC: <linux@syskonnect.de>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/skfp/h/mbuf.h')
-rw-r--r-- | drivers/net/skfp/h/mbuf.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/drivers/net/skfp/h/mbuf.h b/drivers/net/skfp/h/mbuf.h deleted file mode 100644 index f2aadcda9e7f..000000000000 --- a/drivers/net/skfp/h/mbuf.h +++ /dev/null @@ -1,50 +0,0 @@ -/****************************************************************************** - * - * (C)Copyright 1998,1999 SysKonnect, - * a business unit of Schneider & Koch & Co. Datensysteme GmbH. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * The information in this file is provided "AS IS" without warranty. - * - ******************************************************************************/ - -#ifndef _MBUF_ -#define _MBUF_ - -#define M_SIZE 4504 - -#ifndef MAX_MBUF -#define MAX_MBUF 4 -#endif - -#ifndef NO_STD_MBUF -#define sm_next m_next -#define sm_off m_off -#define sm_len m_len -#define sm_data m_data -#define SMbuf Mbuf -#define mtod smtod -#define mtodoff smtodoff -#endif - -struct s_mbuf { - struct s_mbuf *sm_next ; /* low level linked list */ - short sm_off ; /* offset in m_data */ - u_int sm_len ; /* len of data */ -#ifdef PCI - int sm_use_count ; -#endif - char sm_data[M_SIZE] ; -} ; - -typedef struct s_mbuf SMbuf ; - -/* mbuf head, to typed data */ -#define smtod(x,t) ((t)((x)->sm_data + (x)->sm_off)) -#define smtodoff(x,t,o) ((t)((x)->sm_data + (o))) - -#endif /* _MBUF_ */ |