summaryrefslogtreecommitdiffstats
path: root/sys/i4b/layer1/ihfc
Commit message (Collapse)AuthorAgeFilesLines
* /* -> /*- for copyright notices, minor format tweaks as necessaryimp2005-01-066-18/+24
|
* Convert callers to the new bus_alloc_resource_any(9) API.njl2004-03-171-2/+2
| | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
* Use __FBSDID().obrien2003-06-103-14/+9
|
* Back out M_* changes, per decision of the TRB.imp2003-02-191-1/+1
| | | | Approved by: trb
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-1/+1
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* Be consistent about marking functions static.phk2002-10-153-23/+23
| | | | Found by: FlexeLint.
* Continue de-counting i4b. Devices i4bctl, i4bcapi, iavc, i4bq921,brooks2002-09-023-18/+0
| | | | | | | | 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
* Fix some low hanging fruit warnings. There are problems in i4b_ing.cpeter2002-05-241-0/+3
| | | | still, but they are due due to some bogosity in netgraph.
* Change callers of mtx_init() to pass in an appropriate lock type name. Injhb2002-04-041-2/+2
| | | | | | | 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
* Protect mtx_init() invocations with mtx_intialized() checks to avoid agj2001-12-301-2/+4
| | | | | | | reported panic. Submitted by: Alexander Leidinger <Alexander@Leidinger.net> (partly) MFC after: 4 weeks
* Fix typo: seperate -> separate.asmodai2001-02-062-2/+2
| | | | Seperate does not exist in the english language.
* remove redundant definitions of card types:hm2001-01-241-5/+5
| | | | | | | - 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
* Reenable support for FreeBSD 4.x and possibly the other supported BSD'shm2001-01-151-5/+7
|
* Update the ihfc driver with a patch from the author. He writes: This patchhm2001-01-113-24/+62
| | | | | | | | | 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>
* Lock down the network interface queues. The queue mutex must be obtainedjlemon2000-11-252-5/+8
| | | | | | | | | | | | | | 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.
* Remove unused #include statementshm2000-10-302-2/+0
| | | | Submitted by: phk
* Submitted by: Hans Petter Selasky <hselasky@c2i.net>hm2000-10-201-6/+14
| | | | Remove double 0x7e flags between hdlc-frames.
* Remove unneeded #include <machine/clock.h>phk2000-10-153-3/+0
|
* Submitted by: phkhm2000-10-133-9/+0
| | | | Remove not needed includes.
* update to i4b version 0.95.04hm2000-10-096-0/+3310
OpenPOWER on IntegriCloud