summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_log.c
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Quiet a couple of -Wunused warnings.wollman1996-07-091-1/+3
|
* Fixed name of /dev/fs/klog (it's not "log").bde1996-03-271-3/+4
| | | | Submitted by: "Marc G. Fournier" <scrappy@ki.net> and edited by me
* A Major staticize sweep. Generates a couple of warnings that I'll dealphk1995-12-141-2/+2
| | | | | | with later. A number of unused vars removed. A number of unused procs removed or #ifdefed.
* Julian forgot to make the *devsw structures static.phk1995-12-081-2/+2
|
* Pass 3 of the great devsw changesjulian1995-12-081-26/+23
| | | | | | | | | | | | | | | | | | | | | | | most devsw referenced functions are now static, as they are in the same file as their devsw structure. I've also added DEVFS support for nearly every device in the system, however many of the devices have 'incorrect' names under DEVFS because I couldn't quickly work out the correct naming conventions. (but devfs won't be coming on line for a month or so anyhow so that doesn't matter) If you "OWN" a device which would normally have an entry in /dev then search for the devfs_add_devsw() entries and munge to make them right.. check out similar devices to see what I might have done in them in you can't see what's going on.. for a laugh compare conf.c conf.h defore and after... :) I have not doen DEVFS entries for any DISKSLICE devices yet as that will be a much more complicated job.. (pass 5 :) pass 4 will be to make the devsw tables of type (cdevsw * ) rather than (cdevsw) seems to work here.. complaints to the usual places.. :)
* Completed function declarations and/or added prototypes.bde1995-12-021-1/+2
|
* If you're going to mechanically replicate something in 50 filesjulian1995-11-291-2/+2
| | | | it's best to not have a (compiles cleanly) typo in it! (sigh)
* OK, that's it..julian1995-11-291-1/+43
| | | | | | | | | | | | | | | | | | | | | | | | That's EVERY SINGLE driver that has an entry in conf.c.. my next trick will be to define cdevsw[] and bdevsw[] as empty arrays and remove all those DAMNED defines as well.. Each of these drivers has a SYSINIT linker set entry that comes in very early.. and asks teh driver to add it's own entry to the two devsw[] tables. some slight reworking of the commits from yesterday (added the SYSINIT stuff and some usually wrong but token DEVFS entries to all these devices. BTW does anyone know where the 'ata' entries in conf.c actually reside? seems we don't actually have a 'ataopen() etc... If you want to add a new device in conf.c please make sure I know so I can keep it up to date too.. as before, this is all dependent on #if defined(JREMOD) (and #ifdef DEVFS in parts)
* Second batch of cleanup changes.phk1995-10-291-3/+1
| | | | | This time mostly making a lot of things static and some unused variables here and there.
* Made msgbuf range checking more robust and clean.dg1995-08-071-15/+2
|
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* Bruce is right - ENOTTY is more appropriate than EINVAL in this case.jkh1995-04-291-2/+2
|
* fixes the ioctl routine to not chew up massive amounts of kernel timejkh1995-04-291-2/+2
| | | | | | if an invalid ioctl is done on /dev/klog. logioctl() needs to return an errno instead of -1 on a failed ioctl. Submitted by: Mike Pritchard <mpp@mpp.com>
* All of this is cosmetic. prototypes, #includes, printfs and so on. Makesphk1994-10-021-1/+2
| | | | GCC a lot more silent.
* While in the real world, I had a bad case of being swapped out for a lot ofphk1994-09-251-4/+4
| | | | | | | | cycles. While waiting there I added a lot of the extra ()'s I have, (I have never used LISP to any extent). So I compiled the kernel with -Wall and shut up a lot of "suggest you add ()'s", removed a bunch of unused var's and added a couple of declarations here and there. Having a lap-top is highly recommended. My kernel still runs, yell at me if you kernel breaks.
* Added $Id$dg1994-08-021-0/+1
|
* The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch.rgrimes1994-05-251-0/+6
| | | | | Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-241-0/+232
OpenPOWER on IntegriCloud