History log of /freebsd/sys/dev/ppbus/if_plip.c (Results 126 – 147 of 147)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs, release/4.3.0_cvs, release/4.3.0
# df5e1987 25-Nov-2000 Jonathan Lemon <jlemon@FreeBSD.org>

Lock down the network interface queues. The queue mutex must be obtained
before adding/removing packets from the queue. Also, the if_obytes and
if_omcasts fields should only be manipulated under p

Lock down the network interface queues. The queue mutex must be obtained
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.

show more ...


Revision tags: release/4.2.0
# db7e3af1 15-Oct-2000 Poul-Henning Kamp <phk@FreeBSD.org>

Remove unneeded #include <machine/clock.h>


Revision tags: release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs
# 3389ae93 19-Apr-2000 Poul-Henning Kamp <phk@FreeBSD.org>

Remove ~25 unneeded #include <sys/conf.h>
Remove ~60 unneeded #include <sys/malloc.h>


Revision tags: release/4.0.0_cvs
# 84a5b015 13-Feb-2000 Peter Wemm <peter@FreeBSD.org>

Fix two warnings.


# 150630c4 25-Jan-2000 Doug Rabson <dfr@FreeBSD.org>

Make this lot build on alpha.


# 0f063508 23-Jan-2000 Peter Wemm <peter@FreeBSD.org>

Some newbus-inspired tidy-ups. Use device_identify() rather than scanning
the resource table to locate children. The 'at ppbus?' can go again.
Remove a few #if Nxxx > 0' type things, config arrange

Some newbus-inspired tidy-ups. Use device_identify() rather than scanning
the resource table to locate children. The 'at ppbus?' can go again.
Remove a few #if Nxxx > 0' type things, config arranges this for us.
Move the newbus method glue next to the DRIVER_MODULE() stuff so we
don't need extra prototypes.
Don't set device descriptions until after the possibility of the probe
returning an error.
Remove all cdevsw_add() calls, all the drivers that did this also use
make_dev() correctly, so it's not required.
A couple of other minor nits.

show more ...


# 0f210c92 14-Jan-2000 Nicolas Souchu <nsouch@FreeBSD.org>

Port of ppbus standalone framework to the newbus system.

Note1: the correct interrupt level is invoked correctly for each driver.
For this purpose, drivers request the bus before being able t

Port of ppbus standalone framework to the newbus system.

Note1: the correct interrupt level is invoked correctly for each driver.
For this purpose, drivers request the bus before being able to
call BUS_SETUP_INTR and BUS_TEARDOWN_INTR call is forced by the ppbus
core when drivers release it. Thus, when BUS_SETUP_INTR is called
at ppbus driver level, ppbus checks that the caller owns the
bus and stores the interrupt handler cookie (in order to unregister
it later).

Printing is impossible while plip link is up is still TRUE.
vpo (ZIP driver) and lpt are make in such a way that
using the ZIP and printing concurrently is permitted is also TRUE.

Note2: specific chipset detection is not done by default. PPC_PROBE_CHIPSET
is now needed to force chipset detection. If set, the flags 0x40
still avoid detection at boot.

Port of the pcf(4) driver to the newbus system (was previously directly
connected to the rootbus and attached by a bogus pcf_isa_probe function).

show more ...


Revision tags: release/3.4.0_cvs
# 46783fb8 25-Sep-1999 Poul-Henning Kamp <phk@FreeBSD.org>

Remove NBPF conditionality of bpf calls in most of our network drivers.

This means that we will not have to have a bpf and a non-bpf version
of our driver modules.

This does not open any security h

Remove NBPF conditionality of bpf calls in most of our network drivers.

This means that we will not have to have a bpf and a non-bpf version
of our driver modules.

This does not open any security hole, because the bpf core isn't loadable

The drivers left unchanged are the "cross platform" drivers where the respective
maintainers are urged to DTRT, whatever that may be.

Add a couple of missing FreeBSD tags.

show more ...


Revision tags: release/3.3.0_cvs
# c3aac50f 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 6b5ca0d8 06-Jul-1999 Dag-Erling Smørgrav <des@FreeBSD.org>

Rename bpfilter to bpf.


Revision tags: release/3.2.0, release/3.1.0
# 17b5923d 14-Feb-1999 Nicolas Souchu <nsouch@FreeBSD.org>

Move away from lpt.h data structure definition that only lpt.c relies on.

Remove if_plip.c dependency to lpt.h.


# fdf94d1a 14-Feb-1999 Nicolas Souchu <nsouch@FreeBSD.org>

Rename nlpt to lpt.

Remove from ppi.c the old depreciated module stuff.
Print info when if_plip can't use interrupts.


# 8f84257e 08-Feb-1999 Dag-Erling Smørgrav <des@FreeBSD.org>

Generate correct DLT_NULL headers before passing packets to bpf.
Do not modify m_len before passing mbuf chains to bpf.
Don't forget to pass packets to bpf when running in Crynwr mode (LINK0).

Parti

Generate correct DLT_NULL headers before passing packets to bpf.
Do not modify m_len before passing mbuf chains to bpf.
Don't forget to pass packets to bpf when running in Crynwr mode (LINK0).

Partially based on a patch by Bill Fenner <fenner@freebsd.org>.

PR: bin/7241

show more ...


# 20240fa3 30-Jan-1999 Nicolas Souchu <nsouch@FreeBSD.org>

Distinguish EPP address/data register. Add EPP address register access to ppi.

Change microseq offsets. Previously, offsets of the program counter where
added to the index of the current microinstru

Distinguish EPP address/data register. Add EPP address register access to ppi.

Change microseq offsets. Previously, offsets of the program counter where
added to the index of the current microinstruction. Make them rely on the
index of the next executed microinstruction.

Suggested by: Luigi Rizzo <luigi@labinfo.iet.unipi.it>

show more ...


# 7b7bf77e 23-Jan-1999 Nicolas Souchu <nsouch@FreeBSD.org>

Replace DEBUG by PLIP_DEBUG option


Revision tags: release/3.0.0, release/2.2.8
# 24063475 09-Jan-1999 Nicolas Souchu <nsouch@FreeBSD.org>

Fix Linux compatible mode. ppb_rxxx() calls are chars, inb() is int.


# 376ba00c 07-Nov-1998 Nicolas Souchu <nsouch@FreeBSD.org>

Define DEBUG only if not already defined, avoiding confusions with
opt_global.h


# 80015f13 24-Oct-1998 Mike Smith <msmith@FreeBSD.org>

Don't complain about SIOCGIFMEDIA; it's harmless and not something
useful here yet.

Submitted by: markm and others


# a7eaa4db 07-Oct-1998 Dag-Erling Smørgrav <des@FreeBSD.org>

Add missing newline in probe message.

PR: kern/8168
Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>


# 162886e2 17-Aug-1998 Bruce Evans <bde@FreeBSD.org>

Fixed printf format errors.


# 0e480188 12-Aug-1998 Bruce Evans <bde@FreeBSD.org>

Removed unused includes.


# 46f3ff79 03-Aug-1998 Mike Smith <msmith@FreeBSD.org>

Major ppbus updates from the author.

- ppbus now supports PLIP via the if_plip driver
- ieee1284 infrastructure added, including parallel-port PnP
- port microsequencer added, for scripting the s

Major ppbus updates from the author.

- ppbus now supports PLIP via the if_plip driver
- ieee1284 infrastructure added, including parallel-port PnP
- port microsequencer added, for scripting the sort of port I/O
that is common with parallel devices without endless calls up and down
through the driver structure.
- improved bus ownership behaviour among the ppbus-using drivers.
- improved I/O chipset feature detection

The vpo driver is now implemented using the microsequencer, leading to
some performance improvements as well as providing an extensive example
of its use.

Reviewed by: msmith
Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>

show more ...


123456