summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus
Commit message (Collapse)AuthorAgeFilesLines
* Fixed printf format errors.bde1998-08-171-2/+2
|
* Removed unused includes.bde1998-08-121-14/+1
|
* Major ppbus updates from the author.msmith1998-08-0313-788/+2447
| | | | | | | | | | | | | | | | | - 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>
* Removed unused includes.bde1998-06-211-2/+1
|
* Introduce std_pps_ioctl() to automagically DTRT.phk1998-06-131-32/+2
| | | | Add scaling capability to timex.offset, ntpd-4.0.73 will support this.
* Update to draft-mogul-pps-api-02.txt as submitted to IETFphk1998-06-121-6/+15
|
* Fixed an ioctl which grew overnight.bde1998-06-081-2/+2
|
* This is a prototype implementation of the draft-mogul-pps-api-##.txtphk1998-06-072-50/+62
| | | | | | | | | paper. It will be updated along with the draft and possible subsequent standard. The ppbus based pps driver is updated to implement this API.
* This commit fixes various 64bit portability problems required fordfr1998-06-072-4/+4
| | | | | | | | | | FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time.
* Support compiling with `gcc -ansi'.bde1998-04-151-8/+8
|
* Delete apparently unused DEVFS control device creation code - codeeivind1998-02-161-4/+1
| | | | | didn't even compile. A (now seemingly correct) devfs node is still created.
* A bunch of nits from bde.phk1998-02-151-68/+60
| | | | | Make the name "pps" all over the place. Remove the hardcoded 10us offset, use sawtooth for it.
* Man, twice in as many days. Gotta learn to check that uname.phk1998-02-131-10/+10
|
* Add a skelleton pulse-per-second timing driver. This will become morephk1998-02-131-0/+222
| | | | useful when I get my timecounter changes past the Bruce-filter.
* Staticize.eivind1998-02-091-2/+2
|
* Make the debug options new-style.eivind1998-01-311-1/+4
| | | | | This also zaps a DPT option from lint; it wasn't referenced from anywhere.
* Make all file-system (MFS, FFS, NFS, LFS, DEVFS) related option new-style.eivind1998-01-241-1/+3
| | | | | | | | This introduce an xxxFS_BOOT for each of the rootable filesystems. (Presently not required, but encouraged to allow a smooth move of option *FS to opt_dontuse.h later.) LFS is temporarily disabled, and will be re-enabled tomorrow.
* Actually implement the internals of the 'ppi' device.msmith1998-01-022-17/+94
| | | | | | It is now possible to control the various parallel port signals from user-space programs without having to resort to opening /dev/io directly.
* In all such uses of struct buf: 's/b_un.b_addr/b_data/g'phk1997-12-021-2/+2
|
* Oops, the previous change applied a reversed patch.bde1997-09-011-1/+3
|
* Removed unused #includes. The !KERNEL case may be more broken than before.bde1997-09-016-61/+6
|
* Added #include of <sys/queue.h> to make this self-sufficient.bde1997-09-011-1/+3
| | | | | | Includers of this file apparently didn't know that <sys/queue.h> was a prerequisite and include a semi-random collection headers until one happened to include it.
* Make the devfs code actually compile. Oops.msmith1997-08-291-6/+5
| | | | Submitted by: jkh
* Remove bogus timeout_func_t casts.msmith1997-08-281-195/+201
| | | | | | | | | Remove unused headers. Remove all but one instance of the device base name. Prototype some local static functions. Consistently reference the softc structure as "sc" rather than "lpt". Prompted-by: bde
* Remove bogus i386/* includes.msmith1997-08-285-21/+6
|
* Use cdev major 82 instead of the (reserved-for-local-use) original 14msmith1997-08-161-3/+3
|
* Sync with ppbus-970815 from the author :msmith1997-08-1610-245/+900
| | | | | | | | | - interrupt-driven printing now works (nlpt) - Rearrangement of bus-related functions into ppb_base/ppbconf - Addition of ieee1284 interface functions, preliminary parallel-port PnP support Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
* New directory and drivers for Parallel Port Bus devices.msmith1997-08-148-0/+2597
| | | | Submitted by: Nicolas Souchu <Nicolas.Souchu@prism.uvsq.fr>
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>:bde1996-09-211-6/+5
| | | | | | | | | | | | | - don't include <sys/ioctl.h> in any header. Include <sys/ioccom.h> instead. This was already done in 4.4Lite for the most important ioctl headers. Header spam currently increases kernel build times by 10-20%. There are more than 30000 #includes (not counting duplicates) for compiling LINT. - include <sys/types.h> if and only it is necessary to make the header almost self-sufficient (some ioctl headers still need structs from elsewhere). - uniformized idempotency ifdefs. Copied the style in the 4.4Lite ioctl headers.
* Remove trailing whitespace.rgrimes1995-05-301-4/+4
|
* Added $Id$dg1994-08-021-0/+1
|
* Changes to lpt driver:csgr1994-04-061-0/+24
- ansi prototypes in lpt.c - a bit of tidying in lpt.c - ioctl in lpt.c for switching between polling and using interrupts - added lpt.h - needed for ioctl to allow switching between polling and interrupt-driven modes.
OpenPOWER on IntegriCloud