summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_disk.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a null pointer panic for dumpon(8) on a nonexistent device whosebde2000-03-091-0/+2
| | | | | | | driver uses the new disk layer. Reviewed by: phk Approved by: jkh
* Update the ata driver to take more advantage of newbus, thissos2000-02-181-1/+4
| | | | | | | | | | | | | | | | 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)
* rename disk_delete() to disk_destroy().phk2000-01-281-1/+1
|
* Also handle zero return from dscheck().phk2000-01-101-1/+1
| | | | PR: 15956
* Don't ignore return value from tsleep().phk1999-12-191-1/+3
| | | | Spotted by: charnier
* Conditionalise unwanted chattyness.jkh1999-11-191-1/+2
|
* Put a lock on the disk structure while we open to avoid races.phk1999-11-061-3/+15
| | | | PR: 14486
* Trim unused options (or #ifdef for undoc options).peter1999-10-111-1/+0
| | | | Submitted by: phk
* be more consistent about passing the whole/raw dev_t to the driverphk1999-10-041-4/+2
|
* In some drivers we use two devices to be able to boot.sos1999-10-021-1/+2
| | | | | | | | | 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
* Fix a problem relating to si_iosize_max which broke scsi devices.phk1999-10-021-5/+7
|
* Make all slices/partitions correctly inherit si_* fields.phk1999-09-301-6/+13
| | | | Lightly tested by: msmith
* Fix disk_close once more, and better this time.phk1999-09-301-2/+2
| | | | Spotted by: bde
* Test the slices for openness before we close them; doing it the other waymsmith1999-09-301-1/+1
| | | | | | 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)
* Register the right cdevsw on the master device.phk1999-09-131-1/+1
| | | | Detected by: sos
* Bite the bullet and allocate the devsw entry at compile time.phk1999-09-121-20/+14
|
* Use a different tactic when creating the devsw so that disk_create()phk1999-09-121-44/+24
| | | | doesn't need to malloc.
* Changes to centralise the default blocksize behaviour.julian1999-09-091-0/+12
| | | | | | More likely to follow. Submitted by: phk@freebsd.org
* Improve the micro "disk" layer after gaining more experience with it.phk1999-09-011-16/+70
|
* Add micro "disk" layer which should enable us to pull all the slice/labelphk1999-08-291-0/+183
stuff out of the device drivers.
OpenPOWER on IntegriCloud