summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus/vpoio.c
Commit message (Collapse)AuthorAgeFilesLines
* Use __FBSDID().obrien2003-08-241-1/+3
| | | | Also some minor style cleanups.
* Remove empty #if*/#endif clauses.phk2002-09-211-3/+0
|
* Update to C99, s/__FUNCTION__/__func__/,obrien2001-12-101-2/+2
| | | | also don't use ANSI string concatenation.
* Translate various ppbus sequences into microsequences to limitnsouch2001-06-231-43/+54
| | | | | | overhead of abstraction layers. Submitted by: jcm@FreeBSD-uk.eu.org
* Cleanup and improve mode detection. Now, you should get what you actuallynsouch2001-01-021-122/+50
| | | | | | | want according to the modes set with the ppc(4) flags. Especially, it should fix some problems with mode detection of parallel chipsets configured to EPP but which have timing troubles with the drives. In such a case, the driver should now fall back to slower modes (PS2, NIBBLE).
* Remove unneeded #include <machine/clock.h>phk2000-10-151-1/+0
|
* Remove unneeded #include <sys/kernel.h>phk2000-04-291-1/+0
|
* Remove unneeded <sys/buf.h> includes.phk2000-04-181-1/+0
| | | | | Due to some interesting cpp tricks in lockmgr, the LINT kernel shrinks by 924 bytes.
* Port of ppbus standalone framework to the newbus system.nsouch2000-01-141-83/+87
| | | | | | | | | | | | | | | | | | | | | 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).
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-291-4/+4
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Make ppbus compile under egcs. I'm not sure about this casting-to-union-peter1999-04-051-5/+7
| | | | -containing-the-type stuff, but gcc seemed to do it implicitly..
* Distinguish EPP address/data register. Add EPP address register access to ppi.nsouch1999-01-301-14/+14
| | | | | | | | 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>
* Major ppbus commit with:nsouch1999-01-101-4/+15
| | | | | | | | | | | | | | | | | | | + ECP parallel port chipset FIFO detection + DMA+FIFO parallel I/O handled as chipset specific + nlpt updated in order to use the above enhanced parallel I/O. Use 'lptcontrol -e' to use enhanced I/O + Various options documented in LINT + Full IEEE1284 NIBBLE and BYTE modes support. See ppbus(4) for an overview of the IEEE1284 standard + Detection of PnP parallel devices at boot + Read capability added to nlpt driver to get IEEE1284 compliant printer status with a simple 'cat /dev/lpt0' + IEEE1284 peripheral emulation added to BYTE mode. Two computers may dialog according to IEEE1284 signaling method. See PERIPH_1284 option and /sys/dev/ppbus/ppi.c All this code is supposed to provide basic functions for IEEE1284 programming. ppi.c and nlpt.c may act as examples.
* The "easy" fixes for compiling the kernel -Wunused: remove unreferenced staticarchie1998-12-071-5/+1
| | | | and local variables, goto labels, and functions declared but not defined.
* - port of vpo code to CAMnsouch1998-09-201-15/+60
| | | | | | | | - ppbus was released before checking if still in disk_mode by vpoio and immio: the microseq (in_disk_mode) was never executed. Fixed. - nlptintr() renamed to nlpt_intr(). spltty() inserted in nlptintr() before nlpt_intr() call
* ppbus enhanced to support ZIP+ : 1284 code added, microseq improved +nsouch1998-09-131-59/+77
| | | | some bugs corrected in vpoio.
* Major ppbus updates from the author.msmith1998-08-031-0/+771
- 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>
OpenPOWER on IntegriCloud