Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys Add d_discard to all struct cdevsw instances I could find.



details:   https://anonhg.NetBSD.org/src/rev/465aa4f5da2f
branches:  trunk
changeset: 330903:465aa4f5da2f
user:      dholland <dholland%NetBSD.org@localhost>
date:      Fri Jul 25 08:10:31 2014 +0000

description:
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.

diffstat:

 sys/altq/altq_conf.c                                        |  5 +++--
 sys/arch/acorn26/ioc/arcpp.c                                |  5 +++--
 sys/arch/acorn32/mainbus/fd.c                               |  5 +++--
 sys/arch/alpha/alpha/promcons.c                             |  6 ++++--
 sys/arch/amiga/dev/fd.c                                     |  5 +++--
 sys/arch/amiga/dev/grf.c                                    |  5 +++--
 sys/arch/amiga/dev/ite.c                                    |  5 +++--
 sys/arch/amiga/dev/kbd.c                                    |  5 +++--
 sys/arch/amiga/dev/mfc.c                                    |  5 +++--
 sys/arch/amiga/dev/ms.c                                     |  5 +++--
 sys/arch/amiga/dev/msc.c                                    |  5 +++--
 sys/arch/amiga/dev/par.c                                    |  5 +++--
 sys/arch/amiga/dev/ser.c                                    |  5 +++--
 sys/arch/amiga/dev/view.c                                   |  5 +++--
 sys/arch/arc/dev/opms.c                                     |  5 +++--
 sys/arch/arc/dev/pccons.c                                   |  5 +++--
 sys/arch/arc/jazz/fd.c                                      |  5 +++--
 sys/arch/arm/at91/at91dbgu.c                                |  7 ++++---
 sys/arch/arm/at91/at91usart.c                               |  7 ++++---
 sys/arch/arm/clps711x/clpscom.c                             |  5 +++--
 sys/arch/arm/ep93xx/epcom.c                                 |  5 +++--
 sys/arch/arm/footbridge/footbridge_com.c                    |  5 +++--
 sys/arch/arm/imx/imxuart.c                                  |  5 +++--
 sys/arch/arm/ixp12x0/ixp12x0_com.c                          |  5 +++--
 sys/arch/arm/s3c2xx0/sscom.c                                |  5 +++--
 sys/arch/arm/sa11x0/sa11x0_com.c                            |  5 +++--
 sys/arch/atari/dev/clock.c                                  |  5 +++--
 sys/arch/atari/dev/fd.c                                     |  5 +++--
 sys/arch/atari/dev/grf.c                                    |  5 +++--
 sys/arch/atari/dev/hdfd.c                                   |  5 +++--
 sys/arch/atari/dev/ite.c                                    |  5 +++--
 sys/arch/atari/dev/kbd.c                                    |  5 +++--
 sys/arch/atari/dev/lpt.c                                    |  5 +++--
 sys/arch/atari/dev/ms.c                                     |  5 +++--
 sys/arch/atari/dev/ser.c                                    |  5 +++--
 sys/arch/atari/dev/view.c                                   |  5 +++--
 sys/arch/atari/dev/zs.c                                     |  5 +++--
 sys/arch/atari/vme/et4000.c                                 |  5 +++--
 sys/arch/atari/vme/leo.c                                    |  5 +++--
 sys/arch/cobalt/dev/panel.c                                 |  5 +++--
 sys/arch/dreamcast/dev/gdrom.c                              |  5 +++--
 sys/arch/dreamcast/dev/maple/maple.c                        |  5 +++--
 sys/arch/dreamcast/dev/maple/mlcd.c                         |  5 +++--
 sys/arch/dreamcast/dev/maple/mmemcard.c                     |  5 +++--
 sys/arch/emips/ebus/ace_ebus.c                              |  7 ++++---
 sys/arch/emips/ebus/dz_ebus.c                               |  5 +++--
 sys/arch/emips/ebus/flash_ebus.c                            |  7 ++++---
 sys/arch/emips/ebus/icap_ebus.c                             |  5 +++--
 sys/arch/emips/ebus/stub_ebus.c                             |  3 ++-
 sys/arch/epoc32/windermere/wmcom.c                          |  5 +++--
 sys/arch/evbarm/dev/plcom.c                                 |  5 +++--
 sys/arch/evbarm/g42xxeb/g42xxeb_lcd.c                       |  3 ++-
 sys/arch/evbarm/lubbock/lubbock_lcd.c                       |  5 +++--
 sys/arch/evbarm/mini2440/mini2440_lcd.c                     |  3 ++-
 sys/arch/evbarm/netwalker/netwalker_lcd.c                   |  5 +++--
 sys/arch/evbarm/smdk2xx0/smdk2410_lcd.c                     |  5 +++--
 sys/arch/evbarm/tsarm/tslcd.c                               |  5 +++--
 sys/arch/evbppc/virtex/dev/xlcom.c                          |  5 +++--
 sys/arch/hp300/dev/ct.c                                     |  5 +++--
 sys/arch/hp300/dev/dcm.c                                    |  5 +++--
 sys/arch/hp300/dev/mt.c                                     |  5 +++--
 sys/arch/hp300/dev/ppi.c                                    |  5 +++--
 sys/arch/hp300/dev/rd.c                                     |  5 +++--
 sys/arch/hpcmips/dev/ucbsnd.c                               |  5 +++--
 sys/arch/hpcmips/tx/txcom.c                                 |  5 +++--
 sys/arch/hpcmips/vr/flash_vrip.c                            |  5 +++--
 sys/arch/hpcmips/vr/vr4181aiu.c                             |  5 +++--
 sys/arch/i386/isa/cmos.c                                    |  5 +++--
 sys/arch/landisk/dev/button.c                               |  5 +++--
 sys/arch/luna68k/dev/siotty.c                               |  5 +++--
 sys/arch/mac68k/dev/aed.c                                   |  5 +++--
 sys/arch/mac68k/dev/grf_compat.c                            |  5 +++--
 sys/arch/mac68k/dev/ite_compat.c                            |  5 +++--
 sys/arch/mac68k/nubus/cpi_nubus.c                           |  5 +++--
 sys/arch/mac68k/obio/asc.c                                  |  5 +++--
 sys/arch/mac68k/obio/iwm_fd.c                               |  5 +++--
 sys/arch/macppc/dev/aed.c                                   |  5 +++--
 sys/arch/macppc/dev/apm.c                                   |  5 +++--
 sys/arch/macppc/dev/nvram.c                                 |  5 +++--
 sys/arch/macppc/dev/ofcons.c                                |  5 +++--
 sys/arch/mips/adm5120/dev/uart.c                            |  5 +++--
 sys/arch/mips/atheros/dev/athflash.c                        |  5 +++--
 sys/arch/mips/sibyte/dev/sbjcn.c                            |  5 +++--
 sys/arch/mips/sibyte/dev/sbscn.c                            |  5 +++--
 sys/arch/mipsco/obio/i82072.c                               |  5 +++--
 sys/arch/news68k/news68k/romcons.c                          |  5 +++--
 sys/arch/prep/pnpbus/nvram_pnpbus.c                         |  5 +++--
 sys/arch/sandpoint/sandpoint/satmgr.c                       |  3 ++-
 sys/arch/sgimips/dev/scn.c                                  |  5 +++--
 sys/arch/sh3/dev/sci.c                                      |  5 +++--
 sys/arch/sh3/dev/scif.c                                     |  5 +++--
 sys/arch/sh3/dev/wdog.c                                     |  5 +++--
 sys/arch/shark/ofw/ofrom.c                                  |  5 +++--
 sys/arch/shark/shark/opms.c                                 |  5 +++--
 sys/arch/shark/shark/profile.c                              |  5 +++--
 sys/arch/shark/shark/scr.c                                  |  5 +++--
 sys/arch/sparc/dev/cgeight.c                                |  5 +++--
 sys/arch/sparc/dev/cgfour.c                                 |  5 +++--
 sys/arch/sparc/dev/cgfourteen.c                             |  3 ++-
 sys/arch/sparc/dev/cgtwo.c                                  |  5 +++--
 sys/arch/sparc/dev/fd.c                                     |  5 +++--
 sys/arch/sparc/dev/kd.c                                     |  5 +++--
 sys/arch/sparc/dev/tctrl.c                                  |  5 +++--
 sys/arch/sparc/sparc/openprom.c                             |  5 +++--
 sys/arch/sparc64/dev/fdc.c                                  |  5 +++--
 sys/arch/sparc64/dev/kd.c                                   |  5 +++--
 sys/arch/sparc64/dev/pcons.c                                |  5 +++--
 sys/arch/sparc64/dev/sab.c                                  |  5 +++--
 sys/arch/sun2/dev/kd.c                                      |  5 +++--
 sys/arch/sun2/dev/pcons.c                                   |  5 +++--
 sys/arch/sun3/dev/bw2.c                                     |  5 +++--
 sys/arch/sun3/dev/cg2.c                                     |  5 +++--
 sys/arch/sun3/dev/cg4.c                                     |  5 +++--
 sys/arch/sun3/dev/fb.c                                      |  5 +++--
 sys/arch/sun3/dev/fd.c                                      |  5 +++--
 sys/arch/sun3/dev/kd.c                                      |  5 +++--
 sys/arch/sun3/dev/xd.c                                      |  5 +++--
 sys/arch/sun3/dev/xy.c                                      |  5 +++--
 sys/arch/usermode/dev/ttycons.c                             |  5 +++--
 sys/arch/vax/mba/hp.c                                       |  5 +++--
 sys/arch/vax/uba/qv.c                                       |  5 +++--
 sys/arch/vax/vax/cfl.c                                      |  5 +++--
 sys/arch/vax/vax/crl.c                                      |  5 +++--
 sys/arch/vax/vax/crx.c                                      |  5 +++--
 sys/arch/vax/vax/ctu.c                                      |  5 +++--
 sys/arch/vax/vax/gencons.c                                  |  5 +++--
 sys/arch/vax/vsa/hdc9224.c                                  |  5 +++--
 sys/arch/x68k/dev/bmd.c                                     |  5 +++--
 sys/arch/x68k/dev/fd.c                                      |  5 +++--
 sys/arch/x68k/dev/grf.c                                     |  5 +++--
 sys/arch/x68k/dev/ite.c                                     |  5 +++--
 sys/arch/x68k/dev/kbd.c                                     |  5 +++--
 sys/arch/x68k/dev/ms.c                                      |  5 +++--
 sys/arch/x68k/dev/opmbell.c                                 |  5 +++--
 sys/arch/x68k/dev/par.c                                     |  5 +++--
 sys/arch/x68k/dev/sram.c                                    |  5 +++--
 sys/arch/xen/xen/xbd_xenbus.c                               |  5 +++--
 sys/arch/xen/xen/xencons.c                                  |  5 +++--
 sys/arch/xen/xen/xenevt.c                                   |  5 +++--
 sys/coda/coda_psdev.c                                       |  5 +++--
 sys/compat/svr4/svr4_net.c                                  |  5 +++--
 sys/dev/altmem/altmem.c                                     |  5 +++--
 sys/dev/apm/apm.c                                           |  5 +++--
 sys/dev/arcbios/arcbios_tty.c                               |  5 +++--
 sys/dev/ata/ata.c                                           |  5 +++--
 sys/dev/ata/wd.c                                            |  5 +++--
 sys/dev/audio.c                                             |  5 +++--
 sys/dev/bio.c                                               |  5 +++--
 sys/dev/bluetooth/bthub.c                                   |  5 +++--
 sys/dev/ccd.c                                               |  5 +++--
 sys/dev/cgd.c                                               |  5 +++--
 sys/dev/clockctl.c                                          |  5 +++--
 sys/dev/cons.c                                              |  5 +++--
 sys/dev/dec/dz.c                                            |  5 +++--
 sys/dev/dkwedge/dk.c                                        |  5 +++--
 sys/dev/dm/device-mapper.c                                  |  3 ++-
 sys/dev/dmover/dmover_io.c                                  |  5 +++--
 sys/dev/dtv/dtv_device.c                                    |  5 +++--
 sys/dev/filemon/filemon.c                                   |  3 ++-
 sys/dev/flash/flash.c                                       |  5 +++--
 sys/dev/fss.c                                               |  5 +++--
 sys/dev/gpib/ct.c                                           |  5 +++--
 sys/dev/gpib/gpib.c                                         |  5 +++--
 sys/dev/gpib/mt.c                                           |  5 +++--
 sys/dev/gpib/ppi.c                                          |  5 +++--
 sys/dev/gpib/rd.c                                           |  5 +++--
 sys/dev/gpio/gpio.c                                         |  5 +++--
 sys/dev/hpc/apm/apmdev.c                                    |  5 +++--
 sys/dev/hpc/biconsdev.c                                     |  5 +++--
 sys/dev/hpc/btnmgr.c                                        |  5 +++--
 sys/dev/i2c/at24cxx.c                                       |  5 +++--
 sys/dev/i2c/ds1307.c                                        |  5 +++--
 sys/dev/i2c/i2c.c                                           |  5 +++--
 sys/dev/i2c/m41st84.c                                       |  5 +++--
 sys/dev/i2c/m41t00.c                                        |  5 +++--
 sys/dev/i2c/max6900.c                                       |  5 +++--
 sys/dev/i2c/pcf8583.c                                       |  5 +++--
 sys/dev/i2c/x1226.c                                         |  5 +++--
 sys/dev/i2o/dpti.c                                          |  5 +++--
 sys/dev/i2o/iop.c                                           |  5 +++--
 sys/dev/ic/cd18xx.c                                         |  5 +++--
 sys/dev/ic/clmpcc.c                                         |  5 +++--
 sys/dev/ic/com.c                                            |  5 +++--
 sys/dev/ic/cy.c                                             |  5 +++--
 sys/dev/ic/dpt.c                                            |  5 +++--
 sys/dev/ic/icp_ioctl.c                                      |  5 +++--
 sys/dev/ic/joy.c                                            |  5 +++--
 sys/dev/ic/lpt.c                                            |  5 +++--
 sys/dev/ic/mfi.c                                            |  5 +++--
 sys/dev/ic/mlx.c                                            |  5 +++--
 sys/dev/ic/rrunner.c                                        |  5 +++--
 sys/dev/ic/tpm.c                                            |  5 +++--
 sys/dev/ic/z8530tty.c                                       |  5 +++--
 sys/dev/ieee1394/fwdev.c                                    |  5 +++--
 sys/dev/ir/cir.c                                            |  5 +++--
 sys/dev/ir/irframe.c                                        |  5 +++--
 sys/dev/isa/fd.c                                            |  5 +++--
 sys/dev/isa/isv.c                                           |  5 +++--
 sys/dev/isa/mcd.c                                           |  5 +++--
 sys/dev/isa/satlink.c                                       |  5 +++--
 sys/dev/isa/spkr.c                                          |  5 +++--
 sys/dev/isa/wt.c                                            |  5 +++--
 sys/dev/iscsi/iscsi_main.c                                  |  1 +
 sys/dev/kttcp.c                                             |  5 +++--
 sys/dev/ld.c                                                |  5 +++--
 sys/dev/lockstat.c                                          |  5 +++--
 sys/dev/marvell/gtmpsc.c                                    |  5 +++--
 sys/dev/mca/ed_mca.c                                        |  5 +++--
 sys/dev/md.c                                                |  5 +++--
 sys/dev/midi.c                                              |  5 +++--
 sys/dev/mm.c                                                |  6 ++++--
 sys/dev/mscp/mscp_disk.c                                    |  7 +++++--
 sys/dev/mscp/mscp_tape.c                                    |  5 +++--
 sys/dev/mvme/lpt_mvme.c                                     |  5 +++--
 sys/dev/nullcons_subr.c                                     |  5 +++--
 sys/dev/ofw/ofcons.c                                        |  5 +++--
 sys/dev/ofw/ofdisk.c                                        |  5 +++--
 sys/dev/ofw/openfirmio.c                                    |  5 +++--
 sys/dev/onewire/onewire.c                                   |  5 +++--
 sys/dev/pad/pad.c                                           |  5 +++--
 sys/dev/pci/agp.c                                           |  5 +++--
 sys/dev/pci/amr.c                                           |  5 +++--
 sys/dev/pci/bktr/bktr_os.c                                  |  5 +++--
 sys/dev/pci/cz.c                                            |  5 +++--
 sys/dev/pci/hdaudio/hdaudio.c                               |  5 +++--
 sys/dev/pci/mly.c                                           |  5 +++--
 sys/dev/pci/pci_usrreq.c                                    |  5 +++--
 sys/dev/pci/twa.c                                           |  5 +++--
 sys/dev/pci/twe.c                                           |  5 +++--
 sys/dev/ppbus/lpt.c                                         |  5 +++--
 sys/dev/ppbus/pps_ppbus.c                                   |  5 +++--
 sys/dev/putter/putter.c                                     |  5 +++--
 sys/dev/qbus/dhu.c                                          |  5 +++--
 sys/dev/qbus/dl.c                                           |  5 +++--
 sys/dev/qbus/qd.c                                           |  5 +++--
 sys/dev/qbus/rf.c                                           |  5 +++--
 sys/dev/qbus/rl.c                                           |  5 +++--
 sys/dev/qbus/ts.c                                           |  5 +++--
 sys/dev/radio.c                                             |  5 +++--
 sys/dev/raidframe/rf_netbsdkintf.c                          |  5 +++--
 sys/dev/rndpseudo.c                                         |  5 +++--
 sys/dev/sbus/bpp.c                                          |  5 +++--
 sys/dev/sbus/magma.c                                        |  6 ++++--
 sys/dev/sbus/p9100.c                                        |  5 +++--
 sys/dev/sbus/spif.c                                         |  6 ++++--
 sys/dev/sbus/tcx.c                                          |  5 +++--
 sys/dev/scsipi/cd.c                                         |  5 +++--
 sys/dev/scsipi/ch.c                                         |  5 +++--
 sys/dev/scsipi/if_se.c                                      |  5 +++--
 sys/dev/scsipi/scsiconf.c                                   |  5 +++--
 sys/dev/scsipi/sd.c                                         |  5 +++--
 sys/dev/scsipi/ses.c                                        |  5 +++--
 sys/dev/scsipi/ss.c                                         |  5 +++--
 sys/dev/scsipi/st.c                                         |  5 +++--
 sys/dev/scsipi/uk.c                                         |  5 +++--
 sys/dev/sequencer.c                                         |  6 ++++--
 sys/dev/spi/spiflash.c                                      |  5 +++--
 sys/dev/sun/bwtwo.c                                         |  5 +++--
 sys/dev/sun/cgsix.c                                         |  5 +++--
 sys/dev/sun/cgthree.c                                       |  5 +++--
 sys/dev/sun/fb.c                                            |  5 +++--
 sys/dev/sun/kbd.c                                           |  5 +++--
 sys/dev/sun/ms.c                                            |  5 +++--
 sys/dev/sysmon/sysmon.c                                     |  5 +++--
 sys/dev/tc/stic.c                                           |  5 +++--
 sys/dev/tprof/tprof.c                                       |  5 +++--
 sys/dev/usb/ucom.c                                          |  5 +++--
 sys/dev/usb/ucycom.c                                        |  5 +++--
 sys/dev/usb/ugen.c                                          |  5 +++--
 sys/dev/usb/uhid.c                                          |  5 +++--
 sys/dev/usb/uhso.c                                          |  5 +++--
 sys/dev/usb/ulpt.c                                          |  5 +++--
 sys/dev/usb/urio.c                                          |  5 +++--
 sys/dev/usb/usb.c                                           |  5 +++--
 sys/dev/usb/uscanner.c                                      |  5 +++--
 sys/dev/usb/utoppy.c                                        |  5 +++--
 sys/dev/verified_exec.c                                     |  5 +++--
 sys/dev/video.c                                             |  5 +++--
 sys/dev/vme/xd.c                                            |  5 +++--
 sys/dev/vme/xy.c                                            |  5 +++--
 sys/dev/vnd.c                                               |  5 +++--
 sys/dev/wscons/wsdisplay.c                                  |  5 +++--
 sys/dev/wscons/wskbd.c                                      |  5 +++--
 sys/dev/wscons/wsmouse.c                                    |  5 +++--
 sys/dev/wscons/wsmux.c                                      |  5 +++--
 sys/dev/wsfont/wsfontdev.c                                  |  5 +++--
 sys/dist/pf/net/pf_ioctl.c                                  |  5 +++--
 sys/external/bsd/drm/dist/bsd-core/drm_drv.c                |  1 +
 sys/external/bsd/drm2/drm/drm_drv.c                         |  5 +++--
 sys/external/bsd/ipf/netinet/ip_fil_netbsd.c                |  5 +++--
 sys/external/bsd/vchiq/dist/interface/vchiq_arm/vchiq_arm.c |  1 +
 sys/kern/kern_cpu.c                                         |  5 +++--
 sys/kern/kern_descrip.c                                     |  5 +++--
 sys/kern/kern_drvctl.c                                      |  5 +++--
 sys/kern/kern_ksyms.c                                       |  5 +++--
 sys/kern/subr_log.c                                         |  5 +++--
 sys/kern/tty_ptm.c                                          |  6 ++++--
 sys/kern/tty_pty.c                                          |  8 ++++++--
 sys/kern/tty_tty.c                                          |  5 +++--
 sys/modules/lua/lua.c                                       |  3 ++-
 sys/net/bpf.c                                               |  5 +++--
 sys/net/if_srt.c                                            |  5 +++--
 sys/net/if_tap.c                                            |  5 +++--
 sys/net/if_tun.c                                            |  5 +++--
 sys/net/npf/npf.c                                           |  5 +++--
 sys/netisdn/i4b_ctl.c                                       |  5 +++--
 sys/netisdn/i4b_i4bdrv.c                                    |  5 +++--
 sys/netisdn/i4b_rbch.c                                      |  5 +++--
 sys/netisdn/i4b_tel.c                                       |  5 +++--
 sys/netisdn/i4b_trace.c                                     |  5 +++--
 sys/netsmb/smb_dev.c                                        |  5 +++--
 sys/opencrypto/cryptodev.c                                  |  5 +++--
 sys/rump/librump/rumpvfs/devnull.c                          |  5 +++--
 sys/rump/librump/rumpvfs/rumpblk.c                          |  5 +++--
 sys/uvm/uvm_swap.c                                          |  5 +++--
 315 files changed, 946 insertions(+), 620 deletions(-)

diffs (truncated from 8197 to 300 lines):

diff -r 79b358af13be -r 465aa4f5da2f sys/altq/altq_conf.c
--- a/sys/altq/altq_conf.c      Fri Jul 25 08:02:18 2014 +0000
+++ b/sys/altq/altq_conf.c      Fri Jul 25 08:10:31 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: altq_conf.c,v 1.20 2014/03/16 05:20:22 dholland Exp $  */
+/*     $NetBSD: altq_conf.c,v 1.21 2014/07/25 08:10:31 dholland Exp $  */
 /*     $KAME: altq_conf.c,v 1.24 2005/04/13 03:44:24 suz Exp $ */
 
 /*
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: altq_conf.c,v 1.20 2014/03/16 05:20:22 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: altq_conf.c,v 1.21 2014/07/25 08:10:31 dholland Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_altq.h"
@@ -178,6 +178,7 @@
        .d_poll = nopoll,
        .d_mmap = nommap,
        .d_kqfilter = nokqfilter,
+       .d_discard = nodiscard,
        .d_flag = D_OTHER,
 };
 
diff -r 79b358af13be -r 465aa4f5da2f sys/arch/acorn26/ioc/arcpp.c
--- a/sys/arch/acorn26/ioc/arcpp.c      Fri Jul 25 08:02:18 2014 +0000
+++ b/sys/arch/acorn26/ioc/arcpp.c      Fri Jul 25 08:10:31 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arcpp.c,v 1.13 2014/03/16 05:20:22 dholland Exp $ */
+/* $NetBSD: arcpp.c,v 1.14 2014/07/25 08:10:31 dholland Exp $ */
 
 /*-
  * Copyright (c) 2001 Ben Harris
@@ -52,7 +52,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: arcpp.c,v 1.13 2014/03/16 05:20:22 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arcpp.c,v 1.14 2014/07/25 08:10:31 dholland Exp $");
 
 #include <sys/conf.h>
 #include <sys/device.h>
@@ -119,6 +119,7 @@
        .d_poll = nopoll,
        .d_mmap = nommap,
        .d_kqfilter = nokqfilter,
+       .d_discard = nodiscard,
        .d_flag = 0
 };
 
diff -r 79b358af13be -r 465aa4f5da2f sys/arch/acorn32/mainbus/fd.c
--- a/sys/arch/acorn32/mainbus/fd.c     Fri Jul 25 08:02:18 2014 +0000
+++ b/sys/arch/acorn32/mainbus/fd.c     Fri Jul 25 08:10:31 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fd.c,v 1.54 2014/07/25 08:02:18 dholland Exp $ */
+/*     $NetBSD: fd.c,v 1.55 2014/07/25 08:10:31 dholland Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -82,7 +82,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.54 2014/07/25 08:02:18 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.55 2014/07/25 08:10:31 dholland Exp $");
 
 #include "opt_ddb.h"
 
@@ -289,6 +289,7 @@
        .d_poll = nopoll,
        .d_mmap = nommap,
        .d_kqfilter = nokqfilter,
+       .d_discard = nodiscard,
        .d_flag = D_DISK
 };
 
diff -r 79b358af13be -r 465aa4f5da2f sys/arch/alpha/alpha/promcons.c
--- a/sys/arch/alpha/alpha/promcons.c   Fri Jul 25 08:02:18 2014 +0000
+++ b/sys/arch/alpha/alpha/promcons.c   Fri Jul 25 08:10:31 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: promcons.c,v 1.38 2014/03/16 05:20:22 dholland Exp $ */
+/* $NetBSD: promcons.c,v 1.39 2014/07/25 08:10:31 dholland Exp $ */
 
 /*
  * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@@ -29,7 +29,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: promcons.c,v 1.38 2014/03/16 05:20:22 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: promcons.c,v 1.39 2014/07/25 08:10:31 dholland Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -73,6 +73,7 @@
        .d_poll = prompoll,
        .d_mmap = nommap,
        .d_kqfilter = ttykqfilter,
+       .d_discard = nodiscard,
        .d_flag = D_TTY
 };
 
@@ -275,6 +276,7 @@
        .d_poll = nopoll,
        .d_mmap = nommap,
        .d_kqfilter = nokqfilter,
+       .d_discard = nodiscard,
        .d_flag = 0
 };
 
diff -r 79b358af13be -r 465aa4f5da2f sys/arch/amiga/dev/fd.c
--- a/sys/arch/amiga/dev/fd.c   Fri Jul 25 08:02:18 2014 +0000
+++ b/sys/arch/amiga/dev/fd.c   Fri Jul 25 08:10:31 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fd.c,v 1.90 2014/07/25 08:02:18 dholland Exp $ */
+/*     $NetBSD: fd.c,v 1.91 2014/07/25 08:10:31 dholland Exp $ */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.90 2014/07/25 08:02:18 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.91 2014/07/25 08:10:31 dholland Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -275,6 +275,7 @@
        .d_poll = nopoll,
        .d_mmap = nommap,
        .d_kqfilter = nokqfilter,
+       .d_discard = nodiscard,
        .d_flag = D_DISK
 };
 
diff -r 79b358af13be -r 465aa4f5da2f sys/arch/amiga/dev/grf.c
--- a/sys/arch/amiga/dev/grf.c  Fri Jul 25 08:02:18 2014 +0000
+++ b/sys/arch/amiga/dev/grf.c  Fri Jul 25 08:10:31 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: grf.c,v 1.61 2014/03/29 12:54:27 mlelstv Exp $ */
+/*     $NetBSD: grf.c,v 1.62 2014/07/25 08:10:31 dholland Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: grf.c,v 1.61 2014/03/29 12:54:27 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: grf.c,v 1.62 2014/07/25 08:10:31 dholland Exp $");
 
 /*
  * Graphics display driver for the Amiga
@@ -126,6 +126,7 @@
        .d_poll = nopoll,
        .d_mmap = grfmmap,
        .d_kqfilter = nokqfilter,
+       .d_discard = nodiscard,
        .d_flag = 0
 };
 
diff -r 79b358af13be -r 465aa4f5da2f sys/arch/amiga/dev/ite.c
--- a/sys/arch/amiga/dev/ite.c  Fri Jul 25 08:02:18 2014 +0000
+++ b/sys/arch/amiga/dev/ite.c  Fri Jul 25 08:10:31 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ite.c,v 1.97 2014/03/22 01:52:44 christos Exp $ */
+/*     $NetBSD: ite.c,v 1.98 2014/07/25 08:10:31 dholland Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -46,7 +46,7 @@
 #include "opt_ddb.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.97 2014/03/22 01:52:44 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.98 2014/07/25 08:10:31 dholland Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -172,6 +172,7 @@
        .d_poll = itepoll,
        .d_mmap = nommap,
        .d_kqfilter = ttykqfilter,
+       .d_discard = nodiscard,
        .d_flag = D_TTY
 };
 
diff -r 79b358af13be -r 465aa4f5da2f sys/arch/amiga/dev/kbd.c
--- a/sys/arch/amiga/dev/kbd.c  Fri Jul 25 08:02:18 2014 +0000
+++ b/sys/arch/amiga/dev/kbd.c  Fri Jul 25 08:10:31 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kbd.c,v 1.56 2014/03/16 05:20:22 dholland Exp $ */
+/*     $NetBSD: kbd.c,v 1.57 2014/07/25 08:10:31 dholland Exp $ */
 
 /*
  * Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kbd.c,v 1.56 2014/03/16 05:20:22 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kbd.c,v 1.57 2014/07/25 08:10:31 dholland Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -181,6 +181,7 @@
        .d_poll = kbdpoll,
        .d_mmap = nommap,
        .d_kqfilter = kbdkqfilter,
+       .d_discard = nodiscard,
        .d_flag = 0
 };
 
diff -r 79b358af13be -r 465aa4f5da2f sys/arch/amiga/dev/mfc.c
--- a/sys/arch/amiga/dev/mfc.c  Fri Jul 25 08:02:18 2014 +0000
+++ b/sys/arch/amiga/dev/mfc.c  Fri Jul 25 08:10:31 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mfc.c,v 1.56 2014/03/16 05:20:22 dholland Exp $ */
+/*     $NetBSD: mfc.c,v 1.57 2014/07/25 08:10:31 dholland Exp $ */
 
 /*
  * Copyright (c) 1982, 1990 The Regents of the University of California.
@@ -55,7 +55,7 @@
 #include "opt_kgdb.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mfc.c,v 1.56 2014/03/16 05:20:22 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mfc.c,v 1.57 2014/07/25 08:10:31 dholland Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -258,6 +258,7 @@
        .d_poll = mfcspoll,
        .d_mmap = nommap,
        .d_kqfilter = ttykqfilter,
+       .d_discard = nodiscard,
        .d_flag = D_TTY
 };
 
diff -r 79b358af13be -r 465aa4f5da2f sys/arch/amiga/dev/ms.c
--- a/sys/arch/amiga/dev/ms.c   Fri Jul 25 08:02:18 2014 +0000
+++ b/sys/arch/amiga/dev/ms.c   Fri Jul 25 08:10:31 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ms.c,v 1.38 2014/03/16 05:20:22 dholland Exp $ */
+/*     $NetBSD: ms.c,v 1.39 2014/07/25 08:10:31 dholland Exp $ */
 
 /*
  * based on:
@@ -45,7 +45,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ms.c,v 1.38 2014/03/16 05:20:22 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ms.c,v 1.39 2014/07/25 08:10:31 dholland Exp $");
 
 /*
  * Mouse driver.
@@ -141,6 +141,7 @@
        .d_poll = mspoll,
        .d_mmap = nommap,
        .d_kqfilter = mskqfilter,
+       .d_discard = nodiscard,
        .d_flag = 0
 };
 
diff -r 79b358af13be -r 465aa4f5da2f sys/arch/amiga/dev/msc.c
--- a/sys/arch/amiga/dev/msc.c  Fri Jul 25 08:02:18 2014 +0000
+++ b/sys/arch/amiga/dev/msc.c  Fri Jul 25 08:10:31 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msc.c,v 1.46 2014/03/16 05:20:22 dholland Exp $ */
+/*     $NetBSD: msc.c,v 1.47 2014/07/25 08:10:31 dholland Exp $ */
 
 /*
  * Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@@ -93,7 +93,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: msc.c,v 1.46 2014/03/16 05:20:22 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: msc.c,v 1.47 2014/07/25 08:10:31 dholland Exp $");
 
 #include "msc.h"
 
@@ -236,6 +236,7 @@
        .d_poll = mscpoll,
        .d_mmap = nommap,
        .d_kqfilter = ttykqfilter,
+       .d_discard = nodiscard,
        .d_flag = D_TTY
 };
 
diff -r 79b358af13be -r 465aa4f5da2f sys/arch/amiga/dev/par.c
--- a/sys/arch/amiga/dev/par.c  Fri Jul 25 08:02:18 2014 +0000
+++ b/sys/arch/amiga/dev/par.c  Fri Jul 25 08:10:31 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: par.c,v 1.39 2014/03/16 05:20:22 dholland Exp $ */
+/*     $NetBSD: par.c,v 1.40 2014/07/25 08:10:31 dholland Exp $ */



Home | Main Index | Thread Index | Old Index