aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-02-12 03:53:22 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-12 12:48:34 -0500
commitf0d8737bf741181aa6a452cffe3b9c074afa0cc1 (patch)
tree24164928bf0befff8da3751ccf5c570054d31651
parente3c07b9615ee123113de2e881143eb74442d3bf5 (diff)
[PATCH] ISDN: Remove defunct test emulator
Based on advice from K. Keil, get rid of remaining traces of defunct test emulator for HISAX. Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Acked-by: Karsten Keil <kkeil@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/isdn/hisax/Kconfig2
-rw-r--r--drivers/isdn/hisax/Makefile1
-rw-r--r--drivers/isdn/hisax/config.c9
-rw-r--r--drivers/isdn/hisax/hisax.h25
4 files changed, 0 insertions, 37 deletions
diff --git a/drivers/isdn/hisax/Kconfig b/drivers/isdn/hisax/Kconfig
index 34ab5f7dcabc..12d91fb9f8cb 100644
--- a/drivers/isdn/hisax/Kconfig
+++ b/drivers/isdn/hisax/Kconfig
@@ -340,8 +340,6 @@ config HISAX_HFC_SX
340 This enables HiSax support for the HFC-S+, HFC-SP and HFC-PCMCIA 340 This enables HiSax support for the HFC-S+, HFC-SP and HFC-PCMCIA
341 cards. This code is not finished yet. 341 cards. This code is not finished yet.
342 342
343# bool ' TESTEMULATOR (EXPERIMENTAL)' CONFIG_HISAX_TESTEMU
344
345config HISAX_ENTERNOW_PCI 343config HISAX_ENTERNOW_PCI
346 bool "Formula-n enter:now PCI card" 344 bool "Formula-n enter:now PCI card"
347 depends on HISAX_NETJET && PCI && (BROKEN || !(SPARC || PPC || PARISC || M68K || (MIPS && !CPU_LITTLE_ENDIAN) || FRV)) 345 depends on HISAX_NETJET && PCI && (BROKEN || !(SPARC || PPC || PARISC || M68K || (MIPS && !CPU_LITTLE_ENDIAN) || FRV))
diff --git a/drivers/isdn/hisax/Makefile b/drivers/isdn/hisax/Makefile
index 293e27789d54..c7a3794bdae4 100644
--- a/drivers/isdn/hisax/Makefile
+++ b/drivers/isdn/hisax/Makefile
@@ -60,5 +60,4 @@ hisax-$(CONFIG_HISAX_SCT_QUADRO) += bkm_a8.o isac.o arcofi.o hscx.o
60hisax-$(CONFIG_HISAX_GAZEL) += gazel.o isac.o arcofi.o hscx.o 60hisax-$(CONFIG_HISAX_GAZEL) += gazel.o isac.o arcofi.o hscx.o
61hisax-$(CONFIG_HISAX_W6692) += w6692.o 61hisax-$(CONFIG_HISAX_W6692) += w6692.o
62hisax-$(CONFIG_HISAX_ENTERNOW_PCI) += enternow_pci.o amd7930_fn.o 62hisax-$(CONFIG_HISAX_ENTERNOW_PCI) += enternow_pci.o amd7930_fn.o
63#hisax-$(CONFIG_HISAX_TESTEMU) += testemu.o
64 63
diff --git a/drivers/isdn/hisax/config.c b/drivers/isdn/hisax/config.c
index 29e98f7c2076..da4196f21e0f 100644
--- a/drivers/isdn/hisax/config.c
+++ b/drivers/isdn/hisax/config.c
@@ -549,10 +549,6 @@ extern int setup_isurf(struct IsdnCard *card);
549extern int setup_saphir(struct IsdnCard *card); 549extern int setup_saphir(struct IsdnCard *card);
550#endif 550#endif
551 551
552#if CARD_TESTEMU
553extern int setup_testemu(struct IsdnCard *card);
554#endif
555
556#if CARD_BKM_A4T 552#if CARD_BKM_A4T
557extern int setup_bkm_a4t(struct IsdnCard *card); 553extern int setup_bkm_a4t(struct IsdnCard *card);
558#endif 554#endif
@@ -1061,11 +1057,6 @@ static int checkcard(int cardnr, char *id, int *busy_flag, struct module *lockow
1061 ret = setup_saphir(card); 1057 ret = setup_saphir(card);
1062 break; 1058 break;
1063#endif 1059#endif
1064#if CARD_TESTEMU
1065 case ISDN_CTYPE_TESTEMU:
1066 ret = setup_testemu(card);
1067 break;
1068#endif
1069#if CARD_BKM_A4T 1060#if CARD_BKM_A4T
1070 case ISDN_CTYPE_BKM_A4T: 1061 case ISDN_CTYPE_BKM_A4T:
1071 ret = setup_bkm_a4t(card); 1062 ret = setup_bkm_a4t(card);
diff --git a/drivers/isdn/hisax/hisax.h b/drivers/isdn/hisax/hisax.h
index 3f1137e34678..3cd8d5ba239b 100644
--- a/drivers/isdn/hisax/hisax.h
+++ b/drivers/isdn/hisax/hisax.h
@@ -795,19 +795,6 @@ struct w6692_hw {
795 struct timer_list timer; 795 struct timer_list timer;
796}; 796};
797 797
798#ifdef CONFIG_HISAX_TESTEMU
799struct te_hw {
800 unsigned char *sfifo;
801 unsigned char *sfifo_w;
802 unsigned char *sfifo_r;
803 unsigned char *sfifo_e;
804 int sfifo_cnt;
805 unsigned int stat;
806 wait_queue_head_t rwaitq;
807 wait_queue_head_t swaitq;
808};
809#endif
810
811struct arcofi_msg { 798struct arcofi_msg {
812 struct arcofi_msg *next; 799 struct arcofi_msg *next;
813 u_char receive; 800 u_char receive;
@@ -916,9 +903,6 @@ struct IsdnCardState {
916 struct ix1_hw niccy; 903 struct ix1_hw niccy;
917 struct isurf_hw isurf; 904 struct isurf_hw isurf;
918 struct saphir_hw saphir; 905 struct saphir_hw saphir;
919#ifdef CONFIG_HISAX_TESTEMU
920 struct te_hw te;
921#endif
922 struct bkm_hw ax; 906 struct bkm_hw ax;
923 struct gazel_hw gazel; 907 struct gazel_hw gazel;
924 struct w6692_hw w6692; 908 struct w6692_hw w6692;
@@ -1175,15 +1159,6 @@ struct IsdnCardState {
1175#define CARD_HSTSAPHIR 0 1159#define CARD_HSTSAPHIR 0
1176#endif 1160#endif
1177 1161
1178#ifdef CONFIG_HISAX_TESTEMU
1179#define CARD_TESTEMU 1
1180#define ISDN_CTYPE_TESTEMU 99
1181#undef ISDN_CTYPE_COUNT
1182#define ISDN_CTYPE_COUNT ISDN_CTYPE_TESTEMU
1183#else
1184#define CARD_TESTEMU 0
1185#endif
1186
1187#ifdef CONFIG_HISAX_BKM_A4T 1162#ifdef CONFIG_HISAX_BKM_A4T
1188#define CARD_BKM_A4T 1 1163#define CARD_BKM_A4T 1
1189#ifndef ISDN_CHIP_ISAC 1164#ifndef ISDN_CHIP_ISAC