summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus/immio.c
Commit message (Collapse)AuthorAgeFilesLines
* Use __FBSDID().obrien2003-08-241-1/+3
| | | | Also some minor style cleanups.
* Translate various ppbus sequences into microsequences to limitnsouch2001-06-231-66/+74
| | | | | | overhead of abstraction layers. Submitted by: jcm@FreeBSD-uk.eu.org
* Discard extra status information if -1. This has been breaking thensouch2001-01-251-0/+5
| | | | | | PS/2 mode for ZIP+ drives for a long time. Thanks Jonathon. Submitted by: j mckitrick <jcm@FreeBSD-uk.eu.org>
* Cleanup and improve mode detection. Now, you should get what you actuallynsouch2001-01-021-61/+41
| | | | | | | 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-69/+77
| | | | | | | | | | | | | | | | | | | | | 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-3/+5
| | | | -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-12/+12
| | | | | | | | 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-1/+3
| | | | | | | | | | | | | | | | | | | + 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.
* lpbb is the official Philips parallel I2C interface. lpbb.c contains onlynsouch1998-10-311-7/+15
| | | | | | basic i/o functions, bit-banging mechanism is implemented by dev/iicbus/iicbb.c immio.c: some bootverbose logs to watch zip+ connect/disconnect process
* abort imm init if can't disconnect from drivensouch1998-10-021-1/+2
|
* - port of vpo code to CAMnsouch1998-09-201-28/+50
| | | | | | | | - 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
* Lowlevel i/o routines for ZIP+ support. Mostly written with microseqnsouch1998-09-131-0/+771
mechanism
OpenPOWER on IntegriCloud