Re: [PATCH 1/9] NetXen 1G/10G ethernet driver patch with corrections

2006-06-08 Thread Pradeep Dalvi
diff -u linux-2.6.16.20/drivers/net/netxen/netxen_nic_ethtool.c linux-2.6.16.20/drivers/net/netxen/netxen_nic_ethtool.c --- linux-2.6.16.20/drivers/net/netxen/netxen_nic_ethtool.c 2006-06-06 06:58:11.0 -0700 +++ linux-2.6.16.20/drivers/net/netxen/netxen_nic_ethtool.c 2006-06-08 06:5

Re: [PATCH 1/9] NetXen 1G/10G ethernet driver patch with corrections

2006-06-07 Thread Andi Kleen
On Wednesday 07 June 2006 11:39, Linsys Contractor Amit S. Kale wrote: > + switch (mode) { ... You could save a lot of code by using a table and a loop over the registers. > + case 4:{/* XGB Mode */ > + NETXEN_NIC_LOCKED_READ_REG(NETXEN_NIU_XG_SINGLE_

[PATCH 1/9] NetXen 1G/10G ethernet driver patch with corrections

2006-06-07 Thread Linsys Contractor Amit S. Kale
2006-06-07 Amit S. Kale <[EMAIL PROTECTED]> * Add Kconfig, Makefile entries and Makefiles for netxen driver * Add ethtool interface for netxen driver diff -Naru linux-2.6.16.20.orig/drivers/net/Kconfig linux-2.6.16.20/drivers/net/Kconfig --- linux-2.6.16.20.orig/drivers/net/Kconf