From owner-freebsd-commit Fri Dec 8 03:21:48 1995 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA25501 for freebsd-commit-outgoing; Fri, 8 Dec 1995 03:21:48 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA25389 for cvs-all-outgoing; Fri, 8 Dec 1995 03:20:21 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA25382 for cvs-sys-outgoing; Fri, 8 Dec 1995 03:20:14 -0800 (PST) Received: (from julian@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA25307 Fri, 8 Dec 1995 03:19:49 -0800 (PST) Date: Fri, 8 Dec 1995 03:19:49 -0800 (PST) From: Julian Elischer Message-Id: <199512081119.DAA25307@freefall.freebsd.org> To: CVS-committers, cvs-sys Subject: cvs commit: src/sys/vm vm_swap.c Sender: owner-commit@FreeBSD.ORG Precedence: bulk julian 95/12/08 03:19:46 Modified: sys/conf files sys/dev/vn vn.c sys/gnu/i386/isa dgb.c nic3008.c nic3009.c sys/gnu/isdn iispy.c iitel.c iitty.c isdn.c sys/i386/apm apm.c sys/i386/i386 conf.c cons.c cons.h mem.c sys/i386/include conf.h sys/i386/isa asc.c b004.c b004.h ctx.c cx.c cy.c fd.c gpib.c gsc.c if_cx.c joy.c labpc.c lpt.c mcd.c mse.c pcaudio.c psm.c rc.c scd.c si.c sio.c spigot.c spkr.c syscons.c tw.c wcd.c wd.c wt.c sys/i386/isa/matcd matcd.c sys/i386/isa/pcvt pcvt_drv.c sys/i386/isa/sound soundcard.c sys/kern kern_conf.c kern_descrip.c kern_lkm.c subr_log.c tty_pty.c tty_snoop.c tty_tty.c sys/miscfs/devfs devfs_tree.c sys/miscfs/fdesc fdesc_vnops.c sys/miscfs/specfs spec_vnops.c sys/net bpf.c if_tun.c sys/pccard pccard.c sys/pci meteor.c sys/scsi cd.c ch.c od.c pt.c sctarg.c sd.c ssc.c st.c su.c uk.c worm.c sys/sys conf.h devfsext.h tty.h sys/vm vm_swap.c Log: Pass 3 of the great devsw changes most devsw referenced functions are now static, as they are in the same file as their devsw structure. I've also added DEVFS support for nearly every device in the system, however many of the devices have 'incorrect' names under DEVFS because I couldn't quickly work out the correct naming conventions. (but devfs won't be coming on line for a month or so anyhow so that doesn't matter) If you "OWN" a device which would normally have an entry in /dev then search for the devfs_add_devsw() entries and munge to make them right.. check out similar devices to see what I might have done in them in you can't see what's going on.. for a laugh compare conf.c conf.h defore and after... :) I have not doen DEVFS entries for any DISKSLICE devices yet as that will be a much more complicated job.. (pass 5 :) pass 4 will be to make the devsw tables of type (cdevsw * ) rather than (cdevsw) seems to work here.. complaints to the usual places.. :) Revision Changes Path 1.53 +1 -0 src/sys/conf/files 1.28 +33 -29 src/sys/dev/vn/vn.c 1.10 +58 -31 src/sys/gnu/i386/isa/dgb.c 1.12 +39 -37 src/sys/gnu/i386/isa/nic3008.c 1.12 +37 -33 src/sys/gnu/i386/isa/nic3009.c 1.8 +50 -41 src/sys/gnu/isdn/iispy.c 1.9 +33 -33 src/sys/gnu/isdn/iitel.c 1.16 +55 -34 src/sys/gnu/isdn/iitty.c 1.9 +32 -30 src/sys/gnu/isdn/isdn.c 1.20 +30 -32 src/sys/i386/apm/apm.c 1.113 +169 -823 src/sys/i386/i386/conf.c 1.37 +38 -27 src/sys/i386/i386/cons.c 1.12 +1 -9 src/sys/i386/i386/cons.h 1.23 +52 -34 src/sys/i386/i386/mem.c 1.4 +0 -373 src/sys/i386/include/conf.h 1.10 +54 -51 src/sys/i386/isa/asc.c 1.12 +72 -40 src/sys/i386/isa/b004.c 1.3 +1 -0 src/sys/i386/isa/b004.h 1.12 +33 -31 src/sys/i386/isa/ctx.c 1.18 +19 -22 src/sys/i386/isa/cx.c 1.24 +38 -30 src/sys/i386/isa/cy.c 1.73 +41 -34 src/sys/i386/isa/fd.c 1.12 +32 -32 src/sys/i386/isa/gpib.c 1.12 +60 -35 src/sys/i386/isa/gsc.c 1.10 +3 -4 src/sys/i386/isa/if_cx.c 1.12 +37 -33 src/sys/i386/isa/joy.c 1.11 +32 -28 src/sys/i386/isa/labpc.c 1.46 +40 -37 src/sys/i386/isa/lpt.c 1.52 +59 -38 src/sys/i386/isa/mcd.c 1.20 +43 -33 src/sys/i386/isa/mse.c 1.22 +27 -31 src/sys/i386/isa/pcaudio.c 1.11 +46 -30 src/sys/i386/isa/psm.c 1.15 +43 -33 src/sys/i386/isa/rc.c 1.13 +66 -45 src/sys/i386/isa/scd.c 1.23 +73 -40 src/sys/i386/isa/si.c 1.125 +70 -36 src/sys/i386/isa/sio.c 1.17 +42 -34 src/sys/i386/isa/spigot.c 1.21 +18 -20 src/sys/i386/isa/spkr.c 1.135 +17 -4 src/sys/i386/isa/syscons.c 1.12 +30 -27 src/sys/i386/isa/tw.c 1.17 +61 -47 src/sys/i386/isa/wcd.c 1.97 +25 -32 src/sys/i386/isa/wd.c 1.24 +46 -37 src/sys/i386/isa/wt.c 1.12 +79 -36 src/sys/i386/isa/matcd/matcd.c 1.16 +1 -1 src/sys/i386/isa/pcvt/pcvt_drv.c 1.37 +84 -31 src/sys/i386/isa/sound/soundcard.c 1.6 +2 -1 src/sys/kern/kern_conf.c 1.21 +28 -22 src/sys/kern/kern_descrip.c 1.24 +23 -107 src/sys/kern/kern_lkm.c 1.14 +23 -26 src/sys/kern/subr_log.c 1.29 +63 -42 src/sys/kern/tty_pty.c 1.12 +33 -27 src/sys/kern/tty_snoop.c 1.8 +23 -24 src/sys/kern/tty_tty.c 1.10 +13 -4 src/sys/miscfs/devfs/devfs_tree.c 1.15 +10 -7 src/sys/miscfs/fdesc/fdesc_vnops.c 1.22 +1 -5 src/sys/miscfs/specfs/spec_vnops.c 1.19 +32 -27 src/sys/net/bpf.c 1.16 +38 -53 src/sys/net/if_tun.c 1.12 +34 -28 src/sys/pccard/pccard.c 1.8 +26 -27 src/sys/pci/meteor.c 1.48 +69 -49 src/sys/scsi/cd.c 1.26 +28 -28 src/sys/scsi/ch.c 1.6 +44 -37 src/sys/scsi/od.c 1.9 +20 -18 src/sys/scsi/pt.c 1.9 +22 -24 src/sys/scsi/sctarg.c 1.76 +45 -41 src/sys/scsi/sd.c 1.8 +31 -36 src/sys/scsi/ssc.c 1.49 +150 -59 src/sys/scsi/st.c 1.9 +47 -34 src/sys/scsi/su.c 1.12 +22 -30 src/sys/scsi/uk.c 1.14 +35 -33 src/sys/scsi/worm.c 1.25 +8 -5 src/sys/sys/conf.h 1.4 +2 -2 src/sys/sys/devfsext.h 1.32 +1 -13 src/sys/sys/tty.h 1.29 +13 -33 src/sys/vm/vm_swap.c