Revision tags: release/4.0.0_cvs |
|
#
e27c1add |
| 29-Jan-2000 |
Peter Wemm <peter@FreeBSD.org> |
Remove #if NFOO > 0 (it's not required in most cases) and also where it isn't used as a result, remove #include "foo.h". Many of these drivers still use NFOO for softc struct sizing etc however.
|
Revision tags: release/3.4.0_cvs |
|
#
5b664c7c |
| 03-Nov-1999 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Move isfoo() and friends to the newly created sys/ctype.h.
Urged by: bde
|
#
44b4dd85 |
| 02-Nov-1999 |
Archie Cobbs <archie@FreeBSD.org> |
Consolidate some of the various ctype(3) macros in one location.
|
#
d6a0e38a |
| 25-Sep-1999 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Remove five now unused fields from struct cdevsw. They should never have been there in the first place. A GENERIC kernel shrinks almost 1k.
Add a slightly different safetybelt under nostop for tty
Remove five now unused fields from struct cdevsw. They should never 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
show more ...
|
Revision tags: release/3.3.0_cvs |
|
#
c3aac50f |
| 28-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
#
9dcbe240 |
| 23-Aug-1999 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Convert DEVFS hooks in (most) drivers to make_dev().
Diskslice/label code not yet handled.
Vinum, i4b, alpha, pc98 not dealt with (left to respective Maintainers)
Add the correct hook for devfs to
Convert DEVFS hooks in (most) drivers to make_dev().
Diskslice/label code not yet handled.
Vinum, i4b, alpha, pc98 not dealt with (left to respective Maintainers)
Add the correct hook for devfs to kern_conf.c
The net result of this excercise is that a lot less files depends on DEVFS, and devtoname() gets more sensible output in many cases.
A few drivers had minor additional cleanups performed relating to cdevsw registration.
A few drivers don't register a cdevsw{} anymore, but only use make_dev().
show more ...
|
#
d9183205 |
| 23-Aug-1999 |
Bruce Evans <bde@FreeBSD.org> |
Use devtoname() to print dev_t's instead of casting them to long or u_long for misprinting in %lx format.
|
#
b8e49f68 |
| 17-Aug-1999 |
Bill Fumerola <billf@FreeBSD.org> |
Welcome devtoname(), to most likely be used when printing information about a dev_t.
printf("%x", dev) now becomes printf("%s", devtoname(dev)) because printing actual information about the device i
Welcome devtoname(), to most likely be used when printing information about a dev_t.
printf("%x", dev) now becomes printf("%s", devtoname(dev)) because printing actual information about the device is much more useful then printing a pointer to an address that would never help the developer debug.
Submitted by: phk, bde
show more ...
|
#
2447bec8 |
| 31-May-1999 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Simplify cdevsw registration.
The cdevsw_add() function now finds the major number(s) in the struct cdevsw passed to it. cdevsw_add_generic() is no longer needed, cdevsw_add() does the same thing.
Simplify cdevsw registration.
The cdevsw_add() function now finds the major number(s) in the struct cdevsw passed to it. cdevsw_add_generic() is no longer needed, cdevsw_add() does the same thing.
cdevsw_add() will print an message if the d_maj field looks bogus.
Remove nblkdev and nchrdev variables. Most places they were used bogusly. Instead check a dev_t for validity by seeing if devsw() or bdevsw() returns NULL.
Move bdevsw() and devsw() functions to kern/kern_conf.c
Bump __FreeBSD_version to 400006
This commit removes: 72 bogus makedev() calls 26 bogus SYSINIT functions
if_xe.c bogusly accessed cdevsw[], author/maintainer please fix.
I4b and vinum not changed. Patches emailed to authors. LINT probably broken until they catch up.
show more ...
|
#
4e2f199e |
| 30-May-1999 |
Poul-Henning Kamp <phk@FreeBSD.org> |
This commit should be a extensive NO-OP:
Reformat and initialize correctly all "struct cdevsw".
Initialize the d_maj and d_bmaj fields.
The d_reset field was not removed, a
This commit should be a extensive NO-OP:
Reformat and initialize correctly all "struct cdevsw".
Initialize the d_maj and d_bmaj fields.
The d_reset field was not removed, although it is never used.
I used a program to do most of this, so all the files now use the same consistent format. Please keep it that way.
Vinum and i4b not modified, patches emailed to respective authors.
show more ...
|
Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8 |
|
#
00671271 |
| 24-Aug-1998 |
Bruce Evans <bde@FreeBSD.org> |
Fixed printf format errors. Only one left in LINT on i386's.
|
Revision tags: release/2.2.7 |
|
#
ecbb00a2 |
| 07-Jun-1998 |
Doug Rabson <dfr@FreeBSD.org> |
This commit fixes various 64bit portability problems required for FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change bring
This commit fixes various 64bit portability problems required for FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change.
The prototype FreeBSD/alpha machdep will follow in a couple of days time.
show more ...
|
Revision tags: release/2.2.6 |
|
#
e31abede |
| 20-Feb-1998 |
Bruce Evans <bde@FreeBSD.org> |
Don't depend on "implicit int" or bloat the data section in the declaration of xxx_devsw_installed.
|
#
303b270b |
| 09-Feb-1998 |
Eivind Eklund <eivind@FreeBSD.org> |
Staticize.
|
#
7b778b5e |
| 24-Jan-1998 |
Eivind Eklund <eivind@FreeBSD.org> |
Make all file-system (MFS, FFS, NFS, LFS, DEVFS) related option new-style.
This introduce an xxxFS_BOOT for each of the rootable filesystems. (Presently not required, but encouraged to allow a smoot
Make all file-system (MFS, FFS, NFS, LFS, DEVFS) related option new-style.
This introduce an xxxFS_BOOT for each of the rootable filesystems. (Presently not required, but encouraged to allow a smooth move of option *FS to opt_dontuse.h later.)
LFS is temporarily disabled, and will be re-enabled tomorrow.
show more ...
|
#
ab3f7469 |
| 02-Dec-1997 |
Poul-Henning Kamp <phk@FreeBSD.org> |
In all such uses of struct buf: 's/b_un.b_addr/b_data/g'
|
Revision tags: release/2.2.5_cvs, release/2.2.2_cvs, release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs |
|
#
6875d254 |
| 22-Feb-1997 |
Peter Wemm <peter@FreeBSD.org> |
Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not ready for it yet.
|
Revision tags: release/2.1.6_cvs, release/2.1.6.1 |
|
#
1130b656 |
| 14-Jan-1997 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Make the long-awaited change from $Id$ to $FreeBSD$
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
Make the long-awaited change from $Id$ to $FreeBSD$
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.
show more ...
|
#
9275c7cc |
| 25-Oct-1996 |
Bruce Evans <bde@FreeBSD.org> |
Use macros from timmerreg.h instead of private ones.
Use global timer_freq instead of private TIMER_CLK.
Removed unused #includes.
Fixed some comments.
|
Revision tags: release/2.1.5_cvs |
|
#
3bd9f6db |
| 24-Aug-1996 |
Peter Wemm <peter@FreeBSD.org> |
Unconditionally null-terminate string read into spkr driver.
Submitted by: Ikuo Nakagawa <ikuo@isl.intec.co.jp>, PR#1488, but using Bruce Evans <bde@zeta.org.au>'s fix.
|
#
f4de22ac |
| 20-Jul-1996 |
Joerg Wunsch <joerg@FreeBSD.org> |
Correct the timer2 acquiration and release, it must happen at splclock.
Also slightly reformatted so that it meets at least partially style(9), and makes navigating through the functions easier.
|
#
2412bc33 |
| 27-Mar-1996 |
Bruce Evans <bde@FreeBSD.org> |
Fixed name of /dev/speaker (it's not spkr).
|
Revision tags: release/2.1.0_cvs |
|
#
0dfe10a6 |
| 15-Dec-1995 |
Bruce Evans <bde@FreeBSD.org> |
Completed function declarations and/or added prototypes and/or added #includes to get prototypes.
|
#
d2f265fa |
| 09-Dec-1995 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Julian forgot to make the *devsw structures static.
|
#
87f6c662 |
| 08-Dec-1995 |
Julian Elischer <julian@FreeBSD.org> |
Pass 3 of the great devsw changes 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 s
Pass 3 of the great devsw changes 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.. :)
show more ...
|