summaryrefslogtreecommitdiffstats
path: root/sys/i4b
Commit message (Collapse)AuthorAgeFilesLines
* Fix another typo in a comment which I noticed while doing the MFC.gj2003-02-061-1/+1
|
* Fix some typos in 3 comments.gj2003-02-011-4/+5
| | | | Reported by: marius@alchemy.franken.de
* Add a fix for the case where the dialout fails. In this case the ispgj2003-01-301-0/+13
| | | | | | | | | | | | interface was left in an active, but not connected, state, which resulted in data being sent to it and the transmit queue filling up. This happened because the driver never informed sppp that it shoulkd clean up the connection. This fix informs sppp that it should clean things up. The fix was actually developed and tested under -stable, so a short MFC period seems appropriate, say 2 days. Contributed by: Ari Suutari <ari.suutari@syncrontech.com>
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-214-11/+11
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-012-24/+24
| | | | especially in troff files.
* network interface and link layer changes:sam2002-11-152-6/+4
| | | | | | | | | | | | o on input don't strip the Ethernet header from packets o input packet handling is now done with if_input o track changes to ether_ifattach/ether_ifdetach API o track changes to bpf tapping o call ether_ioctl for default handling of ioctl's o use constants from net/ethernet.h where possible Reviewed by: many Approved by: re
* Don't include the depricated "bpf.h" and always compile in bpf supportbrooks2002-10-212-21/+1
| | | | as per current practice.
* Be consistent about marking functions static.phk2002-10-157-30/+31
| | | | Found by: FlexeLint.
* It's bad enough people can't figure out to use the same code, or inphk2002-09-113-192/+139
| | | | | | this case, ugly macros, but the data tables can be reused: Put one copy of the software HDLC tables in its own file.
* Add missing calls to mtx_init().phk2002-09-101-0/+12
| | | | | | It seems counter-intuitive that all drivers have to do this. Pointed in right direction by: gj
* Continue de-counting i4b. Devices i4bctl, i4bcapi, iavc, i4bq921,brooks2002-09-0282-476/+34
| | | | | | | | i4bq931, i4b, isic, iwic, ifpi, ifpi2, ifpnp, ihfc, and itjc are no longer count devices. Also remove a few other instances of N<DEVICE> being used to control compilation of whole files. Reviewed by: hm
* Bugfix to enable dialer "connected" response.hm2002-08-271-3/+12
|
* Replace various spelling with FALLTHROUGH which is lint()ablecharnier2002-08-251-1/+1
|
* add support properly displaying and logging incoming telephone numbers (MSNs)hm2002-08-124-3/+43
| | | | | | | by looking at the "type of number" field and providing configurable hooks to correct the numbers accordingly. See keywords add-prefix, prefix-national and prefix-international in isdnd.rc(5). This feature was implemented by Christian Ullrich <chris@chrullrich.de>
* add experimental support for Data over Voice (DoV) outgoing calls.hm2002-08-116-10/+34
| | | | | based on patches received from Guy Ellis (guy@traverse.com.au), Chris Collins (xfire@xware.cx) and Phillip Musumeci (phillip@cs.jcu.edu.au).
* 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
OpenPOWER on IntegriCloud