| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Found by: FlexeLint.
|
|
|
|
|
|
| |
this case, ugly macros, but the data tables can be reused:
Put one copy of the software HDLC tables in its own file.
|
|
|
|
|
|
| |
It seems counter-intuitive that all drivers have to do this.
Pointed in right direction by: gj
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Approved by: hm
|
|
|
|
|
| |
Spotted and suggested by: des
MFC after: 3 weeks
|
|
|
|
| |
still, but they are due due to some bogosity in netgraph.
|
|
|
|
|
|
| |
This should be in 4.6.
Submitted by: Ari Suutari <ari.suutari@syncrontech.com>
|
|
|
|
|
|
| |
of the driver should be emitted.
This was already changed in the code committed to RELENG_4.
|
|
|
|
|
|
| |
interrupts in a loop.
Tested by: Andrew Gordon <arg-bsd@arg1.demon.co.uk>
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
OpenBSD and BSD/OS and respective code, remove pre $FreeBSD CVS id's,
remove #if(def)s and respective code for FreeBSD versions < 5 .
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
reported panic.
Submitted by: Alexander Leidinger <Alexander@Leidinger.net> (partly)
MFC after: 4 weeks
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
MFC after: 4 weeks
|
|
|
|
|
| |
in the probe routine.
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
card.
Submitted by: Steve Looman
Reviewed by: hm
MFC after: 1 month
|
|
|
|
| |
Seperate does not exist in the english language.
|
|
|
|
|
| |
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 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
|
|
|
|
|
| |
which prevents erroneous packets from being put onto the protocol stack;
enhance error detection for B-channel HDLC errors; remove old cvs id´s.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Submitted by: Luiz Henrique Duma <duma@bsi.com.br>
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Submitted by: phk
|
| |
|
|
|
|
| |
Submitted by: Hans Petter Selasky <hselasky@c2i.net>
|
|
|
|
| |
Remove double 0x7e flags between hdlc-frames.
|
| |
|
|
|
|
| |
Remove not needed includes.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
in the pipeline apparently.
OK'ed by: hm
|
|
|
|
|
|
| |
This should fix LINT.
Prompted by: phk's explicit message about LINT breakage
|
|
|
|
|
| |
don't appear to use it, and disable i4b_isic_pnp.c (with a #warning)
until it's converted.
|