summaryrefslogtreecommitdiffstats
path: root/sys/i4b
Commit message (Collapse)AuthorAgeFilesLines
* Remove __P.alfred2002-03-201-75/+75
|
* Clean up the i4b kernel part: remove unmaintained #if(def)s for NetBSD,hm2002-03-1748-1756/+215
| | | | | OpenBSD and BSD/OS and respective code, remove pre $FreeBSD CVS id's, remove #if(def)s and respective code for FreeBSD versions < 5 .
* remove BSD/OS specific ppp-interface file since the FreeBSD-BSD/OS mergerhm2002-03-091-562/+0
| | | | is IMHO likely not to happen anymore ...
* After joergs merge of i4b's sppp with the main sppp, remove obsolete file.hm2002-03-091-4687/+0
|
* Quiet bogus gcc warningpeter2002-02-281-1/+1
|
* Remove a redundant decalaration of call_desc[] since it's now agj2002-02-271-2/+0
| | | | fatal error.
* Make call_desc[] extern since it's also defined in layer4/i4b_l4mgmt.cgj2002-01-131-1/+2
| | | | | | | | | | which was causing the link of the kernel to fail. Since layer4/i4b_l4mgmt.c is always required by i4b and layer3/i4b_q931.c is only needed when a passive card is present it makes sense to have the declaration in the former file only. No MFC required since the problem only became apparent after a change to the compile options in -current which AFAIK wasn't made in -stable.
* Fix some places where the macro L0IFPIUNIT was used instead of the correctgj2002-01-022-7/+7
| | | | | | | form L0IFPI2UNIT. This could result in a panic if the user tried to trace using isdntrace(8). I fixed this locally but forgot to commit it. Reminded by: "Wittig, Christoph" <wc@medianet-world.de>
* Remove unused includes.joerg2001-12-311-7/+0
|
* Fix two typos in previous commit.joerg2001-12-302-2/+2
|
* Remove references to i4b/driver/i4b_ispppsubr.c, now thatjoerg2001-12-301-41/+0
| | | | | | | | net/if_spppsubr.c has all its features. Hooray, it's gone! MFC after: 1 month
* Protect mtx_init() invocations with mtx_intialized() checks to avoid agj2001-12-3016-30/+60
| | | | | | | reported panic. Submitted by: Alexander Leidinger <Alexander@Leidinger.net> (partly) MFC after: 4 weeks
* Fix an error which could cause a panic if both an ifpi and ifpi2 controllergj2001-12-292-5/+5
| | | | | | | were installed. For the ifpi2, change the string in the driver_t from "ifpi2" to "ifpi2-" so that one sees "ifpi2-0" instead of "ifpi20" at boot time.
* Add support for the AVM Fritz!Card PCI version 2 controller.gj2001-12-221-2/+4
| | | | MFC after: 4 weeks
* Add a driver for the AVM Fritz!Card PCI version 2 ISDN controller.gj2001-12-228-0/+3452
| | | | MFC after: 4 weeks
* Update to C99, s/__FUNCTION__/__func__/,obrien2001-12-101-4/+4
| | | | also don't use ANSI string concatenation.
* fix kvprintf panic in attach routinehm2001-10-241-6/+1
|
* Fix bug attaching the ELSA PCC16, the cardtyp value was set incorrectlyhm2001-10-211-2/+2
| | | | | in the probe routine. MFC after: 3 days
* Add a driver for the Compaq Microcom 610 ISDN (Compaq series PSB2222I) ISA PnPhm2001-10-213-30/+104
| | | | | | | | card. Submitted by: Steve Looman Reviewed by: hm MFC after: 1 month
* It seems that I slipped a nasty bug into the CAPI support. The messagehm2001-10-211-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | lengths for CONNECT_REQ and CONNECT_IND are incorrect, which causes dialouts to fail after certain error situations (an invalid -- not wrong! -- number has been dialed). Since these messages are tagged as too short, the device reads trailing garbage as the B protocol parameters; this is OK as long as the garbage consists of zero bytes, which it usually does, except after the said error. Another change we have taken into use is to send an explicit Q.850 "normal call clearing" code when a call is ignored using PRI equipment (specifically AVM T1); the CAPI pseudo-code for ignore, 1, translates into something at least Ericsson exchanges interpret oddly (message "this area is not reachable from your number"). NCCLR makes the exchange give a busy signal, which is the behaviour at least we prefer (conceivably, the ignore code could be made a sysctl variable). The attached patch corrects the message length issue. It also includes a somewhat unpretty solution for the PRI ignore code (if device's number of channels equals 30, assume PRI and send NCCLR, otherwise send CAPI ignore). Tested using AVM B1 PCI and T1 PCI. Submitted by: Juha-Matti Liukkonen <jml@cubical.fi> Reviewed by: hm MFC after: 1 month
* Add experimental support for sending keypad facility messages.hm2001-10-189-152/+120
| | | | MFC after: 2 months
* sppp rewrites the interface's ip address directly; this breaks when thejlemon2001-10-011-1/+7
| | | | | | | address is looked up via a hash table. Add a hack to move the entry to a new hash bucket when the address changes. Submitted by: tmm
* KSE Milestone 2julian2001-09-125-63/+63
| | | | | | | | | | | | | | Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
* Fix some signed/unsigned integer confusion, and add bounds checking ofkris2001-09-102-0/+8
| | | | | | | | arguments to some functions. Obtained from: NetBSD Reviewed by: peter MFC after: 2 weeks
* make driver compile under 4.3-STABLEhm2001-07-221-0/+4
|
* update step.hm2001-07-211-2/+2
|
* Submitted by: Juha-Matti Liukkonen (Cubical Solutions Ltd) (jml@cubical.fi)hm2001-05-2518-35/+4574
| | | | | | Add a CAPI (hardware independent) driver i4bcapi(4) and hardware driver iavc (4) to support active CAPI-based BRI and PRI cards (currently AVM B1 and T1 cards) to isdn4bsd.
* Submitted by: Juha-Matti Liukkonen, Cubical Solutions Ltd (jml@cubical.fi)hm2001-05-211-4/+4
| | | | | | | | | | | Reviewed by: hm Bug in i4btel driver read routine corrected. The conditions in the while() clause caused the receive queue to be referenced before checking if a channel is connected, leading to kernel panic (do a 'dd if=/dev/i4btel0 of=/dev/null' on an unconnected tel device, panic will follow). Correction was to reorder the while clause conditions to check for connectedness first.
* pseudo-device -> device in kernel config.schweikh2001-05-011-1/+1
| | | | Reviewed by: joerg, dd
* Send the remains (such as I have located) of "block major numbers" tophk2001-03-265-5/+0
| | | | the bit-bucket.
* (MFC candidate since this is already a merge from /sys/net only.)joerg2001-03-251-2/+16
| | | | | | | | | | Merge rev's 1.65 and 1.66 from sys/net/if_spppsubr.c (implement the `restart' option, and fix a blatant bug with PAP authentication). The i4b implementation of this file should be merged back, but for now, we need this here as well. Reviewed by: gj
* Preceed/preceeding are not english words. Use precede or preceding.asmodai2001-02-181-1/+1
|
* Fix typo: seperate -> separate.asmodai2001-02-062-2/+2
| | | | Seperate does not exist in the english language.
* Mechanical change to use <sys/queue.h> macro API instead ofphk2001-02-041-4/+4
| | | | | | | fondling implementation details. Created with: sed(1) Reviewed by: md5(1)
* Pull the rug from under the 'LKM Compatability' macro - PSEUDO_SET().peter2001-02-041-0/+28
| | | | | | | | There are two 3rd party code chunks using this still - the IPv6 stuff and i4b. Give them a private copy as an alternative to changing them too much. XXX sys/kernel.h still has a #include <sys/module.h> in it. I will be taking this out shortly - this affects a number of drivers.
* Stop counting sppp interfaces, we were just testing its presence to givepeter2001-01-291-4/+0
| | | | a warning if it was missing.
* Add experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.hm2001-01-263-3/+420
| | | | | Thanks a lot to Jakob Schripsema (sch@kpn.com) for pointing out similarities of the Eicon 2.02 to the Siemens I-surf driver !
* Add experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.hm2001-01-261-3/+4
| | | | | Increment i4b minor revision (=step) so a buildworld or a make install in /usr/src/sys/include is necessary to get isdnd and i4b kernel parts in sync.
* remove redundant definitions of card types:hm2001-01-2430-451/+118
| | | | | | | - remove all occurances of FLAG_XXX values and replace with CARD_TYPEP_XXX - remove sc_flag from isic softc and replace it with sc_cardtyp remove some left over redundant definitions from isic and i4b_l1.h remove left over cvs id from i4b cvs repository
* Remove useless variable vjlen.hm2001-01-231-2/+2
| | | | Submitted by: Sergio de Souza Prallon <prallon@tmp.com.br>
* Update the iwic driver: fix error handling for rx errors on the D-channelhm2001-01-218-111/+103
| | | | | which prevents erroneous packets from being put onto the protocol stack; enhance error detection for B-channel HDLC errors; remove old cvs id´s.
* Finish deprecating <sys/select.h> in favor of <sys/selinfo.h> in kernel code.wollman2001-01-201-0/+4
|
* it seems that a commit to i4b/drivers/i4b_ispppsubr.c on 2000-01-12 hashm2001-01-151-2/+2
| | | | | | | broken the handling of uncompressed VJ packets. The attached diff should hopefully fix that. Submitted by: Thomas Moestl <tmoestl@gmx.net> Reviewed by: Sergio de Souza Prallon <prallon@tmp.com.br>
* Reenable support for FreeBSD 4.x and possibly the other supported BSD'shm2001-01-1515-218/+381
|
* Fix a bug overwriting random data when Van Jacobsen header compressionhm2001-01-121-11/+21
| | | | | was used with the isp/isppp driver. Submitted by: Sergio de Souza Prallon <prallon@tmp.com.br>
* Add the ISDN itjc hardware driver. This driver supports the NETJet-S cardshm2001-01-118-9/+3942
| | | | | | | | | | from Traverse Technology and also the Teles PCI-TJ cards both based on the chipset combination of the Siemens ISAC and the TJNet Tiger300/320 chips. The itjc/i4b_hdlc.h file will hopefully soon be merged with the file /usr/src/sys/i4b/layer1/i4b_hdlc.h. Submitted by: Sergio de Souza Prallon <prallon@tmp.com.br>
* Add infrastructure to support the ISDN itjc hardware driver.hm2001-01-111-7/+7
| | | | Submitted by: Sergio de Souza Prallon <prallon@tmp.com.br>
* Update the ihfc driver with a patch from the author. He writes: This patchhm2001-01-114-50/+84
| | | | | | | | | enables the driver to work on current (I have not tested the isa part fully, but I suppose it should work). The patching from jlemon caused a crash at probe time. This is probably my fault not having added a comment for "RESET_SOFT" saying: "this resets all!". Submitted by: Hans Petter Selasky <hselasky@c2i.net>
* Add PCI id's for the Planet PCI ISDN Adapter (Model IA128P-STDV)hm2001-01-101-4/+3
| | | | Submitted by: Luiz Henrique Duma <duma@bsi.com.br>
* Move the mutex initialization from avma1pp_bchannel_setup intojlemon2001-01-091-2/+9
| | | | | | | avma1pp_attach_avma1pp, since the former may be called multiple times and we only want to initialize the mutex once. Submitted by: Thomas Moestl <tmoestl@gmx.net>
OpenPOWER on IntegriCloud