summaryrefslogtreecommitdiffstats
path: root/sys/i4b/layer1
Commit message (Collapse)AuthorAgeFilesLines
* Remote pci.h/NPCI usage from i4b code.brooks2002-06-1318-36/+18
| | | | 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
* 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-046-16/+16
| | | | | | | 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
* Clean up the i4b kernel part: remove unmaintained #if(def)s for NetBSD,hm2002-03-172-19/+5
| | | | | OpenBSD and BSD/OS and respective code, remove pre $FreeBSD CVS id's, remove #if(def)s and respective code for FreeBSD versions < 5 .
* Quiet bogus gcc warningpeter2002-02-281-1/+1
|
* 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>
* Fix two typos in previous commit.joerg2001-12-301-1/+1
|
* Protect mtx_init() invocations with mtx_intialized() checks to avoid agj2001-12-306-16/+32
| | | | | | | 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 a driver for the AVM Fritz!Card PCI version 2 ISDN controller.gj2001-12-228-0/+3452
| | | | MFC after: 4 weeks
* 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-212-26/+100
| | | | | | | | card. Submitted by: Steve Looman Reviewed by: hm MFC after: 1 month
* Fix typo: seperate -> separate.asmodai2001-02-062-2/+2
| | | | Seperate does not exist in the english language.
* 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 !
* 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
* 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.
* Reenable support for FreeBSD 4.x and possibly the other supported BSD'shm2001-01-156-28/+79
|
* 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>
* 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>
* Bugfix: enable interrupt sharing for ELSA Microlink ISDN PCIhm2000-12-031-2/+2
|
* Lock down the network interface queues. The queue mutex must be obtainedjlemon2000-11-257-53/+36
| | | | | | | | | | | | | | before adding/removing packets from the queue. Also, the if_obytes and if_omcasts fields should only be manipulated under protection of the mutex. IF_ENQUEUE, IF_PREPEND, and IF_DEQUEUE perform all necessary locking on the queue. An IF_LOCK macro is provided, as well as the old (mutex-less) versions of the macros in the form _IF_ENQUEUE, _IF_QFULL, for code which needs them, but their use is discouraged. Two new macros are introduced: IF_DRAIN() to drain a queue, and IF_HANDOFF, which takes care of locking/enqueue, and also statistics updating/start if necessary.
* Fix two typo's: teh -> the, ther -> there.asmodai2000-11-081-1/+1
|
* Remove unused #include statementshm2000-10-3034-74/+0
| | | | Submitted by: phk
* Add infrastructure for Cologne Chip HFC-S PCI driver.hm2000-10-261-1/+4
|
* Make the software HDLC decoder work again.hm2000-10-261-3/+5
| | | | Submitted by: Hans Petter Selasky <hselasky@c2i.net>
* Submitted by: Hans Petter Selasky <hselasky@c2i.net>hm2000-10-202-17/+33
| | | | Remove double 0x7e flags between hdlc-frames.
* Remove unneeded #include <machine/clock.h>phk2000-10-1539-39/+0
|
* Submitted by: phkhm2000-10-1339-139/+11
| | | | Remove not needed includes.
* update to i4b version 0.95.04 (oops, forgot this one ..)hm2000-10-091-0/+115
|
* update to i4b version 0.95.04hm2000-10-0967-5562/+11422
|
* - Remove the inthand2_t type and use the equivalent driver_intr_t type fromjhb2000-09-131-1/+4
| | | | | | | | | | | | | newbus for referencing device interrupt handlers. - Move the 'struct intrec' type which describes interrupt sources into sys/interrupt.h instead of making it just be a x86 structure. - Don't create 'ithd' and 'intrec' typedefs, instead, just use 'struct ithd' and 'struct intrec' - Move the code to translate new-bus interrupt flags into an interrupt thread priority out of the x86 nexus code and into a MI ithread_priority() function in sys/kern/kern_intr.c. - Remove now-uneeded x86-specific headers from sys/dev/ata/ata-all.c and sys/pci/pci_compat.c.
* Make this compile without the old 2.2 compatability defines.peter2000-05-282-5/+5
|
* Remove 42 unneeded #include <sys/ioccom.h>.phk2000-05-0319-19/+0
| | | | | | ioccom.h defines only implementation detail, and should therefore only be included from the #include which defines the ioctl tags, in other words: never include it from *.c
* Remove unneeded #include <sys/kernel.h>phk2000-04-2915-15/+0
|
* Fix a problem which caused i/o resource allocation conflict of thishm2000-03-091-10/+26
| | | | | | | | | | | particular ISDN card with the 2nd IDE controller and/or other cards depending on configuration. The amount of i/o ports allocated are reduced from 0x40 per range to 0x20 per range. Submitted by: Andrew Gordon <arg@arg1.demon.co.uk> Approved by: jkh
* Newbus-ify the USR Sportster TA Intern driver.gj2000-02-211-55/+299
| | | | | | | | | | | | | | | | | | Enable the driver in sys/conf/files.i386. In isa/isavar.h increase ISA_NPORT from 32 to 50. This is required because this brain-damaged card maps 49 (!) port ranges. This does not have a negative impact because this value only specifies the maximum number of entries in a linked list and not the size of an array which is allocated in all drivers. The register/fifo access routines were not newbus-ified because 1) I knew that the old code worked and is simpler and more efficient 2) the if_ed driver does something similar and 3) the newbus macros collapse to inb/outb anyway. Reviewed and tested by: hm Approved by: jkh
* update to isdn4bsd beta release 0.90hm1999-12-1427-5955/+2702
|
* Temporary adjustment to build after pnp changes. There is a new versionpeter1999-12-076-11/+10
| | | | | | in the pipeline apparently. OK'ed by: hm
* Disable old PCCARD_MODULE code.imp1999-10-291-0/+2
| | | | | | This should fix LINT. Prompted by: phk's explicit message about LINT breakage
* Finish making LINT compile. Disable references to pnp in files thatpeter1999-09-034-4/+9
| | | | | don't appear to use it, and disable i4b_isic_pnp.c (with a #warning) until it's converted.
* $Id$ -> $FreeBSD$peter1999-08-2841-41/+41
|
* Avoid symbol clash in LINT.phk1999-08-082-4/+4
|
* updating isdn4bsd to beta version 0.83hm1999-08-0613-706/+2550
|
* upgrade isdn4bsd from version 0.71 to the just released version 0.81hm1999-05-2019-161/+1309
|
OpenPOWER on IntegriCloud