/* Copyright 2004, 2005 Jean-Baptiste Note Copyright (c) 2006 Red Hat, Inc. Copyright 2006 Christian Lamparter Copyright 2006 Holden Karau Copyright 2006 Xandros Parts of this program code are derived from the bcm43xx driver, Copyright 2005 Martin Langer , et. al. Please refer there for the complete copyright statement. This file is part of prism54usb. prism54usb 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. prism54usb 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. You should have received a copy of the GNU General Public License along with prism54usb; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include #if KERNEL_VERSION(2,6,19) > KERNELVERSION #include #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include steev@sigma islsm-9999 % make make -C /lib/modules/2.6.19-gentoo-r2/build SUBDIRS=/var/tmp/portage/islsm-9999/work/islsm-9999 MODVERSION=/var/tmp/portage/islsm-9999/work/islsm-9999/symbols MKPWD=/var/tmp/portage/islsm-9999/work/islsm-9999 modules make[1]: Entering directory `/usr/src/linux-2.6.19-gentoo-r2' CC [M] /var/tmp/portage/islsm-9999/work/islsm-9999/islsm_netdev.o /var/tmp/portage/islsm-9999/work/islsm-9999/islsm_netdev.c:31:30: warning: "KERNELVERSION" is not defined /var/tmp/portage/islsm-9999/work/islsm-9999/islsm_netdev.c:32:26: error: linux/config.h: No such file or directory make[2]: *** [/var/tmp/portage/islsm-9999/work/islsm-9999/islsm_netdev.o] Error 1 make[1]: *** [_module_/var/tmp/portage/islsm-9999/work/islsm-9999] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.19-gentoo-r2' make: *** [modules] Error 2