Re: [2.6 patch] remove the obsolete xircom_tulip_cb driver

2008-02-11 Thread Jeff Garzik

Adrian Bunk wrote:
The xircom_tulip_cb driver has been replaced the xircom_cb driver, and 
since it depended on BROKEN_ON_SMP it e.g. was no longer present in many 
distribution kernels.


This patch therefore removes it.

Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

---

 drivers/net/tulip/Kconfig   |   15 
 drivers/net/tulip/Makefile  |1 
 drivers/net/tulip/xircom_tulip_cb.c | 1726 

 3 files changed, 1 insertion(+), 1741 deletions(-)


applied to #upstream (2.6.26)

--
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


[2.6 patch] remove the obsolete xircom_tulip_cb driver

2008-01-28 Thread Adrian Bunk
The xircom_tulip_cb driver has been replaced the xircom_cb driver, and 
since it depended on BROKEN_ON_SMP it e.g. was no longer present in many 
distribution kernels.

This patch therefore removes it.

Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>

---

 drivers/net/tulip/Kconfig   |   15 
 drivers/net/tulip/Makefile  |1 
 drivers/net/tulip/xircom_tulip_cb.c | 1726 
 3 files changed, 1 insertion(+), 1741 deletions(-)

fe38501034c6105dbb1ad770dafda42548357ea9 
diff --git a/drivers/net/tulip/Kconfig b/drivers/net/tulip/Kconfig
index 20ac150..d913405 100644
--- a/drivers/net/tulip/Kconfig
+++ b/drivers/net/tulip/Kconfig
@@ -141,7 +141,7 @@ config ULI526X
  be called uli526x.
  
 config PCMCIA_XIRCOM
-   tristate "Xircom CardBus support (new driver)"
+   tristate "Xircom CardBus support"
depends on CARDBUS
---help---
  This driver is for the Digital "Tulip" Ethernet CardBus adapters.
@@ -152,17 +152,4 @@ config PCMCIA_XIRCOM
  To compile this driver as a module, choose M here. The module will
  be called xircom_cb.  If unsure, say N.
 
-config PCMCIA_XIRTULIP
-   tristate "Xircom Tulip-like CardBus support (old driver)"
-   depends on CARDBUS && BROKEN_ON_SMP
-   select CRC32
-   ---help---
- This driver is for the Digital "Tulip" Ethernet CardBus adapters.
- It should work with most DEC 21*4*-based chips/ethercards, as well
- as with work-alike chips from Lite-On (PNIC) and Macronix (MXIC) and
- ASIX.
-
- To compile this driver as a module, choose M here. The module will
- be called xircom_tulip_cb.  If unsure, say N.
-
 endif # NET_TULIP
diff --git a/drivers/net/tulip/Makefile b/drivers/net/tulip/Makefile
index 451090d..200cbf7 100644
--- a/drivers/net/tulip/Makefile
+++ b/drivers/net/tulip/Makefile
@@ -2,7 +2,6 @@
 # Makefile for the Linux "Tulip" family network device drivers.
 #
 
-obj-$(CONFIG_PCMCIA_XIRTULIP)  += xircom_tulip_cb.o
 obj-$(CONFIG_PCMCIA_XIRCOM)+= xircom_cb.o
 obj-$(CONFIG_DM9102)   += dmfe.o
 obj-$(CONFIG_WINBOND_840)  += winbond-840.o
diff --git a/drivers/net/tulip/xircom_tulip_cb.c 
b/drivers/net/tulip/xircom_tulip_cb.c
deleted file mode 100644
index c3f8e30..000
--- a/drivers/net/tulip/xircom_tulip_cb.c
+++ /dev/null
@@ -1,1726 +0,0 @@
-/* xircom_tulip_cb.c: A Xircom CBE-100 ethernet driver for Linux. */
-/*
-   Written/copyright 1994-1999 by Donald Becker.
-
-   This software may be used and distributed according to the terms
-   of the GNU General Public License, incorporated herein by reference.
-
-   The author may be reached as [EMAIL PROTECTED], or C/O
-   Scyld Computing Corporation
-   410 Severn Ave., Suite 210
-   Annapolis MD 21403
-
-*/
-
-#define DRV_NAME   "xircom_tulip_cb"
-#define DRV_VERSION"0.92"
-#define DRV_RELDATE"June 27, 2006"
-
-/* A few user-configurable values. */
-
-#define xircom_debug debug
-#ifdef XIRCOM_DEBUG
-static int xircom_debug = XIRCOM_DEBUG;
-#else
-static int xircom_debug = 1;
-#endif
-
-/* Maximum events (Rx packets, etc.) to handle at each interrupt. */
-static int max_interrupt_work = 25;
-
-#define MAX_UNITS 4
-/* Used to pass the full-duplex flag, etc. */
-static int full_duplex[MAX_UNITS];
-static int options[MAX_UNITS];
-static int mtu[MAX_UNITS]; /* Jumbo MTU for interfaces. */
-
-/* Keep the ring sizes a power of two for efficiency.
-   Making the Tx ring too large decreases the effectiveness of channel
-   bonding and packet priority.
-   There are no ill effects from too-large receive rings. */
-#define TX_RING_SIZE   16
-#define RX_RING_SIZE   32
-
-/* Set the copy breakpoint for the copy-only-tiny-buffer Rx structure. */
-#ifdef __alpha__
-static int rx_copybreak = 1518;
-#else
-static int rx_copybreak = 100;
-#endif
-
-/*
-  Set the bus performance register.
-   Typical: Set 16 longword cache alignment, no burst limit.
-   Cache alignment bits 15:14   Burst length 13:8
-   No alignment  0x unlimited  0800 8 
longwords
-   40008  longwords0100 1 longword 1000 16 
longwords
-   800016 longwords0200 2 longwords2000 32 
longwords
-   C00032  longwords   0400 4 longwords
-   Warning: many older 486 systems are broken and require setting 
0x00A04800
-  8 longword cache alignment, 8 longword burst.
-   ToDo: Non-Intel setting could be better.
-*/
-
-#if defined(__alpha__) || defined(__ia64__) || defined(__x86_64__)
-static int csr0 = 0x01A0 | 0xE000;
-#elif defined(__powerpc__)
-static int csr0 = 0x01B0 | 0x8000;
-#elif defined(CONFIG_SPARC)
-static int csr0 = 0x01B00080 | 0x8000;
-#elif defined(__i386__)
-static int csr0 = 0x01A0 | 0x8000;
-#else
-#warning Processor architecture undefined!
-static int csr0 =