summaryrefslogtreecommitdiffstats
path: root/sys/dev/ofw/openfirmio.c
Commit message (Collapse)AuthorAgeFilesLines
* The present defaults for the open and close for device drivers whichphk2003-09-271-2/+0
| | | | | | | | | | | | | | provide no methods does not make any sense, and is not used by any driver. It is a pretty hard to come up with even a theoretical concept of a device driver which would always fail open and close with ENODEV. Change the defaults to be nullopen() and nullclose() which simply does nothing. Remove explicit initializations to these from the drivers which already used them.
* Use __FBSDID().obrien2003-08-241-1/+3
| | | | Also some minor style cleanups.
* - Add an OFIOCGETPROPLEN ioctl() to get the length of a property.tmm2003-06-111-13/+10
| | | | | - Do not use a fixed major. - Minor cleanups.
* Gigacommit to improve device-driver source compatibility betweenphk2003-03-031-14/+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)
* Back out M_* changes, per decision of the TRB.imp2003-02-191-2/+2
| | | | Approved by: trb
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-2/+2
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* Add a pseudo device which allows to access the OpenFirmware device treetmm2002-10-181-0/+308
via ioctl()s. This was ported from NetBSD and adapted a bit to better match our OpenFirmware support code.
OpenPOWER on IntegriCloud