summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus/pcfclock.c
Commit message (Collapse)AuthorAgeFilesLines
* Gigacommit to improve device-driver source compatibility betweenphk2003-03-031-13/+5
| | | | | | | | | | | | | branches: Initialize struct cdevsw using C99 sparse initializtion and remove all initializations to default values. This patch is automatically generated and has been tested by compiling LINT with all the fields in struct cdevsw in reverse order on alpha, sparc64 and i386. Approved by: re(scottl)
* Synchronize make_dev() for pcfclock devices to the values in MAKEDEVrwatson2002-12-271-1/+1
| | | | | | for consistency. Submitted by: kris
* d_read_t functions return an int, not a ssize_t. (Considering the factjhb2002-11-071-1/+1
| | | | that read(2) returns a ssize_t perhaps this is a bug in d_read_t?)
* This makes ppbus childs like lpt and ppi succesfully connect to moreticso2002-04-071-1/+1
| | | | | | | | than just the first ppbus. The child drivers always tried to attach unit 0. Reviewed by: gallatin Approved by: gallatin
* KSE Milestone 2julian2001-09-121-2/+2
| | | | | | | | | | | | | | Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
* Style fixes from Saschaphk2001-06-061-4/+3
| | | | | PR: 16551 Submitted by: Sascha Schumann <sascha@schumann.cx>
* Send the remains (such as I have located) of "block major numbers" tophk2001-03-261-1/+0
| | | | the bit-bucket.
* Remove unneeded #include <machine/clock.h>phk2000-10-151-1/+0
|
* Remove ~25 unneeded #include <sys/conf.h>phk2000-04-191-1/+0
| | | | Remove ~60 unneeded #include <sys/malloc.h>
* Fix buffer overrun in pcfclock_read(). The submitter is the originalsheldonh2000-02-201-0/+3
| | | | | | | | author of the affected code. PR: 16552 Submitted by: Sascha Schumann <sascha@schumann.cx> Approved by: jkh
* Some newbus-inspired tidy-ups. Use device_identify() rather than scanningpeter2000-01-231-27/+22
| | | | | | | | | | | | 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.
* Add parallel port clock driver.jkh2000-01-191-0/+348
Submitted by: Sascha Schumann <sascha@schumann.cx>
OpenPOWER on IntegriCloud