2 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 * Purpose: define kernel compatibility header
32 #include <linux/version.h>
50 #ifndef MODULE_LICENSE
51 #define MODULE_LICENSE(license)
54 #ifndef MOD_INC_USE_COUNT
55 #define MOD_INC_USE_COUNT do {} while (0)
58 #ifndef MOD_DEC_USE_COUNT
59 #define MOD_DEC_USE_COUNT do {} while (0)
62 #ifndef HAVE_NETDEV_PRIV
63 #define netdev_priv(dev) (dev->priv)
67 typedef void irqreturn_t;
70 #define IRQ_RETVAL(x) (int)x
78 #ifndef MODULE_LICESEN
79 #define MODULE_LICESEN(x)