dholland
f9228f4225
Add d_discard to all struct cdevsw instances I could find.
...
All have been set to "nodiscard"; some should get a real implementation.
2014-07-25 08:10:31 +00:00
dholland
a68f9396b6
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
...
designated initializers.
I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
2014-03-16 05:20:22 +00:00
chs
cbab9cadce
split device_t/softc for all remaining drivers.
...
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
2012-10-27 17:17:22 +00:00
tsutsui
0762f69189
Fix warnings of printf(9) format.
2009-09-12 18:44:36 +00:00
tsutsui
055ae9c82d
Add a missing parentheses. PR kern/41859
2009-09-12 18:43:03 +00:00
cegger
529e91fca1
struct device * -> device_t, no functional changes intended.
2009-05-12 14:16:35 +00:00
cegger
32c4940900
struct cfdata * -> cfdata_t, no functional changes intended.
2009-05-12 12:10:29 +00:00
dsl
82357f6d42
ANSIfy another 1261 function definitions.
...
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
2009-03-14 21:04:01 +00:00
dsl
454af1c0e8
Change about 4500 of the K&R function definitions to ANSI ones.
...
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
2009-03-14 15:35:58 +00:00
cegger
b0e5b3dc77
- use device_lookup to get device_t
...
- use device_lookup_private to get softc
- ansify
2008-06-12 21:45:39 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
cegger
1b044f414a
use aprint_*_dev and device_xname
2008-04-08 07:35:35 +00:00
ad
88ab7da936
Merge some of the less invasive changes from the vmlocking branch:
...
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
2007-07-09 20:51:58 +00:00
christos
53524e44ef
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
2007-03-04 05:59:00 +00:00
ad
d14a7576fc
Fix spllowersoftclock() fallout.
2007-02-16 13:42:29 +00:00
cube
22974bb68b
Complete initializers, teach drivers that we moved from struct proc to
...
struct lwp, sprinkle some needed const qualifiers.
2007-01-13 18:46:37 +00:00
thorpej
92c7bba3df
Use device_private().
2006-03-29 06:28:38 +00:00
thorpej
39cd836ee1
Use device_unit().
2006-03-28 17:38:24 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
perry
f31bd063e9
nuke trailing whitespace
2005-02-27 00:26:58 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
gmcgarry
cb93fa6aac
Port the hp300 ppi driver to the MI gpib framework.
2003-06-02 03:47:09 +00:00