summaryrefslogtreecommitdiffstats
path: root/sys/i4b
Commit message (Collapse)AuthorAgeFilesLines
* Remote pci.h/NPCI usage from i4b code.brooks2002-06-1321-40/+19
| | | | Approved by: hm
* Fix typo in the BSD copyright: s/withough/without/schweikh2002-06-021-1/+1
| | | | | Spotted and suggested by: des MFC after: 3 weeks
* Unbreak LINT by compensating for thealfred2002-06-011-4/+3
| | | | ng_parse_struct_info -> ng_parse_struct_field change.
* Fixed printf format errors which apparently crept in while -Wformat wasbde2002-05-251-1/+2
| | | | disabled for gcc-3.
* Oops, I missed this warning. Comment out extra junk after #endifpeter2002-05-241-1/+1
|
* Fix some low hanging fruit warnings. There are problems in i4b_ing.cpeter2002-05-242-0/+5
| | | | still, but they are due due to some bogosity in netgraph.
* Fix a problem which could cause some machines to hang after a warm boot.gj2002-05-101-2/+2
| | | | | | This should be in 4.6. Submitted by: Ari Suutari <ari.suutari@syncrontech.com>
* Change instances of avma1pp2- to ifpi2- in printf's since the namegj2002-04-281-5/+5
| | | | | | of the driver should be emitted. This was already changed in the code committed to RELENG_4.
* On slow machines interrupts could be lost, so check for pendinggj2002-04-231-11/+18
| | | | | | interrupts in a loop. Tested by: Andrew Gordon <arg-bsd@arg1.demon.co.uk>
* Change callers of mtx_init() to pass in an appropriate lock type name. Injhb2002-04-0415-28/+28
| | | | | | | most cases NULL is passed, but in some cases such as network driver locks (which use the MTX_NETWORK_LOCK macro) and UMA zone locks, a name is used. Tested on: i386, alpha, sparc64
* Change the suser() API to take advantage of td_ucred as well as do ajhb2002-04-011-2/+2
| | | | | | | | | | | | general cleanup of the API. The entire API now consists of two functions similar to the pre-KSE API. The suser() function takes a thread pointer as its only argument. The td_ucred member of this thread must be valid so the only valid thread pointers are curthread and a few kernel threads such as thread0. The suser_cred() function takes a pointer to a struct ucred as its first argument and an integer flag as its second argument. The flag is currently only used for the PRISON_ROOT flag. Discussed on: smp@
* Add support for Q.931 subaddresses.hm2002-03-267-28/+82
| | | | Submitted by: Steven Looman <fsteevie@wish.net>
* 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.
OpenPOWER on IntegriCloud