Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Convert sys/dev to use <sys/rndsource.h>.
details: https://anonhg.NetBSD.org/src/rev/f1721d2e76e4
branches: trunk
changeset: 337373:f1721d2e76e4
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Apr 13 16:33:23 2015 +0000
description:
Convert sys/dev to use <sys/rndsource.h>.
diffstat:
sys/dev/acpi/fdc_acpi.c | 6 ++----
sys/dev/ata/ld_ataraid.c | 5 ++---
sys/dev/ata/wd.c | 6 +++---
sys/dev/ata/wdvar.h | 4 ++--
sys/dev/cardbus/if_fxp_cardbus.c | 6 ++----
sys/dev/cardbus/if_rtk_cardbus.c | 6 ++----
sys/dev/cardbus/rbus_ppb.c | 6 ++----
sys/dev/gpib/rd.c | 6 +++---
sys/dev/i2o/ld_iop.c | 5 ++---
sys/dev/ic/am7990.c | 6 +++---
sys/dev/ic/am79900.c | 6 +++---
sys/dev/ic/com.c | 8 +++-----
sys/dev/ic/comvar.h | 5 ++---
sys/dev/ic/cs89x0.c | 6 +++---
sys/dev/ic/cs89x0var.h | 4 +++-
sys/dev/ic/dp8390.c | 6 +++---
sys/dev/ic/dp8390var.h | 4 ++--
sys/dev/ic/elink3.c | 6 +++---
sys/dev/ic/elink3var.h | 4 ++--
sys/dev/ic/elinkxl.c | 6 +++---
sys/dev/ic/elinkxlvar.h | 4 ++--
sys/dev/ic/gemvar.h | 4 ++--
sys/dev/ic/hme.c | 6 +++---
sys/dev/ic/hmevar.h | 6 ++----
sys/dev/ic/i82557.c | 6 +++---
sys/dev/ic/i82557var.h | 3 ++-
sys/dev/ic/lan9118.c | 6 +++---
sys/dev/ic/lan9118var.h | 4 ++--
sys/dev/ic/lance.c | 6 +++---
sys/dev/ic/lancevar.h | 4 ++--
sys/dev/ic/ld_aac.c | 5 ++---
sys/dev/ic/ld_cac.c | 5 ++---
sys/dev/ic/ld_icp.c | 5 ++---
sys/dev/ic/ld_mlx.c | 5 ++---
sys/dev/ic/lemac.c | 6 +++---
sys/dev/ic/lemacvar.h | 5 ++---
sys/dev/ic/mb86950.c | 6 +++---
sys/dev/ic/mb86960.c | 6 +++---
sys/dev/ic/mb86960var.h | 4 ++--
sys/dev/ic/mtd803var.h | 4 ++--
sys/dev/ic/pckbc.c | 6 +++---
sys/dev/ic/pckbcvar.h | 6 +-----
sys/dev/ic/rtl8169.c | 6 +++---
sys/dev/ic/rtl81x9.c | 6 +++---
sys/dev/ic/rtl81x9var.h | 4 ++--
sys/dev/ic/seeq8005.c | 6 +++---
sys/dev/ic/seeq8005var.h | 4 ++--
sys/dev/ic/smc91cxx.c | 6 +++---
sys/dev/ic/smc91cxxvar.h | 4 ++--
sys/dev/ic/tulipvar.h | 4 ++--
sys/dev/isa/cs89x0isa.c | 6 ++----
sys/dev/isa/fd.c | 6 +++---
sys/dev/isa/fdc_isa.c | 5 ++---
sys/dev/isa/fdvar.h | 4 ++--
sys/dev/isa/if_cs_isa.c | 6 ++----
sys/dev/isa/if_eg.c | 6 +++---
sys/dev/isa/if_el.c | 6 +++---
sys/dev/isa/if_iy.c | 6 +++---
sys/dev/isa/if_tscs_isa.c | 6 ++----
sys/dev/isapnp/if_cs_isapnp.c | 6 ++----
sys/dev/iscsi/iscsi_globals.h | 3 +--
sys/dev/iscsi/iscsi_test.c | 4 +++-
sys/dev/ld.c | 6 +++---
sys/dev/ldvar.h | 4 ++--
sys/dev/marvell/if_gfe.c | 6 +++---
sys/dev/marvell/if_mvgbe.c | 6 +++---
sys/dev/mca/ed_mca.c | 6 +++---
sys/dev/mca/edc_mca.c | 6 +++---
sys/dev/mca/if_tra_mca.c | 5 ++---
sys/dev/ofisa/if_cs_ofisa.c | 6 +++---
sys/dev/pci/amdpm.c | 7 ++++---
sys/dev/pci/amdpm_smbus.c | 5 ++---
sys/dev/pci/amdpmvar.h | 3 ++-
sys/dev/pci/auich.c | 6 +++---
sys/dev/pci/hifn7751.c | 7 ++++---
sys/dev/pci/if_age.c | 6 ++----
sys/dev/pci/if_alc.c | 2 --
sys/dev/pci/if_ale.c | 6 ++----
sys/dev/pci/if_bce.c | 6 +++---
sys/dev/pci/if_bge.c | 6 +++---
sys/dev/pci/if_cas.c | 6 +++---
sys/dev/pci/if_de.c | 6 +++---
sys/dev/pci/if_devar.h | 4 ++--
sys/dev/pci/if_dge.c | 6 +++---
sys/dev/pci/if_fxp_pci.c | 6 ++----
sys/dev/pci/if_jme.c | 6 +++---
sys/dev/pci/if_msk.c | 6 +++---
sys/dev/pci/if_mskvar.h | 4 ++--
sys/dev/pci/if_pcn.c | 6 +++---
sys/dev/pci/if_sip.c | 6 +++---
sys/dev/pci/if_sk.c | 6 +++---
sys/dev/pci/if_skvar.h | 4 ++--
sys/dev/pci/if_tl.c | 6 +++---
sys/dev/pci/if_tlvar.h | 4 ++--
sys/dev/pci/if_vr.c | 6 +++---
sys/dev/pci/if_vte.c | 6 +++---
sys/dev/pci/if_wm.c | 6 +++---
sys/dev/pci/if_xge.c | 6 ++----
sys/dev/pci/ld_amr.c | 5 ++---
sys/dev/pci/ld_twa.c | 5 ++---
sys/dev/pci/ld_twe.c | 5 ++---
sys/dev/pci/ld_virtio.c | 5 ++---
sys/dev/pci/n8/common/config.c | 3 +--
sys/dev/pci/n8/nsp.c | 1 -
sys/dev/pci/viornd.c | 4 ++--
sys/dev/pcmcia/if_cs_pcmcia.c | 6 ++----
sys/dev/pcmcia/if_xivar.h | 4 ++--
sys/dev/sbus/be.c | 5 ++---
sys/dev/sbus/qe.c | 5 ++---
sys/dev/scsipi/cd.c | 6 +++---
sys/dev/scsipi/sd.c | 7 +++----
sys/dev/scsipi/sdvar.h | 4 ++--
sys/dev/scsipi/stvar.h | 4 ++--
sys/dev/sdmmc/ld_sdmmc.c | 6 +++---
sys/dev/sysmon/sysmon_envsys.c | 6 +++---
sys/dev/sysmon/sysmon_power.c | 6 +++---
sys/dev/sysmon/sysmonvar.h | 4 ++--
sys/dev/usb/if_aue.c | 6 +++---
sys/dev/usb/if_axe.c | 6 +++---
sys/dev/usb/if_axen.c | 6 +++---
sys/dev/usb/if_cdce.c | 6 ++----
sys/dev/usb/if_cue.c | 6 +++---
sys/dev/usb/if_kue.c | 6 +++---
sys/dev/usb/if_smsc.c | 4 ++--
sys/dev/usb/if_udav.c | 6 +++---
sys/dev/usb/if_upl.c | 6 +++---
sys/dev/usb/if_url.c | 6 +++---
sys/dev/usb/ucom.c | 6 +++---
sys/dev/usb/uhidev.c | 5 +++--
sys/dev/usb/uhidev.h | 4 ++--
130 files changed, 320 insertions(+), 370 deletions(-)
diffs (truncated from 3158 to 300 lines):
diff -r b9f9129925b0 -r f1721d2e76e4 sys/dev/acpi/fdc_acpi.c
--- a/sys/dev/acpi/fdc_acpi.c Mon Apr 13 16:21:54 2015 +0000
+++ b/sys/dev/acpi/fdc_acpi.c Mon Apr 13 16:33:23 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdc_acpi.c,v 1.42 2012/02/02 19:43:02 tls Exp $ */
+/* $NetBSD: fdc_acpi.c,v 1.43 2015/04/13 16:33:23 riastradh Exp $ */
/*
* Copyright (c) 2002 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -31,15 +31,13 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdc_acpi.c,v 1.42 2012/02/02 19:43:02 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdc_acpi.c,v 1.43 2015/04/13 16:33:23 riastradh Exp $");
#include <sys/param.h>
#include <sys/device.h>
#include <sys/disk.h>
#include <sys/systm.h>
-#include <sys/rnd.h>
-
#include <dev/acpi/acpireg.h>
#include <dev/acpi/acpivar.h>
diff -r b9f9129925b0 -r f1721d2e76e4 sys/dev/ata/ld_ataraid.c
--- a/sys/dev/ata/ld_ataraid.c Mon Apr 13 16:21:54 2015 +0000
+++ b/sys/dev/ata/ld_ataraid.c Mon Apr 13 16:33:23 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ld_ataraid.c,v 1.39 2012/02/02 19:43:02 tls Exp $ */
+/* $NetBSD: ld_ataraid.c,v 1.40 2015/04/13 16:33:24 riastradh Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@@ -47,7 +47,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ld_ataraid.c,v 1.39 2012/02/02 19:43:02 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ld_ataraid.c,v 1.40 2015/04/13 16:33:24 riastradh Exp $");
#include "bio.h"
@@ -66,7 +66,6 @@
#include <sys/malloc.h>
#include <sys/vnode.h>
#include <sys/kauth.h>
-#include <sys/rnd.h>
#if NBIO > 0
#include <dev/ata/atavar.h>
#include <dev/ata/atareg.h>
diff -r b9f9129925b0 -r f1721d2e76e4 sys/dev/ata/wd.c
--- a/sys/dev/ata/wd.c Mon Apr 13 16:21:54 2015 +0000
+++ b/sys/dev/ata/wd.c Mon Apr 13 16:33:23 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wd.c,v 1.418 2015/01/02 19:42:06 christos Exp $ */
+/* $NetBSD: wd.c,v 1.419 2015/04/13 16:33:24 riastradh Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer. All rights reserved.
@@ -54,7 +54,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.418 2015/01/02 19:42:06 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wd.c,v 1.419 2015/04/13 16:33:24 riastradh Exp $");
#include "opt_ata.h"
@@ -76,7 +76,7 @@
#include <sys/proc.h>
#include <sys/reboot.h>
#include <sys/vnode.h>
-#include <sys/rnd.h>
+#include <sys/rndsource.h>
#include <sys/intr.h>
#include <sys/bus.h>
diff -r b9f9129925b0 -r f1721d2e76e4 sys/dev/ata/wdvar.h
--- a/sys/dev/ata/wdvar.h Mon Apr 13 16:21:54 2015 +0000
+++ b/sys/dev/ata/wdvar.h Mon Apr 13 16:33:23 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wdvar.h,v 1.41 2014/09/10 07:04:48 matt Exp $ */
+/* $NetBSD: wdvar.h,v 1.42 2015/04/13 16:33:24 riastradh Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer.
@@ -31,7 +31,7 @@
#include "opt_wd_softbadsect.h"
#endif
-#include <sys/rnd.h>
+#include <sys/rndsource.h>
struct wd_softc {
/* General disk infos */
diff -r b9f9129925b0 -r f1721d2e76e4 sys/dev/cardbus/if_fxp_cardbus.c
--- a/sys/dev/cardbus/if_fxp_cardbus.c Mon Apr 13 16:21:54 2015 +0000
+++ b/sys/dev/cardbus/if_fxp_cardbus.c Mon Apr 13 16:33:23 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_fxp_cardbus.c,v 1.50 2012/02/02 19:43:02 tls Exp $ */
+/* $NetBSD: if_fxp_cardbus.c,v 1.51 2015/04/13 16:33:24 riastradh Exp $ */
/*
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_fxp_cardbus.c,v 1.50 2012/02/02 19:43:02 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_fxp_cardbus.c,v 1.51 2015/04/13 16:33:24 riastradh Exp $");
#include "opt_inet.h"
@@ -48,8 +48,6 @@
#include <sys/errno.h>
#include <sys/device.h>
-#include <sys/rnd.h>
-
#include <net/if.h>
#include <net/if_dl.h>
#include <net/if_media.h>
diff -r b9f9129925b0 -r f1721d2e76e4 sys/dev/cardbus/if_rtk_cardbus.c
--- a/sys/dev/cardbus/if_rtk_cardbus.c Mon Apr 13 16:21:54 2015 +0000
+++ b/sys/dev/cardbus/if_rtk_cardbus.c Mon Apr 13 16:33:23 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_rtk_cardbus.c,v 1.47 2012/02/02 19:43:02 tls Exp $ */
+/* $NetBSD: if_rtk_cardbus.c,v 1.48 2015/04/13 16:33:24 riastradh Exp $ */
/*
* Copyright (c) 2000 Masanori Kanaoka
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_rtk_cardbus.c,v 1.47 2012/02/02 19:43:02 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rtk_cardbus.c,v 1.48 2015/04/13 16:33:24 riastradh Exp $");
#include "opt_inet.h"
@@ -60,8 +60,6 @@
#include <netinet/if_inarp.h>
#endif
-#include <sys/rnd.h>
-
#include <sys/bus.h>
#include <dev/pci/pcireg.h>
diff -r b9f9129925b0 -r f1721d2e76e4 sys/dev/cardbus/rbus_ppb.c
--- a/sys/dev/cardbus/rbus_ppb.c Mon Apr 13 16:21:54 2015 +0000
+++ b/sys/dev/cardbus/rbus_ppb.c Mon Apr 13 16:33:23 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rbus_ppb.c,v 1.43 2014/10/17 20:52:00 uebayasi Exp $ */
+/* $NetBSD: rbus_ppb.c,v 1.44 2015/04/13 16:33:24 riastradh Exp $ */
/*
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rbus_ppb.c,v 1.43 2014/10/17 20:52:00 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rbus_ppb.c,v 1.44 2015/04/13 16:33:24 riastradh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -47,8 +47,6 @@
#include <sys/device.h>
#include <sys/kmem.h>
-#include <sys/rnd.h>
-
#include <machine/endian.h>
#include <sys/bus.h>
diff -r b9f9129925b0 -r f1721d2e76e4 sys/dev/gpib/rd.c
--- a/sys/dev/gpib/rd.c Mon Apr 13 16:21:54 2015 +0000
+++ b/sys/dev/gpib/rd.c Mon Apr 13 16:33:23 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rd.c,v 1.39 2015/01/02 19:42:06 christos Exp $ */
+/* $NetBSD: rd.c,v 1.40 2015/04/13 16:33:24 riastradh Exp $ */
/*-
* Copyright (c) 1996-2003 The NetBSD Foundation, Inc.
@@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.39 2015/01/02 19:42:06 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rd.c,v 1.40 2015/04/13 16:33:24 riastradh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -89,7 +89,7 @@
#include <sys/proc.h>
#include <sys/stat.h>
-#include <sys/rnd.h>
+#include <sys/rndsource.h>
#include <dev/gpib/gpibvar.h>
#include <dev/gpib/cs80busvar.h>
diff -r b9f9129925b0 -r f1721d2e76e4 sys/dev/i2o/ld_iop.c
--- a/sys/dev/i2o/ld_iop.c Mon Apr 13 16:21:54 2015 +0000
+++ b/sys/dev/i2o/ld_iop.c Mon Apr 13 16:33:23 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ld_iop.c,v 1.34 2012/02/02 19:43:02 tls Exp $ */
+/* $NetBSD: ld_iop.c,v 1.35 2015/04/13 16:33:24 riastradh Exp $ */
/*-
* Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ld_iop.c,v 1.34 2012/02/02 19:43:02 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ld_iop.c,v 1.35 2015/04/13 16:33:24 riastradh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -48,7 +48,6 @@
#include <sys/dkio.h>
#include <sys/disk.h>
#include <sys/proc.h>
-#include <sys/rnd.h>
#include <sys/bus.h>
diff -r b9f9129925b0 -r f1721d2e76e4 sys/dev/ic/am7990.c
--- a/sys/dev/ic/am7990.c Mon Apr 13 16:21:54 2015 +0000
+++ b/sys/dev/ic/am7990.c Mon Apr 13 16:33:23 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: am7990.c,v 1.74 2012/02/02 19:43:02 tls Exp $ */
+/* $NetBSD: am7990.c,v 1.75 2015/04/13 16:33:24 riastradh Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: am7990.c,v 1.74 2012/02/02 19:43:02 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: am7990.c,v 1.75 2015/04/13 16:33:24 riastradh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -76,7 +76,7 @@
#include <sys/malloc.h>
#include <sys/ioctl.h>
#include <sys/errno.h>
-#include <sys/rnd.h>
+#include <sys/rndsource.h>
#include <net/if.h>
#include <net/if_dl.h>
diff -r b9f9129925b0 -r f1721d2e76e4 sys/dev/ic/am79900.c
--- a/sys/dev/ic/am79900.c Mon Apr 13 16:21:54 2015 +0000
+++ b/sys/dev/ic/am79900.c Mon Apr 13 16:33:23 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: am79900.c,v 1.23 2012/02/02 19:43:02 tls Exp $ */
+/* $NetBSD: am79900.c,v 1.24 2015/04/13 16:33:24 riastradh Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -103,7 +103,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: am79900.c,v 1.23 2012/02/02 19:43:02 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: am79900.c,v 1.24 2015/04/13 16:33:24 riastradh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -114,7 +114,7 @@
#include <sys/malloc.h>
#include <sys/ioctl.h>
#include <sys/errno.h>
-#include <sys/rnd.h>
+#include <sys/rndsource.h>
#include <net/if.h>
#include <net/if_dl.h>
diff -r b9f9129925b0 -r f1721d2e76e4 sys/dev/ic/com.c
--- a/sys/dev/ic/com.c Mon Apr 13 16:21:54 2015 +0000
+++ b/sys/dev/ic/com.c Mon Apr 13 16:33:23 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: com.c,v 1.332 2015/03/07 22:13:16 skrll Exp $ */
+/* $NetBSD: com.c,v 1.333 2015/04/13 16:33:24 riastradh Exp $ */
/*-
* Copyright (c) 1998, 1999, 2004, 2008 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.332 2015/03/07 22:13:16 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com.c,v 1.333 2015/04/13 16:33:24 riastradh Exp $");
Home |
Main Index |
Thread Index |
Old Index