13 HFC-2BS0 based cards irq, io
14 Teles 16.3c PnP irq, io
15 Sedlbauer Speed Card irq, io
+ 15 Sedlbauer PC/104 irq, io
15 Sedlbauer Speed PCI no parameter
16 USR Sportster internal irq, io
17 MIC card irq, io
13 HFC-2BS0 based cards pa=irq pb=io
14 Teles 16.3c PnP ONLY WORKS AS A MODULE !
15 Sedlbauer Speed Card pa=irq pb=io (Speed Win only as module !)
+ 15 Sedlbauer PC/104 pa=irq pb=io
15 Sedlbauer Speed PCI no parameter
16 USR Sportster internal pa=irq pb=io
17 MIC card pa=irq pb=io
hisaxctrl <DriverId> 2 <delay>
<delay> in ms Value between 50 and 800 ms is recommended.
+Downloading Firmware
+--------------------
+At the moment, the Sedlbauer speed fax+ is the only card, which
+needs to download firmware.
+The firmware is downloaded with the hisaxctrl tool:
+
+ hisaxctrl <DriverId> 9 <firmware_filename>
+
+<DriverId> default is HiSax, if you didn't specify one,
+
+where <firmware_filename> is the filename of the firmware file.
+
+For example, 'hisaxctrl HiSax 9 ISAR.BIN' downloads the firmware for
+ISAR based cards (like the Sedlbauer speed fax+).
Warning
-------
-/* $Id: config.c,v 1.15.2.21 1998/11/05 21:13:46 keil Exp $
+/* $Id: config.c,v 1.15.2.23 1998/11/11 11:04:36 keil Exp $
* Author Karsten Keil (keil@isdn4linux.de)
* based on the teles driver from Jan den Ouden
*
*
* $Log: config.c,v $
+ * Revision 1.15.2.23 1998/11/11 11:04:36 keil
+ * update version
+ *
+ * Revision 1.15.2.22 1998/11/08 13:00:56 niemann
+ * Added doc for Sedlbauer ISDN cards,
+ * added info for downloading firmware (Sedlbauer speed fax+)
+ *
* Revision 1.15.2.21 1998/11/05 21:13:46 keil
* minor fixes
*
* 13 Teleint p0=irq p1=iobase
* 14 Teles 16.3c p0=irq p1=iobase
* 15 Sedlbauer speed p0=irq p1=iobase
+ * 15 Sedlbauer PC/104 p0=irq p1=iobase
+ * 15 Sedlbauer speed pci no parameter
* 16 USR Sportster internal p0=irq p1=iobase
* 17 MIC card p0=irq p1=iobase
* 18 ELSA Quickstep 1000PCI no parameter
char tmp[64];
printk(KERN_INFO "HiSax: Linux Driver for passive ISDN cards\n");
- printk(KERN_INFO "HiSax: Version 3.0e\n");
+#ifdef MODULE
+ printk(KERN_INFO "HiSax: Version 3.1 (module)\n");
+#else
+ printk(KERN_INFO "HiSax: Version 3.1 (kernel)\n");
+#endif
strcpy(tmp, l1_revision);
printk(KERN_INFO "HiSax: Layer1 Revision %s\n", HiSax_getrev(tmp));
strcpy(tmp, l2_revision);
-/* $Id: sedlbauer.c,v 1.1.2.15 1998/11/03 00:07:32 keil Exp $
+/* $Id: sedlbauer.c,v 1.1.2.16 1998/11/08 13:01:01 niemann Exp $
* sedlbauer.c low level stuff for Sedlbauer cards
* includes support for the Sedlbauer speed star (speed star II),
+ * support for the Sedlbauer speed fax+,
* support for the Sedlbauer ISDN-Controller PC/104 and
- * support for the Sedlbauer speed pci
+ * support for the Sedlbauer speed pci
* derived from the original file asuscom.c from Karsten Keil
*
* Copyright (C) 1997,1998 Marcus Niemann (for the modifications to
* Edgar Toernig
*
* $Log: sedlbauer.c,v $
+ * Revision 1.1.2.16 1998/11/08 13:01:01 niemann
+ * Added doc for Sedlbauer ISDN cards,
+ * added info for downloading firmware (Sedlbauer speed fax+)
+ *
* Revision 1.1.2.15 1998/11/03 00:07:32 keil
* certification related changes
* fixed logging for smaller stack use
* ISDN PC/104 IPAC DIP-SWITCH
* Speed Star2 IPAC CARDMGR
* Speed PCI IPAC PNP
+ *
+ * Important:
+ * For the sedlbauer speed fax+ to work properly you have to download
+ * the firmware onto the card.
+ * For example: hisaxctrl <DriverID> 9 ISAR.BIN
*/
#define SEDLBAUER_PCI 1
extern const char *CardType[];
-const char *Sedlbauer_revision = "$Revision: 1.1.2.15 $";
+const char *Sedlbauer_revision = "$Revision: 1.1.2.16 $";
const char *Sedlbauer_Types[] =
{"None", "speed card/win", "speed star", "speed fax+",
{
int ret;
- (void)isdn_net_recalc_timeout(ISDN_TIMRU_KEEPUP_OUT,
- ISDN_TIMRU_PACKET_SKB, ndev, skb, 0);
/* For the other encaps the header has already been built */
#ifdef CONFIG_ISDN_PPP
if (lp->p_encap == ISDN_NET_ENCAP_SYNCPPP) {
};
#define STATS_TIMER (10*HZ)
-#define ERRTIME (0.1*HZ)
+#define ERRTIME (HZ/10)
/* MRU */
#define MAXBUFSIZE 1534
#include <linux/config.h>
-#include <linux/modversions.h>
#include <linux/module.h>
#include <linux/version.h>
-char kernel_version [] = UTS_RELEASE;
+static char kernel_version [] = UTS_RELEASE;
#include <linux/kernel.h>
#include <linux/sched.h>
/*
* Can't open until attached.
+ * Also can't open until speed is set, or we'll get
+ * a division by zero.
*/
if(shaper->dev==NULL)
return -ENODEV;
+ if(shaper->bitspersec==0)
+ return -EINVAL;
MOD_INC_USE_COUNT;
return 0;
}
shdev->type=dev->type;
shdev->addr_len=dev->addr_len;
shdev->mtu=dev->mtu;
+ sh->bitspersec=0;
return 0;
}