summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/olpt.c
Commit message (Collapse)AuthorAgeFilesLines
* - Move lptreg.h into pc98/cbus and rename to olptreg.h.nyan2005-05-101-1/+1
| | | | - Remove ifdef pc98.
* - Remove ifdef PC98.nyan2005-04-131-166/+1
| | | | - Reduce diffs from i386.
* /* -> /*- for license, minor formatting changesimp2005-01-071-1/+1
|
* Do the dreaded s/dev_t/struct cdev */phk2004-06-161-4/+4
| | | | Bump __FreeBSD_version accordingly.
* Add missing <sys/module.h> includes.phk2004-06-071-0/+1
|
* Convert callers to the new bus_alloc_resource_any(9) API.njl2004-03-171-2/+2
| | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
* Device megapatch 4/6:phk2004-02-211-0/+2
| | | | | | | | Introduce d_version field in struct cdevsw, this must always be initialized to D_VERSION. Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
* Device megapatch 1/6:phk2004-02-211-2/+0
| | | | | | | Free approx 86 major numbers with a mostly automatically generated patch. A number of strategic drivers have been left behind by caution, and a few because they still (ab)use their major number.
* Replace evil abuse of geteblk() with malloc(9).phk2003-06-161-6/+5
|
* Gigacommit to improve device-driver source compatibility betweenphk2003-03-031-13/+6
| | | | | | | | | | | | | 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)
* More low-hanging fruit: kill caddr_t in calls to wakeup(9) / [mt]sleep(9).des2003-03-021-5/+5
|
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-301-1/+1
| | | | Add FreeBSD Id tag where missing.
* KSE changes for olpt driverimp2001-09-141-3/+3
| | | | Reviewed by: julian, bde, jhb
* Removed PLIP support.nyan2001-07-311-656/+0
|
* Convert the olpt driver to using new-bus stuff.nyan2001-07-291-67/+103
|
* Send the remains (such as I have located) of "block major numbers" tophk2001-03-261-1/+0
| | | | the bit-bucket.
* Lock down the network interface queues. The queue mutex must be obtainedjlemon2000-11-251-14/+8
| | | | | | | | | | | | | | 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.
* Remove unneeded #include <machine/clock.h>phk2000-10-151-1/+0
|
* Update of isa drivers using compatability shims to use COMPAT_ISA_DRIVER().nyan2000-05-311-1/+9
| | | | Submitted by: haro@tk.kubota.co.jp (Munehiro Matsuda)
* Fixed header file path (machine/lpt.h -> dev/ppbus/lptio.h).nyan2000-05-261-1/+1
|
* Separate the struct bio related stuff out of <sys/buf.h> intophk2000-05-051-0/+1
| | | | | | | | | | | | | | | <sys/bio.h>. <sys/bio.h> is now a prerequisite for <sys/buf.h> but it shall not be made a nested include according to bdes teachings on the subject of nested includes. Diskdrivers and similar stuff below specfs::strategy() should no longer need to include <sys/buf.> unless they need caching of data. Still a few bogus uses of struct buf to track down. Repocopy by: peter
* Fixed to support old parallel interface.nyan2000-03-161-2/+8
| | | | Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
* - Fixed warnings.nyan2000-01-041-9/+2
| | | | - Removed unnecessary include files.
* Remove five now unused fields from struct cdevsw. They should neverphk1999-09-251-5/+0
| | | | | | | | have been there in the first place. A GENERIC kernel shrinks almost 1k. Add a slightly different safetybelt under nostop for tty drivers. Add some missing FreeBSD tags
* Remove NBPF conditionality of bpf calls in most of our network drivers.phk1999-09-251-9/+0
| | | | | | | | | | | | 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.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add PHK's make_dev() into more places where DEVFS used to bejulian1999-08-271-18/+4
| | | | | | | | | hooked in directly. Alpha change checked by: Matthew Jacob <mjacob@feral.com> i4b ISDN changes checked by: Udo Schweigert <ust@cert.siemens.de> and Hellmuth Michaelis <hm@hcs.de> PC98 changes checked by: Takahashi Yoshihiro <nyan@FreeBSD.org>
* Rename bpfilter to bpf.des1999-07-061-6/+6
|
* New parallel port support for PC98. Old PC98s which havekato1999-06-181-0/+1473
uni-directional parallel port should use olpt driver instead of lpt driver. Files ppc.c and ppcreg.h are copied form i386/isa directory with PC98 change. Submitted by: Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
OpenPOWER on IntegriCloud