summaryrefslogtreecommitdiffstats
path: root/sys/i4b
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* When queueing a packet, call the output start routine. I botched thisjlemon2001-01-091-1/+1
| | | | | | during the initial ifqueue conversion. Submitted by: Thomas Moestl <tmoestl@gmx.net>
* Part 2 of the netgraph rewrite.julian2001-01-081-16/+15
| | | | | | This is mostly cosmetic changes, (though I caught a bug or two while makeing them) Reviewed by: archie@freebsd.org
* Rewrite of netgraph to start getting ready for SMP.julian2001-01-061-30/+50
| | | | | | | | This version is functional and is aproaching solid.. notice I said APROACHING. There are many node types I cannot test I have tested: echo hole ppp socket vjc iface tee bpf async tty The rest compile and "Look" right. More changes to follow. DEBUGGING is enabled in this code to help if people have problems.
* Divorce the kernel binary ABI version number from the messagejulian2000-12-181-1/+1
| | | | | | | | | format version number. (userland programs should not need to be recompiled when the netgraph kernel internal ABI is changed. Also fix modules that don;t handle the fact that a caller may not supply a return message pointer. (benign at the moment because the calling code checks, but that will change)
* Change initialiser to match new structure layout.julian2000-12-121-1/+0
| | | | | forgotten by: Me Found by: GCC
* Reviewed by: Archie@freebsd.orgjulian2000-12-121-2/+5
| | | | | | | | | | | | | This clears out my outstanding netgraph changes. There is a netgraph change of design in the offing and this is to some extent a superset of soem of the new functionality and some of the old functionality that may be removed. This code works as before, but allows some new features that I want to work with and evaluate. It is the basis for a version of netgraph with integral locking for SMP use. This is running on my test machine with no new problems :-)
* Bugfix: enable interrupt sharing for ELSA Microlink ISDN PCIhm2000-12-031-2/+2
|
* Make log(-1, ...) do what addlog(...) did.phk2000-11-261-97/+97
| | | | | | | | Replace all uses of addlog(...) with log(-1, ...) Remove bogus "register" keywords in subr_prf.c Make log() return void.
* Lock down the network interface queues. The queue mutex must be obtainedjlemon2000-11-2519-251/+157
| | | | | | | | | | | | | | 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 i4b netgraph interface to not kernel panic at boot timehm2000-11-091-2/+13
| | | | | Make code compile and work for FreeBSD 4.x as well as FreeBSD 5.x Submitted by: Michael Reifenberger <root@nihil.plaut.de>
* Fix two typo's: teh -> the, ther -> there.asmodai2000-11-081-1/+1
|
* Remove unused #include statementshm2000-10-3044-84/+0
| | | | Submitted by: phk
* Add infrastructure for Cologne Chip HFC-S PCI driver.hm2000-10-261-1/+4
|
* Add infrastructure for Cologne Chip HFC-S PCI driver.hm2000-10-261-5/+6
| | | | Increment isdn4bsd step.
* 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.
* Add a debug flag bit for a new driver.hm2000-10-181-19/+19
|
* Remove unneeded #include <machine/clock.h>phk2000-10-1539-39/+0
|
* Submitted by: phkhm2000-10-1367-275/+13
| | | | Remove not needed includes.
* When T308 times out while waiting for a RELEASE COMPLETE, clean up andhm2000-10-121-2/+15
| | | | | send a disconnect indication to the upper layers. This lets isdnd recover from the situation instead of hanging in some intermediate state ...
* fix conflicting types for ng_ing_rcvmsg() and ng_ing_rcvdata().hm2000-10-101-3/+4
|
* Set i4b version number to 0.96.00.hm2000-10-101-3/+3
| | | | It is (nearly) identical to i4b-00.96.00-beta-101000.tar.gz
* update to i4b version 0.95.04 (oops, forgot this one ..)hm2000-10-091-0/+115
|
* remove MAINTAINER: i'll develop and maintain i4b from now on in thehm2000-10-091-1/+0
| | | | FreeBSD-current tree
* remove the tina-dd driver fragment, it is unlikely that it will get finished.hm2000-10-093-497/+0
|
* update to i4b version 0.95.04hm2000-10-0967-5562/+11422
|
* update to i4b version 0.95.04hm2000-10-0947-1234/+7700
|
* - 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.
* Avoid the modules madness I inadvertently introduced by making thephk2000-09-024-36/+0
| | | | | | | | | | | | | | | | | | cloning infrastructure standard in kern_conf. Modules are now the same with or without devfs support. If you need to detect if devfs is present, in modules or elsewhere, check the integer variable "devfs_present". This happily removes an ugly hack from kern/vfs_conf.c. This forces a rename of the eventhandler and the standard clone helper function. Include <sys/eventhandler.h> in <sys/conf.h>: it's a helper #include like <sys/queue.h> Remove all #includes of opt_devfs.h they no longer matter.
* Remove all traces of Julians DEVFS (incl from kern/subr_diskslice.c)phk2000-08-205-59/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Remove old DEVFS support fields from dev_t. Make uid, gid & mode members of dev_t and set them in make_dev(). Use correct uid, gid & mode in make_dev in disk minilayer. Add support for registering alias names for a dev_t using the new function make_dev_alias(). These will show up as symlinks in DEVFS. Use makedev() rather than make_dev() for MFSs magic devices to prevent DEVFS from noticing this abuse. Add a field for DEVFS inode number in dev_t. Add new DEVFS in fs/devfs. Add devfs cloning to: disk minilayer (ie: ad(4), sd(4), cd(4) etc etc) md(4), tun(4), bpf(4), fd(4) If DEVFS add -d flag to /sbin/inits args to make it mount devfs. Add commented out DEVFS to GENERIC
* Borrow phk's axe and apply the next stage of config(8)'s evolution.peter2000-06-132-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use Warner Losh's "hint" driver to decode ascii strings to fill the resource table at boot time. config(8) no longer generates an ioconf.c table - ie: the configuration no longer has to be compiled into the kernel. You can reconfigure your isa devices with the likes of this at loader(8) time: set hint.ed.0.port=0x320 userconfig will be rewritten to use this style interface one day and will move to /boot/userconfig.4th or something like that. It is still possible to statically compile in a set of hints into a kernel if you do not wish to use loader(8). See the "hints" directive in GENERIC as an example. All device wiring has been moved out of config(8). There is a set of helper scripts (see i386/conf/gethints.pl, and the same for alpha and pc98) that extract the 'at isa? port foo irq bar' from the old files and produces a hints file. If you install this file as /boot/device.hints (and update /boot/defaults/loader.conf - You can do a build/install in sys/boot) then loader will load it automatically for you. You can also compile in the hints directly with: hints "device.hints" as well. There are a few things that I'm not too happy with yet. Under this scheme, things like LINT would no longer be useful as "documentation" of settings. I have renamed this file to 'NOTES' and stored the example hints strings in it. However... this is not something that config(8) understands, so there is a script that extracts the build-specific data from the documentation file (NOTES) to produce a LINT that can be config'ed and built. A stack of man4 pages will need updating. :-/ Also, since there is no longer a difference between 'device' and 'pseudo-device' I collapsed the two together, and the resulting 'device' takes a 'number of units' for devices that still have it statically allocated. eg: 'device fe 4' will compile the fe driver with NFE set to 4. You can then set hints for 4 units (0 - 3). Also note that 'device fe0' will be interpreted as "zero units of 'fe'" which would be bad, so there is a config warning for this. This is only needed for old drivers that still have static limits on numbers of units. All the statically limited drivers that I could find were marked. Please exercise EXTREME CAUTION when transitioning! Moral support by: phk, msmith, dfr, asmodai, imp, and others
* Make this compile without the old 2.2 compatability defines.peter2000-05-282-5/+5
|
* Mass update of isa drivers using compatability shims to usepeter2000-05-281-0/+7
| | | | COMPAT_ISA_DRIVER() so that we can get rid of the evil isa_compat.h table.
* Remove 42 unneeded #include <sys/ioccom.h>.phk2000-05-0338-38/+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-2929-29/+0
|
* * Use sys/sys/random.h rather than a i386 specific one.obrien2000-04-242-8/+2
| | | | | * There was nothing that should be machine dependant about i386/isa/random_machdep.c, so it is now sys/kern/kern_random.c.
* 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-146-14/+60
|
* update to isdn4bsd beta release 0.90hm1999-12-1467-6266/+3516
|
* Temporary adjustment to build after pnp changes. There is a new versionpeter1999-12-076-11/+10
| | | | | | in the pipeline apparently. OK'ed by: hm
OpenPOWER on IntegriCloud