aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vn
Commit message (Collapse)AuthorAgeFilesLines
...
* OK, that's it..Julian Elischer1995-11-291-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | That's EVERY SINGLE driver that has an entry in conf.c.. my next trick will be to define cdevsw[] and bdevsw[] as empty arrays and remove all those DAMNED defines as well.. Each of these drivers has a SYSINIT linker set entry that comes in very early.. and asks teh driver to add it's own entry to the two devsw[] tables. some slight reworking of the commits from yesterday (added the SYSINIT stuff and some usually wrong but token DEVFS entries to all these devices. BTW does anyone know where the 'ata' entries in conf.c actually reside? seems we don't actually have a 'ataopen() etc... If you want to add a new device in conf.c please make sure I know so I can keep it up to date too.. as before, this is all dependent on #if defined(JREMOD) (and #ifdef DEVFS in parts) Notes: svn path=/head/; revision=12517
* Fix a printf.Poul-Henning Kamp1995-11-201-1/+1
| | | | Notes: svn path=/head/; revision=12415
* Kill setting of b_pfcent - it's unused.David Greenman1995-11-191-1/+0
| | | | Notes: svn path=/head/; revision=12385
* Moved prototypes for devswitch functions from conf.c and driver sourcesBruce Evans1995-11-041-6/+0
| | | | | | | | | | to <machine/conf.h>. conf.h was mechanically generated by `grep ^d_ conf.c >conf.h'. This accounts for part of its ugliness. The prototypes should be moved back to the driver sources when the functions are staticalized. Notes: svn path=/head/; revision=12071
* Fix benign type mismatches in devsw functions. 82 out of 299 devswBruce Evans1995-09-081-4/+4
| | | | | | | functions were wrong. Notes: svn path=/head/; revision=10624
* Fixed VOP_BMAP. A new argument was added, and I missed this one.John Dyson1995-09-041-1/+1
| | | | | | | Submitted by: Bruce Evans (bde@freebsd.org) Notes: svn path=/head/; revision=10557
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-11/+11
| | | | Notes: svn path=/head/; revision=8876
* Change dsioctl() interface to allow DIOCSYNCSLICEINFO to update the caller'sBruce Evans1995-04-301-2/+3
| | | | | | | slice pointer and to print the device name in error messages. Notes: svn path=/head/; revision=8188
* (Sorry about prev. blank message - I realised I needed a change too late).Gary Palmer1995-04-281-1/+1
| | | | | | | Removed unused var. and correct a printf formatting string. Notes: svn path=/head/; revision=8151
* *** empty log message ***Gary Palmer1995-04-281-1/+1
| | | | Notes: svn path=/head/; revision=8150
* Escentially a rewrite by John Dyson. This is disgusting, and John agrees,David Greenman1995-04-191-161/+124
| | | | | | | | but the whole thing is, so what the hell. :-) This version is expected to work. Notes: svn path=/head/; revision=7934
* A substantial change to the way this works. Not the "TEST_LABELING" isPoul-Henning Kamp1995-03-111-124/+137
| | | | | | | a option you can turn on and of on the fly, as is debugging. Notes: svn path=/head/; revision=6998
* Fake the geometry to be 32 sectors * 64 heads * (vn->sc_size / 2048)Bruce Evans1995-03-041-13/+6
| | | | | | | | | cylinders instead of vn->sc_size * 1 * 1. Remove unnecessary tests of the unit numbern vnioctl(). Notes: svn path=/head/; revision=6879
* Missed a reference to numvnd.Poul-Henning Kamp1995-03-021-1/+1
| | | | | | | Thanks Ollivier. Notes: svn path=/head/; revision=6819
* Less bogus allocation of softc to avoid races.Poul-Henning Kamp1995-03-011-30/+17
| | | | | | | Thanks for the hint David! Notes: svn path=/head/; revision=6793
* Remove YF comments.Bruce Evans1995-02-251-2/+2
| | | | Notes: svn path=/head/; revision=6702
* Remove the #error that temporarily stopped this from supporting slices andBruce Evans1995-02-221-1/+0
| | | | | | | | | | | | | | | | | | | labels. Please test the slice/label features: cd /dev; sh MAKEDEV svn0 cd /var/tmp; dd if=/dev/zero of=vnfile bs=8192 count=1024 vnconfig -c /dev/rvn0 /var/tmp/vnfile fdisk /dev/rvn0 # invent a geometry, create one BSD partition disklabel -r -w vn0 floppy # a convenient (bogus) label disklabel -e vn0 # edit label to match device newfs /dev/rvn0a mount /dev/vn0a /mnt ... The steps after the fdisk could name the device vn0s1 instead of vn0. Notes: svn path=/head/; revision=6639
* Temporarily stop this compiling if the option TEST_LABELLING is definedBruce Evans1995-02-161-0/+1
| | | | | | | | so that new slice support code can be installed without risk of corrupting vn devices (if any). Notes: svn path=/head/; revision=6502
* YF fix.Poul-Henning Kamp1995-02-141-16/+20
| | | | | | | | Reviewed by: phk Submitted by: yves@dutncp8.tn.tudelft.nl (Yves Fonk) Notes: svn path=/head/; revision=6355
* Fixed incorrect bufsize assignment that was causing a panic.David Greenman1995-02-131-1/+1
| | | | | | | Submitted by: John Dyson Notes: svn path=/head/; revision=6338
* Warning: vn doesn't work just now. I havn't found out why. This commitPoul-Henning Kamp1995-01-301-24/+0
| | | | | | | just removes a couple of unused functions. Notes: svn path=/head/; revision=6026
* Continue implementing disk slices and labels for the vn driver. EverythingBruce Evans1994-12-161-16/+38
| | | | | | | | | | | is supposed to work except "media removal" (shutting down the vn driver) while some partitions are open. Fix some errnos: return ENOTTY, not ENXIO for unknown ioctls; return ENODEV, not ENXIO for the unsupported dump operation. Notes: svn path=/head/; revision=5127
* An inconsequential #ifdef Bruce forgot.Poul-Henning Kamp1994-12-161-0/+2
| | | | Notes: svn path=/head/; revision=5115
* Implement disk slices and labels for the vn driver. This is intended mainlyBruce Evans1994-12-121-11/+93
| | | | | | | | for testing and is only enabled if TEST_LABELLING is defined. It won't actually work until DOS goop is removed from ufs_disksubr.c. Notes: svn path=/head/; revision=5062
* Avoid a panic if vn is configured as swapdev. Seems to work fine.Poul-Henning Kamp1994-12-061-3/+6
| | | | Notes: svn path=/head/; revision=5000
* The vn driver from 4.4_litePoul-Henning Kamp1994-12-041-0/+550
Notes: svn path=/head/; revision=4961