From owner-cvs-all Mon Aug 23 13:59:48 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7FD391570A; Mon, 23 Aug 1999 13:59:43 -0700 (PDT) (envelope-from phk@FreeBSD.org) Received: (from phk@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA00472; Mon, 23 Aug 1999 13:59:23 -0700 (PDT) (envelope-from phk@FreeBSD.org) Message-Id: <199908232059.NAA00472@freefall.freebsd.org> From: Poul-Henning Kamp Date: Mon, 23 Aug 1999 13:59:23 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/cam cam_extend.c cam_xpt.c src/sys/cam/scsi scsi_pass.c src/sys/coda coda_fbsd.c src/sys/dev/ata ata-disk.c ata-disk.h atapi-all.c atapi-cd.c atapi-cd.h atapi-fd.c atapi-fd.h atapi-tape.c atapi-tape.h src/sys/dev/dpt dpt.h src/sys/dev/fb ... Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk phk 1999/08/23 13:59:22 PDT Modified files: sys/cam cam_extend.c cam_xpt.c sys/cam/scsi scsi_pass.c sys/coda coda_fbsd.c sys/dev/ata ata-disk.c ata-disk.h atapi-all.c atapi-cd.c atapi-cd.h atapi-fd.c atapi-fd.h atapi-tape.c atapi-tape.h sys/dev/dpt dpt.h sys/dev/fb fb.c sys/dev/kbd atkbd.c sys/dev/ppbus lpt.c sys/dev/streams streams.c sys/dev/syscons syscons.h sys/gnu/i386/isa dgb.c dgm.c sys/i386/apm apm.c sys/i386/i386 mem.c sys/i386/isa asc.c atapi-cd.c atapi-cd.h ctx.c cy.c gpib.c gsc.c if_cx.c joy.c labpc.c mcd.c mse.c pcaudio.c rc.c rp.c scd.c si.c spigot.c spkr.c tw.c wd.c wfd.c wst.c wt.c sys/i386/isa/matcd matcd.c sys/i386/isa/pcvt pcvt_drv.c sys/i386/isa/snd sound.c sys/i386/isa/sound soundcard.c sys/isa fd.c psm.c sio.c sys/kern init_main.c kern_conf.c kern_descrip.c subr_diskslice.c subr_log.c tty_pty.c tty_snoop.c tty_tty.c sys/pccard pccard.c slot.h sys/pci brooktree848.c dpt_pci.c meteor.c meteor_reg.h pci.c xrpu.c sys/sys conf.h sys/vm vm_swap.c Log: Convert DEVFS hooks in (most) drivers to make_dev(). Diskslice/label code not yet handled. Vinum, i4b, alpha, pc98 not dealt with (left to respective Maintainers) Add the correct hook for devfs to kern_conf.c The net result of this excercise is that a lot less files depends on DEVFS, and devtoname() gets more sensible output in many cases. A few drivers had minor additional cleanups performed relating to cdevsw registration. A few drivers don't register a cdevsw{} anymore, but only use make_dev(). Revision Changes Path 1.2 +2 -1 src/sys/cam/cam_extend.c 1.68 +1 -5 src/sys/cam/cam_xpt.c 1.13 +1 -5 src/sys/cam/scsi/scsi_pass.c 1.16 +1 -35 src/sys/coda/coda_fbsd.c 1.18 +5 -18 src/sys/dev/ata/ata-disk.c 1.8 +1 -5 src/sys/dev/ata/ata-disk.h 1.12 +1 -2 src/sys/dev/ata/atapi-all.c 1.12 +9 -21 src/sys/dev/ata/atapi-cd.c 1.3 +1 -7 src/sys/dev/ata/atapi-cd.h 1.13 +5 -13 src/sys/dev/ata/atapi-fd.c 1.3 +1 -5 src/sys/dev/ata/atapi-fd.h 1.12 +3 -10 src/sys/dev/ata/atapi-tape.c 1.5 +1 -5 src/sys/dev/ata/atapi-tape.h 1.5 +1 -9 src/sys/dev/dpt/dpt.h 1.8 +1 -3 src/sys/dev/fb/fb.c 1.15 +1 -2 src/sys/dev/kbd/atkbd.c 1.7 +5 -18 src/sys/dev/ppbus/lpt.c 1.10 +1 -21 src/sys/dev/streams/streams.c 1.52 +1 -6 src/sys/dev/syscons/syscons.h 1.51 +18 -48 src/sys/gnu/i386/isa/dgb.c 1.16 +13 -46 src/sys/gnu/i386/isa/dgm.c 1.103 +2 -13 src/sys/i386/apm/apm.c 1.64 +11 -62 src/sys/i386/i386/mem.c 1.39 +8 -28 src/sys/i386/isa/asc.c 1.21 +9 -23 src/sys/i386/isa/atapi-cd.c 1.4 +1 -7 src/sys/i386/isa/atapi-cd.h 1.33 +2 -13 src/sys/i386/isa/ctx.c 1.92 +7 -29 src/sys/i386/isa/cy.c 1.26 +1 -13 src/sys/i386/isa/gpib.c 1.33 +7 -27 src/sys/i386/isa/gsc.c 1.30 +5 -14 src/sys/i386/isa/if_cx.c 1.29 +1 -14 src/sys/i386/isa/joy.c 1.34 +1 -15 src/sys/i386/isa/labpc.c 1.109 +9 -30 src/sys/i386/isa/mcd.c 1.45 +3 -18 src/sys/i386/isa/mse.c 1.51 +3 -19 src/sys/i386/isa/pcaudio.c 1.49 +0 -17 src/sys/i386/isa/rc.c 1.29 +1 -8 src/sys/i386/isa/rp.c 1.48 +9 -29 src/sys/i386/isa/scd.c 1.89 +9 -40 src/sys/i386/isa/si.c 1.41 +1 -13 src/sys/i386/isa/spigot.c 1.40 +2 -13 src/sys/i386/isa/spkr.c 1.36 +1 -16 src/sys/i386/isa/tw.c 1.202 +4 -23 src/sys/i386/isa/wd.c 1.28 +3 -20 src/sys/i386/isa/wfd.c 1.24 +2 -13 src/sys/i386/isa/wst.c 1.53 +2 -13 src/sys/i386/isa/wt.c 1.43 +6 -37 src/sys/i386/isa/matcd/matcd.c 1.57 +0 -20 src/sys/i386/isa/pcvt/pcvt_drv.c 1.31 +11 -43 src/sys/i386/isa/snd/sound.c 1.85 +14 -36 src/sys/i386/isa/sound/soundcard.c 1.153 +1 -119 src/sys/isa/fd.c 1.17 +3 -17 src/sys/isa/psm.c 1.256 +13 -33 src/sys/isa/sio.c 1.125 +1 -2 src/sys/kern/init_main.c 1.60 +5 -21 src/sys/kern/kern_conf.c 1.66 +10 -41 src/sys/kern/kern_descrip.c 1.67 +5 -1 src/sys/kern/subr_diskslice.c 1.37 +3 -20 src/sys/kern/subr_log.c 1.66 +7 -14 src/sys/kern/tty_pty.c 1.41 +5 -24 src/sys/kern/tty_snoop.c 1.28 +2 -20 src/sys/kern/tty_tty.c 1.82 +2 -9 src/sys/pccard/pccard.c 1.16 +0 -4 src/sys/pccard/slot.h 1.90 +7 -20 src/sys/pci/brooktree848.c 1.15 +1 -2 src/sys/pci/dpt_pci.c 1.47 +2 -9 src/sys/pci/meteor.c 1.5 +0 -3 src/sys/pci/meteor_reg.h 1.115 +7 -22 src/sys/pci/pci.c 1.16 +4 -14 src/sys/pci/xrpu.c 1.77 +16 -5 src/sys/sys/conf.h 1.82 +6 -33 src/sys/vm/vm_swap.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message