aboutsummaryrefslogtreecommitdiff
path: root/sys/miscfs/devfs/devfs_proto.h
Commit message (Collapse)AuthorAgeFilesLines
* changes to make devfs more 'normal'Julian Elischer1996-11-211-4/+6
| | | | | | | | | | | | | | | | | also fixes a bug I've been chasing for a LONG TIME, due to the fact that spec_bwrite is a NOP and I didn't realise it.. old symptom: mount -t devfs devfs /mnt mount /mnt/wd0e /mnt/mnt2 umount /mnt2 <process hangs> there are some pretty large structural differences internal to devfs but outwards it should look the same. I have not yet tested extensively but will do so and fix 3 warnings tomorrow. Notes: svn path=/head/; revision=19909
* Fix the reproto.sh script that was broken after my KNFification.Joerg Wunsch1996-04-071-18/+22
| | | | | | | Pointed out by: bde Notes: svn path=/head/; revision=15083
* Submitted by: Bruce Evans (bde)Julian Elischer1996-01-211-1/+0
| | | | | | | | better naming for exported devfs function and better place for the prototype Notes: svn path=/head/; revision=13526
* Restored lost prototypes.Bruce Evans1995-12-141-0/+1
| | | | Notes: svn path=/head/; revision=12832
* Another mega commit to staticize things.Poul-Henning Kamp1995-12-141-50/+0
| | | | Notes: svn path=/head/; revision=12820
* clean a few DEVFS things..Julian Elischer1995-12-091-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix a bug where you couldn't place devices in the root directory of devfs remove deprecated routines On my machine devfs now shows: julian@erf.tfs.com: julian@erf.tfs.com: ls -RF bpf0 mem ptypb spkr ttyp8 bpf1 null ptypc stderr ttyp9 bpf2 pcaudio ptypd stdin ttypa bpf3 pcaudioctl ptype stdout ttypb console pt ptypf tty ttypc cuaa0 ptyp0 random ttyd0 ttypd cuaia0 ptyp1 rsd0 ttyid0 ttype cuala0 ptyp2 rsd1 ttyld0 ttypf fd/ ptyp3 rvn ttyp0 tun0 fd0.1440 ptyp4 rworm ttyp1 urandom fd1.1200 ptyp5 scsi/ ttyp2 vn io ptyp6 sd0 ttyp3 zero kmem ptyp7 sd1 ttyp4 lkm ptyp8 snp0 ttyp5 log ptyp9 snp1 ttyp6 lpt0 ptypa snp2 ttyp7 ./fd: 0 15 21 28 34 40 47 53 6 9 1 16 22 29 35 41 48 54 60 10 17 23 3 36 42 49 55 61 11 18 24 30 37 43 5 56 62 12 19 25 31 38 44 50 57 63 13 2 26 32 39 45 51 58 7 14 20 27 33 4 46 52 59 8 ./scsi: sctarg ssc julian@erf.tfs.com: which is all devices really there except for disk slices/partitions.. (if I don't have it it's not there, which has GOT to be an improvement..) no DEVFS fixes from device maintainers yet? Notes: svn path=/head/; revision=12691
* Submitted by: bdeJulian Elischer1995-09-141-1/+1
| | | | | | | prototype file follows the sources.. Notes: svn path=/head/; revision=10724
* More hacking on devfs..Julian Elischer1995-09-091-3/+5
| | | | | | | | | | | | | | | I can now do an mv on devices and directories in devfs This was the hardest part.. link, delete and symlink will follow in short order. This code works but has definitly got vnode locking problems I am electing to get the structure of it working before spending too much time on the vnode confusion so it's probably not reliable at the moment.. never-the less it looks good. :) Notes: svn path=/head/; revision=10648
* more cleanups.. lots of code shuffled around tooJulian Elischer1995-09-071-8/+7
| | | | | | | | routines renamed.. more simplifications, some warnings squashed. Notes: svn path=/head/; revision=10598
* Suggested by: :) bde of courseJulian Elischer1995-09-061-1/+39
| | | | | | | | | | | | | | | | | | | added prototypes for every function and put (void *) as the args to the vop array definitions. can now compile with: CWARNFLAGS?= -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit \ -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes \ -Winline -Wstrict-prototypes and only get errors for files external to this module: namely ./vnode_if.h ../../sys/vnode.h ../../sys/buf.h ../../miscfs/specfs/specdev.h Notes: svn path=/head/; revision=10596
* more devfs cleanups..Julian Elischer1995-09-061-6/+6
| | | | | | | if this keeps simplifying there won't be any left :) Notes: svn path=/head/; revision=10582
* devfs changes..Julian Elischer1995-09-031-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes to allow devices that don't probe (e.g. /dev/mem) to create devfs entries this required giving 'configure' its own SYSINIT entry so we could duck in just before it with a DEVFS init and some device inits.. my devfs now looks like: ./misc ./misc/speaker ./misc/mem ./misc/kmem ./misc/null ./misc/zero ./misc/io ./misc/console ./misc/pcaudio ./misc/pcaudioctl ./disks ./disks/rfloppy ./disks/rfloppy/fd0.1440 ./disks/rfloppy/fd1.1200 ./disks/floppy ./disks/floppy/fd0.1440 ./disks/floppy/fd1.1200 also some sligt cleanups.. DEVFS needs a lot of work but I'm getting back to it.. Notes: svn path=/head/; revision=10537
* Submitted by: julianJulian Elischer1995-04-201-9/+9
| | | | | | | | I did a cleanup on the code.. (why didn't I do that before I checked it in? I hear you ask..) Notes: svn path=/head/; revision=7957
* Reviewed by: no-one yet, but nonintrusive until configed in.. :)Julian Elischer1995-04-201-0/+31
Submitted by: julian@freebsd.org Obtained from: written from scratch Notes: svn path=/head/; revision=7946