phk
6d8658fdf7
Put a lock on the disk structure while we open to avoid races.
...
PR: 14486
1999-11-06 10:25:58 +00:00
peter
787140aa42
Trim unused options (or #ifdef for undoc options).
...
Submitted by: phk
1999-10-11 15:19:12 +00:00
phk
35c2a19032
be more consistent about passing the whole/raw dev_t to the driver
1999-10-04 09:28:36 +00:00
sos
e0a8247d1d
In some drivers we use two devices to be able to boot.
...
So if si_iosize_max is allready set, dont mess with it..
Also just log the problem with maxphys not being set once.
designed by: phk
tested by: sos
1999-10-02 20:21:49 +00:00
phk
8d40c683c5
Fix a problem relating to si_iosize_max which broke scsi devices.
1999-10-02 11:17:54 +00:00
phk
d653e2d1b5
Make all slices/partitions correctly inherit si_* fields.
...
Lightly tested by: msmith
1999-09-30 21:14:28 +00:00
phk
8764dc6a38
Fix disk_close once more, and better this time.
...
Spotted by: bde
1999-09-30 19:03:25 +00:00
msmith
4569b2fde6
Test the slices for openness before we close them; doing it the other way
...
around meant that the higher level close routine never gets called.
(phk is on the road; this is a quick fix to get things working and may need
more polish)
1999-09-30 05:29:59 +00:00
phk
e80a817942
Register the right cdevsw on the master device.
...
Detected by: sos
1999-09-13 18:20:21 +00:00
phk
12c22f65a5
Bite the bullet and allocate the devsw entry at compile time.
1999-09-12 20:40:29 +00:00
phk
22b8607abf
Use a different tactic when creating the devsw so that disk_create()
...
doesn't need to malloc.
1999-09-12 09:16:00 +00:00
julian
5c78e7345a
Changes to centralise the default blocksize behaviour.
...
More likely to follow.
Submitted by: phk@freebsd.org
1999-09-09 19:08:44 +00:00
phk
5cc364cfd3
Improve the micro "disk" layer after gaining more experience with it.
1999-09-01 05:38:09 +00:00
phk
df39983a63
Add micro "disk" layer which should enable us to pull all the slice/label
...
stuff out of the device drivers.
1999-08-29 13:28:55 +00:00