Poul-Henning Kamp
d685023e68
Also handle zero return from dscheck().
...
PR: 15956
2000-01-10 12:21:39 +00:00
Poul-Henning Kamp
1b4ce5ce9b
Don't ignore return value from tsleep().
...
Spotted by: charnier
1999-12-19 12:36:41 +00:00
Jordan K. Hubbard
8d67e113dc
Conditionalise unwanted chattyness.
1999-11-19 23:34:01 +00:00
Poul-Henning Kamp
8db34b3a11
Put a lock on the disk structure while we open to avoid races.
...
PR: 14486
1999-11-06 10:25:58 +00:00
Peter Wemm
d1f088dab5
Trim unused options (or #ifdef for undoc options).
...
Submitted by: phk
1999-10-11 15:19:12 +00:00
Poul-Henning Kamp
6d7e938c46
be more consistent about passing the whole/raw dev_t to the driver
1999-10-04 09:28:36 +00:00
Søren Schmidt
dc722a14c7
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
Poul-Henning Kamp
45604de328
Fix a problem relating to si_iosize_max which broke scsi devices.
1999-10-02 11:17:54 +00:00
Poul-Henning Kamp
66c1252001
Make all slices/partitions correctly inherit si_* fields.
...
Lightly tested by: msmith
1999-09-30 21:14:28 +00:00
Poul-Henning Kamp
263ab97134
Fix disk_close once more, and better this time.
...
Spotted by: bde
1999-09-30 19:03:25 +00:00
Mike Smith
46a706dc69
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
Poul-Henning Kamp
abd1f5736e
Register the right cdevsw on the master device.
...
Detected by: sos
1999-09-13 18:20:21 +00:00
Poul-Henning Kamp
2016e4e906
Bite the bullet and allocate the devsw entry at compile time.
1999-09-12 20:40:29 +00:00
Poul-Henning Kamp
3febdd8fb8
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 Elischer
85a219d201
Changes to centralise the default blocksize behaviour.
...
More likely to follow.
Submitted by: phk@freebsd.org
1999-09-09 19:08:44 +00:00
Poul-Henning Kamp
8684f73af8
Improve the micro "disk" layer after gaining more experience with it.
1999-09-01 05:38:09 +00:00
Poul-Henning Kamp
da9e4f5550
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