> diff -Naru linux-2.6.16_orig/drivers/net/netxen/Makefile > linux-2.6.16/drivers/net/netxen/Makefile > --- linux-2.6.16_orig/drivers/net/netxen/Makefile 1969-12-31 > 16:00:00.000000000 -0800 > +++ linux-2.6.16/drivers/net/netxen/Makefile 2006-03-24 14:25:53.000000000 > -0800 > @@ -0,0 +1,40 @@ > +# Copyright (C) 2003 - 2006 NetXen Inc. > +# All rights reserved. > > + > +BUILD_PLATFORM=$(shell uname -p) > + > +CFLAGS += -DP2
No magic hidden defines? > + > +ifeq ($(BUILD_PLATFORM),x86_64) > + CFLAGS += -mcmodel=kernel -mno-red-zone -fno-unit-at-a-time > -fno-reorder-blocks > +endif Why? what did you do wrong? > + > +obj-$(CONFIG_NetXen_NIC) += netxen_nic.o > + > +netxen_nic-objs := netxen_nic_hw.o netxen_nic_main.o netxen_nic_ethtool.o > niu.o netxen_nic_init.o netxen_nic_isr.o xge_mdio.o > diff -Naru linux-2.6.16_orig/drivers/net/netxen/README > linux-2.6.16/drivers/net/netxen/README > --- linux-2.6.16_orig/drivers/net/netxen/README 1969-12-31 > 16:00:00.000000000 -0800 > +++ linux-2.6.16/drivers/net/netxen/README 2006-03-24 14:10:24.000000000 > -0800 > @@ -0,0 +1,10 @@ > +This contains the source file for the NetXen Linux driver. It is released > +under the GPL license. This is released without any warrany. See the > +GPL notice in the individual files for more details. > + > + > +To build the driver, do the following: > + > +1. untar the archive. > +2. cd /lib/modules/$(uname -r)/build (or wherever your kernel tree is) > +3. make SUBDIRS=dir-path-to-netxen-driver modules > Don't put out of tree build instructions in kernel tree! - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html