Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci remove irrelevant pci(9) #includes from virtio c...



details:   https://anonhg.NetBSD.org/src/rev/f35c969d08ef
branches:  trunk
changeset: 323325:f35c969d08ef
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Sun Jun 10 14:59:23 2018 +0000

description:
remove irrelevant pci(9) #includes from virtio child drivers

diffstat:

 sys/dev/pci/if_vioif.c  |  7 ++-----
 sys/dev/pci/ld_virtio.c |  8 ++------
 sys/dev/pci/viomb.c     |  8 ++------
 sys/dev/pci/viornd.c    |  5 +----
 sys/dev/pci/vioscsi.c   |  8 ++------
 5 files changed, 9 insertions(+), 27 deletions(-)

diffs (134 lines):

diff -r 3d2faf4559f4 -r f35c969d08ef sys/dev/pci/if_vioif.c
--- a/sys/dev/pci/if_vioif.c    Sun Jun 10 14:43:07 2018 +0000
+++ b/sys/dev/pci/if_vioif.c    Sun Jun 10 14:59:23 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_vioif.c,v 1.39 2018/02/08 09:05:19 dholland Exp $   */
+/*     $NetBSD: if_vioif.c,v 1.40 2018/06/10 14:59:23 jakllsch Exp $   */
 
 /*
  * Copyright (c) 2010 Minoura Makoto.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vioif.c,v 1.39 2018/02/08 09:05:19 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vioif.c,v 1.40 2018/06/10 14:59:23 jakllsch Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -46,9 +46,6 @@
 #include <sys/cpu.h>
 #include <sys/module.h>
 
-#include <dev/pci/pcidevs.h>
-#include <dev/pci/pcireg.h>
-#include <dev/pci/pcivar.h>
 #include <dev/pci/virtioreg.h>
 #include <dev/pci/virtiovar.h>
 
diff -r 3d2faf4559f4 -r f35c969d08ef sys/dev/pci/ld_virtio.c
--- a/sys/dev/pci/ld_virtio.c   Sun Jun 10 14:43:07 2018 +0000
+++ b/sys/dev/pci/ld_virtio.c   Sun Jun 10 14:59:23 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ld_virtio.c,v 1.21 2018/06/10 14:43:07 jakllsch Exp $  */
+/*     $NetBSD: ld_virtio.c,v 1.22 2018/06/10 14:59:23 jakllsch Exp $  */
 
 /*
  * Copyright (c) 2010 Minoura Makoto.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ld_virtio.c,v 1.21 2018/06/10 14:43:07 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ld_virtio.c,v 1.22 2018/06/10 14:59:23 jakllsch Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -39,10 +39,6 @@
 #include <sys/mutex.h>
 #include <sys/module.h>
 
-#include <dev/pci/pcidevs.h>
-#include <dev/pci/pcireg.h>
-#include <dev/pci/pcivar.h>
-
 #include <dev/ldvar.h>
 #include <dev/pci/virtioreg.h>
 #include <dev/pci/virtiovar.h>
diff -r 3d2faf4559f4 -r f35c969d08ef sys/dev/pci/viomb.c
--- a/sys/dev/pci/viomb.c       Sun Jun 10 14:43:07 2018 +0000
+++ b/sys/dev/pci/viomb.c       Sun Jun 10 14:59:23 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: viomb.c,v 1.8 2017/03/25 18:02:06 jdolecek Exp $       */
+/*     $NetBSD: viomb.c,v 1.9 2018/06/10 14:59:23 jakllsch Exp $       */
 
 /*
  * Copyright (c) 2010 Minoura Makoto.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: viomb.c,v 1.8 2017/03/25 18:02:06 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: viomb.c,v 1.9 2018/06/10 14:59:23 jakllsch Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -40,10 +40,6 @@
 #include <uvm/uvm_page.h>
 #include <sys/module.h>
 
-#include <dev/pci/pcidevs.h>
-#include <dev/pci/pcireg.h>
-#include <dev/pci/pcivar.h>
-
 #include <dev/pci/virtioreg.h>
 #include <dev/pci/virtiovar.h>
 
diff -r 3d2faf4559f4 -r f35c969d08ef sys/dev/pci/viornd.c
--- a/sys/dev/pci/viornd.c      Sun Jun 10 14:43:07 2018 +0000
+++ b/sys/dev/pci/viornd.c      Sun Jun 10 14:59:23 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: viornd.c,v 1.11 2017/03/25 18:02:06 jdolecek Exp $ */
+/*     $NetBSD: viornd.c,v 1.12 2018/06/10 14:59:23 jakllsch Exp $ */
 /*     $OpenBSD: viornd.c,v 1.1 2014/01/21 21:14:58 sf Exp $   */
 
 /*
@@ -53,9 +53,6 @@
 #include <sys/callout.h>
 #include <sys/rndsource.h>
 #include <sys/mutex.h>
-#include <dev/pci/pcidevs.h>
-#include <dev/pci/pcivar.h>
-#include <dev/pci/pcivar.h>
 #include <dev/pci/virtioreg.h>
 #include <dev/pci/virtiovar.h>
 
diff -r 3d2faf4559f4 -r f35c969d08ef sys/dev/pci/vioscsi.c
--- a/sys/dev/pci/vioscsi.c     Sun Jun 10 14:43:07 2018 +0000
+++ b/sys/dev/pci/vioscsi.c     Sun Jun 10 14:59:23 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vioscsi.c,v 1.19 2017/05/15 21:30:37 jdolecek Exp $    */
+/*     $NetBSD: vioscsi.c,v 1.20 2018/06/10 14:59:23 jakllsch Exp $    */
 /*     $OpenBSD: vioscsi.c,v 1.3 2015/03/14 03:38:49 jsg Exp $ */
 
 /*
@@ -18,7 +18,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vioscsi.c,v 1.19 2017/05/15 21:30:37 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vioscsi.c,v 1.20 2018/06/10 14:59:23 jakllsch Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -27,10 +27,6 @@
 #include <sys/buf.h>
 #include <sys/module.h>
 
-#include <dev/pci/pcidevs.h>
-#include <dev/pci/pcireg.h>
-#include <dev/pci/pcivar.h>
-
 #include <dev/pci/vioscsireg.h>
 #include <dev/pci/virtiovar.h>
 



Home | Main Index | Thread Index | Old Index