Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic No need to include PCI header files in bus indepe...



details:   https://anonhg.NetBSD.org/src/rev/813da5a3574d
branches:  trunk
changeset: 755629:813da5a3574d
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Jun 13 03:08:15 2010 +0000

description:
No need to include PCI header files in bus independent code.

diffstat:

 sys/dev/ic/rt2560.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (29 lines):

diff -r b7da9fff44ee -r 813da5a3574d sys/dev/ic/rt2560.c
--- a/sys/dev/ic/rt2560.c       Sun Jun 13 02:36:18 2010 +0000
+++ b/sys/dev/ic/rt2560.c       Sun Jun 13 03:08:15 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rt2560.c,v 1.23 2010/04/05 07:19:35 joerg Exp $        */
+/*     $NetBSD: rt2560.c,v 1.24 2010/06/13 03:08:15 tsutsui Exp $      */
 /*     $OpenBSD: rt2560.c,v 1.15 2006/04/20 20:31:12 miod Exp $  */
 /*     $FreeBSD: rt2560.c,v 1.3 2006/03/21 21:15:43 damien Exp $*/
 
@@ -24,7 +24,7 @@
  * http://www.ralinktech.com/
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rt2560.c,v 1.23 2010/04/05 07:19:35 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rt2560.c,v 1.24 2010/06/13 03:08:15 tsutsui Exp $");
 
 
 #include <sys/param.h>
@@ -62,10 +62,6 @@
 #include <dev/ic/rt2560reg.h>
 #include <dev/ic/rt2560var.h>
 
-#include <dev/pci/pcireg.h>
-#include <dev/pci/pcivar.h>
-#include <dev/pci/pcidevs.h>
-
 #ifdef RAL_DEBUG
 #define DPRINTF(x)     do { if (rt2560_debug > 0) printf x; } while (0)
 #define DPRINTFN(n, x) do { if (rt2560_debug >= (n)) printf x; } while (0)



Home | Main Index | Thread Index | Old Index