summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
Commit message (Collapse)AuthorAgeFilesLines
* Centralize the devstat handling for all GEOM disk device driversPoul-Henning Kamp2003-03-081-13/+0
| | | | | | | | | | | in geom_disk.c. As a side effect this makes a lot of #include <sys/devicestat.h> lines not needed and some biofinish() calls can be reduced to biodone() again. Notes: svn path=/head/; revision=111979
* Gigacommit to improve device-driver source compatibility betweenPoul-Henning Kamp2003-03-031-13/+5
| | | | | | | | | | | | | | | | branches: Initialize struct cdevsw using C99 sparse initializtion and remove all initializations to default values. This patch is automatically generated and has been tested by compiling LINT with all the fields in struct cdevsw in reverse order on alpha, sparc64 and i386. Approved by: re(scottl) Notes: svn path=/head/; revision=111815
* Use canonical format for cdevsw initialization.Poul-Henning Kamp2003-03-021-13/+13
| | | | Notes: svn path=/head/; revision=111753
* NO_GEOM cleanup:Poul-Henning Kamp2003-02-271-115/+42
| | | | | | | | | | | | | | Move <sys/conf.h> before <sys/disk.h>. No need for raidread()/raidwrite(), we have generic code for that. Remove non-functional dump code. Make raidinit() return the softc, not the dev_t. Move to "struct disk*" centric API. Fix printfs' to get name from struct disk instead of dev_t. OK'ed by: scottl Notes: svn path=/head/; revision=111648
* NO_GEOM cleanup:Poul-Henning Kamp2003-02-211-1/+1
| | | | | | | | | | | Change the argument to disk_destroy() to be the same struct disk * as disk_create() takes. This enables drivers to ignore the (now) bogus dev_t which disk_create() returns. Notes: svn path=/head/; revision=111216
* Back out M_* changes, per decision of the TRB.Warner Losh2003-02-192-8/+8
| | | | | | | Approved by: trb Notes: svn path=/head/; revision=111119
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.Alfred Perlstein2003-01-212-8/+8
| | | | | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT. Notes: svn path=/head/; revision=109623
* #if 0 one more line to make this compile without subr_disklabel.c.Poul-Henning Kamp2003-01-201-0/+4
| | | | | | | Hopefully forgiven by: scottl Notes: svn path=/head/; revision=109584
* Remove stale reference to deprecated mini-disklayer stuff.Scott Long2003-01-201-13/+0
| | | | Notes: svn path=/head/; revision=109571
* Remove unused second argument from DEV_STRATEGY().Poul-Henning Kamp2003-01-031-2/+2
| | | | Notes: svn path=/head/; revision=108586
* Remove unused second argument from BIO_STRATEGY()Poul-Henning Kamp2003-01-031-1/+1
| | | | Notes: svn path=/head/; revision=108584
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,Jens Schweikhardt2003-01-011-1/+1
| | | | | | | especially in troff files. Notes: svn path=/head/; revision=108533
* When compiling the kernel do not implicitly include filedesc.h from proc.h,Alfred Perlstein2003-01-011-0/+1
| | | | | | | | | this was causing filedesc work to be very painful. In order to make this work split out sigio definitions to thier own header (sigio.h) which is included from proc.h for the time being. Notes: svn path=/head/; revision=108524
* Use UID_ and GID_ constants for uid and gid arguments to make_dev()Robert Watson2002-12-311-1/+2
| | | | | | | | | | | | | for the raidctl device. Select a more conservative default for the permissions for /dev/raidctl since the operations are performed using ioctl() not read() and write(). Submitted by: kris Reviewed by: scottl Notes: svn path=/head/; revision=108485
* Play nice with GEOM and use the appropriate ioctls for getting theScott Long2002-12-101-20/+12
| | | | | | | | | | | partition size and sector size. The old way of groveling through the disklabel doesn't work anymore. Noticed by: anholt Approved by: re Notes: svn path=/head/; revision=107730
* Fix make_dev() to use 0644 instead of 0x644 for default permissionsScott Long2002-11-251-1/+1
| | | | | | | | Spotted by: kris Approved by: re Notes: svn path=/head/; revision=107219
* Reduce namespace pollution to userland.Scott Long2002-10-281-0/+2
| | | | | | | Spotted-by: bde Notes: svn path=/head/; revision=106087
* After much delay and anticipation, welcome RAIDFrame into the FreeBSDScott Long2002-10-20134-0/+42340
world. This should be considered highly experimental. Approved-by: re Notes: svn path=/head/; revision=105503