bde
2eef6765bd
Fixed a null pointer panic for dumpon(8) on a nonexistent device whose
...
driver uses the new disk layer.
Reviewed by: phk
Approved by: jkh
2000-03-09 12:40:41 +00:00
sos
6feaaed878
Update the ata driver to take more advantage of newbus, this
...
was needed to make attach/detach of devices work, which is
needed for the PCCARD support.
(PCCARD support is still not working though, more to come on that)
Support the CMD646 chip which is used on many alphas, sadly only
in WDMA2 mode, as the silicon is broken beyond belief for UDMA modes.
Lots of cosmetic fixes here and there.
Sorry for the size of this megapatchfromhell but it was not
possible otherwise...
newbus patches based on work from: dfr (Doug Rabson)
2000-02-18 20:57:33 +00:00
phk
1232f6e99e
rename disk_delete() to disk_destroy().
2000-01-28 20:49:43 +00:00
phk
8eb5bbb861
Also handle zero return from dscheck().
...
PR: 15956
2000-01-10 12:21:39 +00:00
phk
1e02d32e93
Don't ignore return value from tsleep().
...
Spotted by: charnier
1999-12-19 12:36:41 +00:00
jkh
87395558f4
Conditionalise unwanted chattyness.
1999-11-19 23:34:01 +00:00
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