summaryrefslogtreecommitdiffstats
path: root/sys/i4b
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Call i4b_l4_drvrdisc, not i4b_l4_disconnect_ind to bring the linkbrian1999-11-281-2/+2
| | | | | | | | down when the device is closed or carrier is removed. This solves the disconnect problems when using user-ppp over isdn. Suggested 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
* Remove five now unused fields from struct cdevsw. They should neverphk1999-09-256-30/+0
| | | | | | | | have been there in the first place. A GENERIC kernel shrinks almost 1k. Add a slightly different safetybelt under nostop for tty drivers. Add some missing FreeBSD tags
* 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.
* make correct minor numvers for some of the devices.julian1999-08-311-5/+18
| | | | Submitted by: Hellmuth Michaelis <hm@hcs.de>
* add MAINTAINER for the kernel part of i4bhm1999-08-281-0/+1
|
* $Id$ -> $FreeBSD$peter1999-08-2889-89/+89
|
* Add PHK's make_dev() into more places where DEVFS used to bejulian1999-08-275-92/+13
| | | | | | | | | hooked in directly. Alpha change checked by: Matthew Jacob <mjacob@feral.com> i4b ISDN changes checked by: Udo Schweigert <ust@cert.siemens.de> and Hellmuth Michaelis <hm@hcs.de> PC98 changes checked by: Takahashi Yoshihiro <nyan@FreeBSD.org>
* Avoid symbol clash in LINT.phk1999-08-082-4/+4
|
* updating isdn4bsd to beta version 0.83hm1999-08-0631-287/+2992
|
* Rename bpfilter to bpf.des1999-07-062-16/+16
|
* devsw and cdevsw_add() changes for i4b.phk1999-06-016-77/+147
| | | | Reviewed by: hm
* upgrade isdn4bsd from version 0.71 to the just released version 0.81hm1999-05-2044-706/+2602
|
* Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add:peter1999-05-091-5/+1
| | | | | | | | #define COMPAT_PCI_DRIVER(name,data) DATA_SET(pcidevice_set,data) .. to 2.2.x and 3.x if people think it's worth it. Driver writers can do this if it's not defined. (The reason for this is that I'm trying to progressively eliminate use of linker_sets where it hurts modularity and runtime load capability, and these DATA_SET's keep getting in the way.)
* Missing 'int' declaration in devsw_installed variable.peter1999-05-061-2/+2
|
OpenPOWER on IntegriCloud