Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 1999 04:29:33 -0700 (PDT)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/alpha/alpha cons.c mem.c src/sys/cam cam_xpt.c src/sys/cam/scsi scsi_cd.c scsi_ch.c scsi_da.c scsi_pass.c scsi_pt.c scsi_sa.c scsi_target.c src/sys/coda coda_fbsd.c coda_vfsops.c src/sys/dev/ata ata-disk.c atapi-cd.c atapi-fd.c ...
Message-ID:  <199905311129.EAA70242@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         1999/05/31 04:29:32 PDT

  Modified files:
    sys/alpha/alpha      cons.c mem.c 
    sys/cam              cam_xpt.c 
    sys/cam/scsi         scsi_cd.c scsi_ch.c scsi_da.c scsi_pass.c 
                         scsi_pt.c scsi_sa.c scsi_target.c 
    sys/coda             coda_fbsd.c coda_vfsops.c 
    sys/dev/ata          ata-disk.c atapi-cd.c atapi-fd.c 
                         atapi-tape.c 
    sys/dev/dpt          dpt_control.c 
    sys/dev/fb           fb.c 
    sys/dev/iicbus       iic.c 
    sys/dev/kbd          kbd.c 
    sys/dev/pccard       if_xe.c 
    sys/dev/ppbus        lpt.c ppi.c pps.c 
    sys/dev/smbus        smb.c 
    sys/dev/streams      streams.c 
    sys/dev/syscons      syscons.c 
    sys/dev/usb          usbdi.c 
    sys/gnu/ext2fs       ext2_vfsops.c 
    sys/gnu/i386/isa     dgb.c dgm.c 
    sys/i386/i386        autoconf.c cons.c mem.c 
    sys/i386/isa         asc.c atapi-cd.c ctx.c cx.c cy.c gpib.c 
                         gsc.c ida.c istallion.c joy.c labpc.c 
                         loran.c mcd.c mse.c pcaudio.c rc.c rp.c 
                         scd.c si.c spigot.c spkr.c stallion.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/isofs/cd9660     cd9660_vfsops.c 
    sys/kern             kern_conf.c kern_descrip.c subr_log.c 
                         tty_pty.c tty_snoop.c tty_tty.c 
                         vfs_subr.c 
    sys/miscfs/fdesc     fdesc_vnops.c 
    sys/miscfs/kernfs    kernfs_vfsops.c 
    sys/miscfs/specfs    spec_vnops.c 
    sys/msdosfs          msdosfs_vfsops.c 
    sys/net              bpf.c if_tun.c 
    sys/netinet          mlf_ipl.c 
    sys/ntfs             ntfs_vfsops.c 
    sys/pc98/pc98        lpt.c mse.c pcaudio.c spkr.c syscons.c 
                         wd.c 
    sys/pccard           pccard.c 
    sys/pci              brooktree848.c meteor.c pci.c xrpu.c 
    sys/sys              conf.h param.h 
    sys/ufs/ffs          ffs_vfsops.c 
    sys/vm               vm_swap.c 
  Log:
  Simplify cdevsw registration.
  
  The cdevsw_add() function now finds the major number(s) in the
  struct cdevsw passed to it.  cdevsw_add_generic() is no longer
  needed, cdevsw_add() does the same thing.
  
  cdevsw_add() will print an message if the d_maj field looks bogus.
  
  Remove nblkdev and nchrdev variables.  Most places they were used
  bogusly.  Instead check a dev_t for validity by seeing if devsw()
  or bdevsw() returns NULL.
  
  Move bdevsw() and devsw() functions to kern/kern_conf.c
  
  Bump __FreeBSD_version to 400006
  
  This commit removes:
          72 bogus makedev() calls
          26 bogus SYSINIT functions
  
  if_xe.c bogusly accessed cdevsw[], author/maintainer please fix.
  
  I4b and vinum not changed.  Patches emailed to authors.  LINT
  probably broken until they catch up.
  
  Revision  Changes    Path
  1.9       +4 -11     src/sys/alpha/alpha/cons.c
  1.10      +3 -12     src/sys/alpha/alpha/mem.c
  1.63      +2 -5      src/sys/cam/cam_xpt.c
  1.23      +2 -2      src/sys/cam/scsi/scsi_cd.c
  1.14      +2 -5      src/sys/cam/scsi/scsi_ch.c
  1.27      +2 -2      src/sys/cam/scsi/scsi_da.c
  1.12      +2 -5      src/sys/cam/scsi/scsi_pass.c
  1.10      +2 -5      src/sys/cam/scsi/scsi_pt.c
  1.28      +2 -2      src/sys/cam/scsi/scsi_sa.c
  1.14      +2 -4      src/sys/cam/scsi/scsi_target.c
  1.15      +3 -5      src/sys/coda/coda_fbsd.c
  1.14      +4 -5      src/sys/coda/coda_vfsops.c
  1.13      +7 -3      src/sys/dev/ata/ata-disk.c
  1.10      +2 -2      src/sys/dev/ata/atapi-cd.c
  1.10      +2 -2      src/sys/dev/ata/atapi-fd.c
  1.10      +2 -4      src/sys/dev/ata/atapi-tape.c
  1.14      +2 -7      src/sys/dev/dpt/dpt_control.c
  1.5       +2 -4      src/sys/dev/fb/fb.c
  1.12      +5 -17     src/sys/dev/iicbus/iic.c
  1.9       +2 -4      src/sys/dev/kbd/kbd.c
  1.3       +8 -0      src/sys/dev/pccard/if_xe.c
  1.5       +5 -17     src/sys/dev/ppbus/lpt.c
  1.15      +5 -16     src/sys/dev/ppbus/ppi.c
  1.19      +5 -4      src/sys/dev/ppbus/pps.c
  1.13      +5 -17     src/sys/dev/smbus/smb.c
  1.6       +2 -11     src/sys/dev/streams/streams.c
  1.305     +2 -3      src/sys/dev/syscons/syscons.c
  1.17      +2 -6      src/sys/dev/usb/usbdi.c
  1.49      +1 -2      src/sys/gnu/ext2fs/ext2_vfsops.c
  1.50      +4 -18     src/sys/gnu/i386/isa/dgb.c
  1.15      +5 -18     src/sys/gnu/i386/isa/dgm.c
  1.124     +6 -6      src/sys/i386/i386/autoconf.c
  1.67      +2 -4      src/sys/i386/i386/cons.c
  1.63      +2 -5      src/sys/i386/i386/mem.c
  1.38      +5 -19     src/sys/i386/isa/asc.c
  1.20      +2 -7      src/sys/i386/isa/atapi-cd.c
  1.32      +4 -20     src/sys/i386/isa/ctx.c
  1.40      +1 -6      src/sys/i386/isa/cx.c
  1.90      +2 -4      src/sys/i386/isa/cy.c
  1.25      +3 -18     src/sys/i386/isa/gpib.c
  1.32      +4 -18     src/sys/i386/isa/gsc.c
  1.2       +2 -2      src/sys/i386/isa/ida.c
  1.29      +5 -16     src/sys/i386/isa/istallion.c
  1.28      +4 -16     src/sys/i386/isa/joy.c
  1.33      +1 -18     src/sys/i386/isa/labpc.c
  1.20      +7 -17     src/sys/i386/isa/loran.c
  1.108     +5 -16     src/sys/i386/isa/mcd.c
  1.44      +4 -17     src/sys/i386/isa/mse.c
  1.50      +2 -16     src/sys/i386/isa/pcaudio.c
  1.47      +4 -16     src/sys/i386/isa/rc.c
  1.28      +3 -7      src/sys/i386/isa/rp.c
  1.47      +5 -16     src/sys/i386/isa/scd.c
  1.87      +2 -7      src/sys/i386/isa/si.c
  1.40      +4 -17     src/sys/i386/isa/spigot.c
  1.37      +4 -14     src/sys/i386/isa/spkr.c
  1.33      +2 -7      src/sys/i386/isa/stallion.c
  1.35      +3 -17     src/sys/i386/isa/tw.c
  1.199     +4 -9      src/sys/i386/isa/wd.c
  1.25      +2 -8      src/sys/i386/isa/wfd.c
  1.23      +2 -10     src/sys/i386/isa/wst.c
  1.52      +5 -20     src/sys/i386/isa/wt.c
  1.41      +4 -17     src/sys/i386/isa/matcd/matcd.c
  1.54      +1 -5      src/sys/i386/isa/pcvt/pcvt_drv.c
  1.30      +1 -3      src/sys/i386/isa/snd/sound.c
  1.84      +1 -6      src/sys/i386/isa/sound/soundcard.c
  1.56      +2 -3      src/sys/isofs/cd9660/cd9660_vfsops.c
  1.41      +46 -52    src/sys/kern/kern_conf.c
  1.63      +2 -4      src/sys/kern/kern_descrip.c
  1.36      +2 -4      src/sys/kern/subr_log.c
  1.61      +3 -6      src/sys/kern/tty_pty.c
  1.38      +1 -7      src/sys/kern/tty_snoop.c
  1.27      +2 -4      src/sys/kern/tty_tty.c
  1.200     +7 -9      src/sys/kern/vfs_subr.c
  1.42      +2 -2      src/sys/miscfs/fdesc/fdesc_vnops.c
  1.28      +6 -11     src/sys/miscfs/kernfs/kernfs_vfsops.c
  1.87      +1 -5      src/sys/miscfs/specfs/spec_vnops.c
  1.45      +2 -3      src/sys/msdosfs/msdosfs_vfsops.c
  1.51      +2 -4      src/sys/net/bpf.c
  1.58      +1 -3      src/sys/net/if_tun.c
  1.16      +1 -3      src/sys/netinet/mlf_ipl.c
  1.7       +2 -2      src/sys/ntfs/ntfs_vfsops.c
  1.28      +2 -4      src/sys/pc98/pc98/lpt.c
  1.22      +2 -4      src/sys/pc98/pc98/mse.c
  1.24      +2 -4      src/sys/pc98/pc98/pcaudio.c
  1.16      +2 -4      src/sys/pc98/pc98/spkr.c
  1.120     +2 -2      src/sys/pc98/pc98/syscons.c
  1.84      +2 -2      src/sys/pc98/pc98/wd.c
  1.80      +2 -16     src/sys/pccard/pccard.c
  1.83      +5 -24     src/sys/pci/brooktree848.c
  1.43      +5 -19     src/sys/pci/meteor.c
  1.107     +2 -5      src/sys/pci/pci.c
  1.12      +5 -4      src/sys/pci/xrpu.c
  1.58      +6 -37     src/sys/sys/conf.h
  1.48      +2 -2      src/sys/sys/param.h
  1.99      +2 -3      src/sys/ufs/ffs/ffs_vfsops.c
  1.70      +3 -3      src/sys/vm/vm_swap.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905311129.EAA70242>