John Baldwin
42e8c47b78
Add locking to scd(4) and mark MPSAFE.
...
- Actually use existing per-softc mutex.
- Use mutex in cdev routines and remove D_NEEDGIANT.
- Use callout(9) instead of timeout(9).
- Don't check for impossible conditions (e.g. SCDINIT being clear).
- Use bus_*() instead of bus_space_*().
Tested by: no one
2014-11-18 22:02:37 +00:00
Yoshihiro Takahashi
d4fcf3cba5
Remove bus_{mem,p}io.h and related code for a micro-optimization on i386
...
and amd64. The optimization is a trivial on recent machines.
Reviewed by: -arch (imp, marcel, dfr)
2005-05-29 04:42:30 +00:00
Nate Lawson
5f96beb9e0
Convert callers to the new bus_alloc_resource_any(9) API.
...
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
2004-03-17 17:50:55 +00:00
David E. O'Brien
945ff31afa
Use __FBSDID().
...
Also some minor style cleanups.
2003-08-24 18:03:45 +00:00
Poul-Henning Kamp
a300701213
Don't include <sys/disklabel.h>
2003-04-16 20:57:35 +00:00
Matthew N. Dodd
6fe8789d6d
- Convert to newbus, bus_space etc.
...
- Move to MI space.
Tested on: i386
2002-11-05 09:37:32 +00:00