summaryrefslogtreecommitdiffstats
path: root/sys/kern/makedevops.pl
Commit message (Collapse)AuthorAgeFilesLines
* Fix some bugs in user-end output and add a reference to the originaln_hibma1999-11-221-5/+9
| | | | copyright in the resulting file.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* 1) Add HEADER section. Similar to CODE.n_hibma1999-08-221-41/+58
| | | | | 2) deindent the two sections (CODE and HEADER), based on the indent found on the first line of the section; to make the output more readable.
* Remove redundant spaces in the whole line, not only the first occurrence.n_hibma1999-08-181-3/+3
| | | | (not that anyone actually reads the created .c and .h files :)
* Remove hack to accept French spelling of METHOD (METHODE)n_hibma1999-05-101-4/+2
|
* * Augment the interface language to allow arbitrary C code to be 'passeddfr1999-05-101-16/+42
| | | | | | | | | | through' to the C compiler. * Allow the interface to specify a default implementation for methods. * Allow 'static' methods which are not device specific. * Add a simple scheme for probe routines to return a priority value. To make life simple, priority values are negative numbers (positive numbers are standard errno codes) with zero being the highest priority. The driver which returns the highest priority will be chosen for the device.
* This routine was "use"ing File::Basename. This commit removes thatmarkm1999-05-021-2/+30
| | | | | | | | | "use" and replaces it with equivalent inline code. The reason is that Perl has some very nasty circular dependancies, and I am trying to get the System Perl upgraded by one maintenance level. The basic rule, until I can find a way to solve this, is that the build tools MAY NOT use any library code; it must all be inline.
* Bring the 'new-bus' to the i386. This extensively changes the way thepeter1999-04-161-1/+1
| | | | | | | | | | | | | | | | | | i386 platform boots, it is no longer ISA-centric, and is fully dynamic. Most old drivers compile and run without modification via 'compatability shims' to enable a smoother transition. eisa, isapnp and pccard* are not yet using the new resource manager. Once fully converted, all drivers will be loadable, including PCI and ISA. (Some other changes appear to have snuck in, including a port of Soren's ATA driver to the Alpha. Soren, back this out if you need to.) This is a checkpoint of work-in-progress, but is quite functional. The bulk of the work was done over the last few years by Doug Rabson and Garrett Wollman. Approved by: core
* Add some useful functions to the device framework:dfr1999-03-291-0/+1
| | | | | | | | | | | | | | | * bus_setup_intr() as a wrapper for BUS_SETUP_INTR * bus_teardown_intr() as a wrapper for BUS_TEARDOWN_INTR * device_get_nameunit() which returns e.g. "foo0" for name "foo" and unit 0. * device_set_desc_copy() malloc a copy of the description string. * device_quiet(), device_is_quiet(), device_verbose() suppress probe message. Add one method to the BUS interface, BUS_CHILD_DETACHED() which is called after the child has been detached to allow the bus to clean up any memory which it allocated on behalf of the child. I also fixed a bug which corrupted the list of drivers in a devclass if a driver was added to more than one devclass.
* Fixed line counting error.n_hibma1999-03-271-1/+3
|
* "Here is the most recent version of makedevops.pl. I've made the parsingnsouch1998-11-081-177/+350
| | | | | | | | | of the input file more strict and the error messages more elaborate. Second, the output file has slightly improved looks when >80 character lines are concerned (I needed a 80 character line formatter anyway for work...)." Submitted by: Nick Hibma <nick.hibma@jrc.it>
* A Perl5 version of makedevops.sh. Fixes a bug in the sh/awk versionwollman1998-10-291-0/+221
which really annoyed me at the time but I don't think bites me any more.
OpenPOWER on IntegriCloud