Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Don't pull in the whole uvm(9) API to access only PA...
details: https://anonhg.NetBSD.org/src/rev/f3d351a2aa32
branches: trunk
changeset: 758706:f3d351a2aa32
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Sat Nov 13 13:51:57 2010 +0000
description:
Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants. These are provided by sys/param.h now.
diffstat:
sys/dev/bi/if_ni.c | 6 ++----
sys/dev/cardbus/siisata_cardbus.c | 6 ++----
sys/dev/dmover/dmover_io.c | 6 ++----
sys/dev/eisa/ahb.c | 6 ++----
sys/dev/hpc/bivideo.c | 6 ++----
sys/dev/hpc/hpcfb.c | 6 ++----
sys/dev/i2c/dbcool.c | 6 ++----
sys/dev/i2c/sgsmix.c | 6 ++----
sys/dev/i2o/dpti.c | 6 ++----
sys/dev/i2o/iop.c | 6 ++----
sys/dev/ic/aac.c | 6 ++----
sys/dev/ic/adv.c | 6 ++----
sys/dev/ic/advlib.c | 6 ++----
sys/dev/ic/adw.c | 6 ++----
sys/dev/ic/adwlib.c | 6 ++----
sys/dev/ic/aha.c | 6 ++----
sys/dev/ic/ahcisata_core.c | 6 ++----
sys/dev/ic/aic6915.c | 6 ++----
sys/dev/ic/aic79xx_osm.h | 8 +++-----
sys/dev/ic/aic7xxx_osm.h | 4 +---
sys/dev/ic/bha.c | 6 ++----
sys/dev/ic/bt463.c | 6 ++----
sys/dev/ic/bt485.c | 6 ++----
sys/dev/ic/cac.c | 6 ++----
sys/dev/ic/ciss.c | 6 ++----
sys/dev/ic/cs89x0.c | 6 ++----
sys/dev/ic/dp83932.c | 6 ++----
sys/dev/ic/dpt.c | 6 ++----
sys/dev/ic/elinkxl.c | 6 ++----
sys/dev/ic/esiop.c | 6 ++----
sys/dev/ic/gem.c | 6 ++----
sys/dev/ic/hd44780_subr.c | 6 ++----
sys/dev/ic/ibm561.c | 6 ++----
sys/dev/ic/icp.c | 6 ++----
sys/dev/ic/icpsp.c | 6 ++----
sys/dev/ic/iha.c | 6 ++----
sys/dev/ic/ld_aac.c | 6 ++----
sys/dev/ic/ld_icp.c | 6 ++----
sys/dev/ic/lemac.c | 6 ++----
sys/dev/ic/lsi64854.c | 6 ++----
sys/dev/ic/mlx.c | 6 ++----
sys/dev/ic/mpt_netbsd.h | 4 +---
sys/dev/ic/ninjaata32.c | 6 ++----
sys/dev/ic/ninjascsi32.c | 6 ++----
sys/dev/ic/oosiop.c | 6 ++----
sys/dev/ic/osiop.c | 6 ++----
sys/dev/ic/pdqvar.h | 4 +---
sys/dev/ic/rtl81x9.c | 6 ++----
sys/dev/ic/rtw.c | 6 ++----
sys/dev/ic/sgec.c | 6 ++----
sys/dev/ic/siop.c | 6 ++----
sys/dev/ic/siop_common.c | 6 ++----
sys/dev/ic/smc83c170.c | 6 ++----
sys/dev/ic/smc91cxx.c | 6 ++----
sys/dev/ic/tulip.c | 6 ++----
sys/dev/ic/uha.c | 6 ++----
sys/dev/ic/wd33c93.c | 6 ++----
sys/dev/isa/fd.c | 6 ++----
sys/dev/isa/if_le_isa.c | 6 ++----
sys/dev/isa/isadma.c | 6 ++----
sys/dev/isa/wds.c | 6 ++----
sys/dev/isapnp/if_le_isapnp.c | 6 ++----
sys/dev/marvell/gtmpsc.c | 6 ++----
sys/dev/marvell/if_gfe.c | 6 ++----
sys/dev/mca/if_le_mca.c | 6 ++----
sys/dev/mvme/if_ie_mvme.c | 6 ++----
sys/dev/pci/agp.c | 6 ++----
sys/dev/pci/agp_ali.c | 6 ++----
sys/dev/pci/agp_amd.c | 6 ++----
sys/dev/pci/agp_amd64.c | 4 +---
sys/dev/pci/agp_apple.c | 6 ++----
sys/dev/pci/agp_i810.c | 6 ++----
sys/dev/pci/agp_intel.c | 6 ++----
sys/dev/pci/agp_sis.c | 6 ++----
sys/dev/pci/agp_via.c | 6 ++----
sys/dev/pci/ahcisata_pci.c | 6 ++----
sys/dev/pci/amr.c | 6 ++----
sys/dev/pci/arcmsr.c | 6 ++----
sys/dev/pci/atppc_puc.c | 5 ++---
sys/dev/pci/auacer.c | 6 ++----
sys/dev/pci/auich.c | 6 ++----
sys/dev/pci/auvia.c | 6 ++----
sys/dev/pci/bktr/bktr_core.c | 5 ++---
sys/dev/pci/chipsfb.c | 6 ++----
sys/dev/pci/esiop_pci.c | 6 ++----
sys/dev/pci/fms.c | 6 ++----
sys/dev/pci/gcscaudio.c | 6 ++----
sys/dev/pci/geodeide.c | 6 ++----
sys/dev/pci/hifn7751.c | 7 ++-----
sys/dev/pci/icp_pci.c | 6 ++----
sys/dev/pci/if_bce.c | 6 ++----
sys/dev/pci/if_bge.c | 5 ++---
sys/dev/pci/if_cas.c | 6 ++----
sys/dev/pci/if_de.c | 9 ++-------
sys/dev/pci/if_dge.c | 6 ++----
sys/dev/pci/if_gem_pci.c | 6 ++----
sys/dev/pci/if_jme.c | 5 ++---
sys/dev/pci/if_le_pci.c | 6 ++----
sys/dev/pci/if_lmc.c | 5 ++---
sys/dev/pci/if_pcn.c | 6 ++----
sys/dev/pci/if_sip.c | 6 ++----
sys/dev/pci/if_ste.c | 6 ++----
sys/dev/pci/if_stge.c | 6 ++----
sys/dev/pci/if_ti.c | 6 ++----
sys/dev/pci/if_tl.c | 5 ++---
sys/dev/pci/if_txp.c | 5 ++---
sys/dev/pci/if_vr.c | 6 ++----
sys/dev/pci/if_wm.c | 6 ++----
sys/dev/pci/iha_pci.c | 6 ++----
sys/dev/pci/isp_pci.c | 5 ++---
sys/dev/pci/ld_amr.c | 6 ++----
sys/dev/pci/ld_twa.c | 6 ++----
sys/dev/pci/ld_twe.c | 6 ++----
sys/dev/pci/mly.c | 6 ++----
sys/dev/pci/n8/common/config.c | 4 +---
sys/dev/pci/n8/nsp.c | 2 --
sys/dev/pci/oboe.c | 5 ++---
sys/dev/pci/pci.c | 6 ++----
sys/dev/pci/pciide_common.c | 6 ++----
sys/dev/pci/pcscp.c | 6 ++----
sys/dev/pci/pm2fb.c | 6 ++----
sys/dev/pci/r128fb.c | 6 ++----
sys/dev/pci/siisata_pci.c | 6 ++----
sys/dev/pci/siop_pci.c | 6 ++----
sys/dev/pci/siop_pci_common.c | 6 ++----
sys/dev/pci/tga.c | 6 ++----
sys/dev/pci/trm.c | 6 ++----
sys/dev/pci/twa.c | 6 ++----
sys/dev/pci/twe.c | 6 ++----
sys/dev/pci/ubsec.c | 6 ++----
sys/dev/pci/voodoofb.c | 6 ++----
sys/dev/pci/voyagerfb.c | 6 ++----
sys/dev/qbus/if_uba.c | 6 ++----
sys/dev/qbus/qd.c | 6 ++----
sys/dev/qbus/uba.c | 6 ++----
sys/dev/raidframe/rf_general.h | 3 +--
sys/dev/sbus/agten.c | 6 ++----
sys/dev/sbus/zx.c | 6 ++----
sys/dev/scsipi/scsipi_base.c | 6 ++----
sys/dev/sdmmc/ld_sdmmc.c | 6 ++----
sys/dev/sdmmc/sdmmc_mem.c | 6 ++----
sys/dev/sun/bt_subr.c | 6 ++----
sys/dev/sun/cgsix.c | 6 ++----
sys/dev/tc/asc_tcds.c | 6 ++----
sys/dev/tc/cfb.c | 6 ++----
sys/dev/tc/mfb.c | 6 ++----
sys/dev/tc/sfb.c | 6 ++----
sys/dev/tc/sfbplus.c | 6 ++----
sys/dev/tc/stic.c | 6 ++----
sys/dev/tc/tfb.c | 6 ++----
sys/dev/tc/xcfb.c | 6 ++----
sys/dev/usb/ohci.c | 5 ++---
sys/dev/usb/pseye.c | 6 ++----
sys/dev/usb/uhci.c | 5 ++---
sys/dev/usb/usb_mem.c | 5 ++---
sys/dev/xmi/xmi.c | 6 ++----
156 files changed, 305 insertions(+), 608 deletions(-)
diffs (truncated from 4131 to 300 lines):
diff -r 582dcaa9d695 -r f3d351a2aa32 sys/dev/bi/if_ni.c
--- a/sys/dev/bi/if_ni.c Sat Nov 13 13:34:00 2010 +0000
+++ b/sys/dev/bi/if_ni.c Sat Nov 13 13:51:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ni.c,v 1.39 2010/04/05 07:19:32 joerg Exp $ */
+/* $NetBSD: if_ni.c,v 1.40 2010/11/13 13:51:57 uebayasi Exp $ */
/*
* Copyright (c) 2000 Ludd, University of Lule}, Sweden. All rights reserved.
*
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ni.c,v 1.39 2010/04/05 07:19:32 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ni.c,v 1.40 2010/11/13 13:51:57 uebayasi Exp $");
#include "opt_inet.h"
@@ -48,8 +48,6 @@
#include <sys/sockio.h>
#include <sys/sched.h>
-#include <uvm/uvm_extern.h>
-
#include <net/if.h>
#include <net/if_ether.h>
#include <net/if_dl.h>
diff -r 582dcaa9d695 -r f3d351a2aa32 sys/dev/cardbus/siisata_cardbus.c
--- a/sys/dev/cardbus/siisata_cardbus.c Sat Nov 13 13:34:00 2010 +0000
+++ b/sys/dev/cardbus/siisata_cardbus.c Sat Nov 13 13:51:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: siisata_cardbus.c,v 1.13 2010/04/01 05:58:52 dyoung Exp $ */
+/* $NetBSD: siisata_cardbus.c,v 1.14 2010/11/13 13:51:58 uebayasi Exp $ */
/* Id: siisata_pci.c,v 1.11 2008/05/21 16:20:11 jakllsch Exp */
/*
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: siisata_cardbus.c,v 1.13 2010/04/01 05:58:52 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: siisata_cardbus.c,v 1.14 2010/11/13 13:51:58 uebayasi Exp $");
#include <sys/types.h>
#include <sys/malloc.h>
@@ -60,8 +60,6 @@
#include <sys/kernel.h>
#include <sys/systm.h>
-#include <uvm/uvm_extern.h>
-
#include <dev/cardbus/cardbusvar.h>
#include <dev/pci/pcidevs.h>
#include <dev/ic/siisatavar.h>
diff -r 582dcaa9d695 -r f3d351a2aa32 sys/dev/dmover/dmover_io.c
--- a/sys/dev/dmover/dmover_io.c Sat Nov 13 13:34:00 2010 +0000
+++ b/sys/dev/dmover/dmover_io.c Sat Nov 13 13:51:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dmover_io.c,v 1.37 2009/12/20 09:36:05 dsl Exp $ */
+/* $NetBSD: dmover_io.c,v 1.38 2010/11/13 13:51:58 uebayasi Exp $ */
/*
* Copyright (c) 2002, 2003 Wasabi Systems, Inc.
@@ -55,7 +55,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dmover_io.c,v 1.37 2009/12/20 09:36:05 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dmover_io.c,v 1.38 2010/11/13 13:51:58 uebayasi Exp $");
#include <sys/param.h>
#include <sys/queue.h>
@@ -75,8 +75,6 @@
#include <sys/stat.h>
#include <sys/kauth.h>
-#include <uvm/uvm_extern.h>
-
#include <dev/dmover/dmovervar.h>
#include <dev/dmover/dmover_io.h>
diff -r 582dcaa9d695 -r f3d351a2aa32 sys/dev/eisa/ahb.c
--- a/sys/dev/eisa/ahb.c Sat Nov 13 13:34:00 2010 +0000
+++ b/sys/dev/eisa/ahb.c Sat Nov 13 13:51:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ahb.c,v 1.58 2009/12/04 11:13:04 njoly Exp $ */
+/* $NetBSD: ahb.c,v 1.59 2010/11/13 13:51:58 uebayasi Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ahb.c,v 1.58 2009/12/04 11:13:04 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ahb.c,v 1.59 2010/11/13 13:51:58 uebayasi Exp $");
#include "opt_ddb.h"
@@ -62,8 +62,6 @@
#include <sys/buf.h>
#include <sys/proc.h>
-#include <uvm/uvm_extern.h>
-
#include <sys/bus.h>
#include <sys/intr.h>
diff -r 582dcaa9d695 -r f3d351a2aa32 sys/dev/hpc/bivideo.c
--- a/sys/dev/hpc/bivideo.c Sat Nov 13 13:34:00 2010 +0000
+++ b/sys/dev/hpc/bivideo.c Sat Nov 13 13:51:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bivideo.c,v 1.31 2010/08/01 02:47:43 tsutsui Exp $ */
+/* $NetBSD: bivideo.c,v 1.32 2010/11/13 13:51:58 uebayasi Exp $ */
/*-
* Copyright (c) 1999-2001
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bivideo.c,v 1.31 2010/08/01 02:47:43 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bivideo.c,v 1.32 2010/11/13 13:51:58 uebayasi Exp $");
#ifdef _KERNEL_OPT
#include "opt_hpcfb.h"
@@ -48,8 +48,6 @@
#include <sys/ioctl.h>
#include <sys/reboot.h>
-#include <uvm/uvm_extern.h>
-
#include <sys/bus.h>
#include <machine/autoconf.h>
#include <machine/bootinfo.h>
diff -r 582dcaa9d695 -r f3d351a2aa32 sys/dev/hpc/hpcfb.c
--- a/sys/dev/hpc/hpcfb.c Sat Nov 13 13:34:00 2010 +0000
+++ b/sys/dev/hpc/hpcfb.c Sat Nov 13 13:51:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hpcfb.c,v 1.57 2010/08/01 02:43:12 tsutsui Exp $ */
+/* $NetBSD: hpcfb.c,v 1.58 2010/11/13 13:51:59 uebayasi Exp $ */
/*-
* Copyright (c) 1999
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hpcfb.c,v 1.57 2010/08/01 02:43:12 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hpcfb.c,v 1.58 2010/11/13 13:51:59 uebayasi Exp $");
#ifdef _KERNEL_OPT
#include "opt_hpcfb.h"
@@ -61,8 +61,6 @@
#include <sys/buf.h>
#include <sys/ioctl.h>
-#include <uvm/uvm_extern.h>
-
#include <sys/bus.h>
#include <dev/wscons/wsconsio.h>
diff -r 582dcaa9d695 -r f3d351a2aa32 sys/dev/i2c/dbcool.c
--- a/sys/dev/i2c/dbcool.c Sat Nov 13 13:34:00 2010 +0000
+++ b/sys/dev/i2c/dbcool.c Sat Nov 13 13:51:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dbcool.c,v 1.25 2010/08/17 23:36:51 pgoyette Exp $ */
+/* $NetBSD: dbcool.c,v 1.26 2010/11/13 13:51:59 uebayasi Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dbcool.c,v 1.25 2010/08/17 23:36:51 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dbcool.c,v 1.26 2010/11/13 13:51:59 uebayasi Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -58,8 +58,6 @@
#include <sys/malloc.h>
#include <sys/sysctl.h>
-#include <uvm/uvm_extern.h>
-
#include <dev/i2c/dbcool_var.h>
#include <dev/i2c/dbcool_reg.h>
diff -r 582dcaa9d695 -r f3d351a2aa32 sys/dev/i2c/sgsmix.c
--- a/sys/dev/i2c/sgsmix.c Sat Nov 13 13:34:00 2010 +0000
+++ b/sys/dev/i2c/sgsmix.c Sat Nov 13 13:51:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sgsmix.c,v 1.6 2008/08/01 19:33:07 macallan Exp $ */
+/* $NetBSD: sgsmix.c,v 1.7 2010/11/13 13:51:59 uebayasi Exp $ */
/*-
* Copyright (C) 2005 Michael Lorenz.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sgsmix.c,v 1.6 2008/08/01 19:33:07 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sgsmix.c,v 1.7 2010/11/13 13:51:59 uebayasi Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -40,8 +40,6 @@
#include <sys/malloc.h>
#include <sys/sysctl.h>
-#include <uvm/uvm_extern.h>
-
#include <dev/i2c/i2cvar.h>
#include <dev/i2c/sgsmixvar.h>
diff -r 582dcaa9d695 -r f3d351a2aa32 sys/dev/i2o/dpti.c
--- a/sys/dev/i2o/dpti.c Sat Nov 13 13:34:00 2010 +0000
+++ b/sys/dev/i2o/dpti.c Sat Nov 13 13:51:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dpti.c,v 1.42 2009/05/12 14:23:47 cegger Exp $ */
+/* $NetBSD: dpti.c,v 1.43 2010/11/13 13:51:59 uebayasi Exp $ */
/*-
* Copyright (c) 2001, 2007 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dpti.c,v 1.42 2009/05/12 14:23:47 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dpti.c,v 1.43 2010/11/13 13:51:59 uebayasi Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -71,8 +71,6 @@
#include <sys/ioctl.h>
#include <sys/kauth.h>
-#include <uvm/uvm_extern.h>
-
#include <sys/bus.h>
#ifdef __i386__
#include <machine/pio.h>
diff -r 582dcaa9d695 -r f3d351a2aa32 sys/dev/i2o/iop.c
--- a/sys/dev/i2o/iop.c Sat Nov 13 13:34:00 2010 +0000
+++ b/sys/dev/i2o/iop.c Sat Nov 13 13:51:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iop.c,v 1.80 2010/02/21 18:50:10 bouyer Exp $ */
+/* $NetBSD: iop.c,v 1.81 2010/11/13 13:51:59 uebayasi Exp $ */
/*-
* Copyright (c) 2000, 2001, 2002, 2007 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: iop.c,v 1.80 2010/02/21 18:50:10 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: iop.c,v 1.81 2010/11/13 13:51:59 uebayasi Exp $");
#include "iop.h"
@@ -52,8 +52,6 @@
#include <sys/kauth.h>
#include <sys/bus.h>
-#include <uvm/uvm_extern.h>
-
#include <dev/i2o/i2o.h>
#include <dev/i2o/iopio.h>
#include <dev/i2o/iopreg.h>
diff -r 582dcaa9d695 -r f3d351a2aa32 sys/dev/ic/aac.c
--- a/sys/dev/ic/aac.c Sat Nov 13 13:34:00 2010 +0000
+++ b/sys/dev/ic/aac.c Sat Nov 13 13:51:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aac.c,v 1.42 2008/12/16 22:35:29 christos Exp $ */
+/* $NetBSD: aac.c,v 1.43 2010/11/13 13:51:59 uebayasi Exp $ */
/*-
* Copyright (c) 2002, 2007 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aac.c,v 1.42 2008/12/16 22:35:29 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aac.c,v 1.43 2010/11/13 13:51:59 uebayasi Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -82,8 +82,6 @@
#include <sys/bus.h>
-#include <uvm/uvm_extern.h>
-
#include <dev/ic/aacreg.h>
#include <dev/ic/aacvar.h>
#include <dev/ic/aac_tables.h>
diff -r 582dcaa9d695 -r f3d351a2aa32 sys/dev/ic/adv.c
--- a/sys/dev/ic/adv.c Sat Nov 13 13:34:00 2010 +0000
+++ b/sys/dev/ic/adv.c Sat Nov 13 13:51:57 2010 +0000
Home |
Main Index |
Thread Index |
Old Index