Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/ralink Use <sys/ for bus.h and intr.h
details: https://anonhg.NetBSD.org/src/rev/60437378b86e
branches: trunk
changeset: 767854:60437378b86e
user: matt <matt%NetBSD.org@localhost>
date: Mon Aug 01 23:01:40 2011 +0000
description:
Use <sys/ for bus.h and intr.h
diffstat:
sys/arch/mips/ralink/ralink_eth.c | 9 ++++-----
sys/arch/mips/ralink/ralink_var.h | 4 ++--
2 files changed, 6 insertions(+), 7 deletions(-)
diffs (55 lines):
diff -r fd90dcb03d0b -r 60437378b86e sys/arch/mips/ralink/ralink_eth.c
--- a/sys/arch/mips/ralink/ralink_eth.c Mon Aug 01 22:42:57 2011 +0000
+++ b/sys/arch/mips/ralink/ralink_eth.c Mon Aug 01 23:01:40 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ralink_eth.c,v 1.2 2011/07/28 15:38:49 matt Exp $ */
+/* $NetBSD: ralink_eth.c,v 1.3 2011/08/01 23:01:40 matt Exp $ */
/*-
* Copyright (c) 2011 CradlePoint Technology, Inc.
* All rights reserved.
@@ -29,14 +29,16 @@
/* ralink_eth.c -- Ralink Ethernet Driver */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ralink_eth.c,v 1.2 2011/07/28 15:38:49 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ralink_eth.c,v 1.3 2011/08/01 23:01:40 matt Exp $");
#include <sys/param.h>
+#include <sys/bus.h>
#include <sys/callout.h>
#include <sys/device.h>
#include <sys/endian.h>
#include <sys/errno.h>
#include <sys/ioctl.h>
+#include <sys/intr.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
@@ -53,9 +55,6 @@
#include <net/bpf.h>
-#include <machine/bus.h>
-#include <machine/intr.h>
-
#include <dev/mii/mii.h>
#include <dev/mii/miivar.h>
#include <dev/mii/mii_bitbang.h>
diff -r fd90dcb03d0b -r 60437378b86e sys/arch/mips/ralink/ralink_var.h
--- a/sys/arch/mips/ralink/ralink_var.h Mon Aug 01 22:42:57 2011 +0000
+++ b/sys/arch/mips/ralink/ralink_var.h Mon Aug 01 23:01:40 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ralink_var.h,v 1.2 2011/07/28 15:38:49 matt Exp $ */
+/* $NetBSD: ralink_var.h,v 1.3 2011/08/01 23:01:40 matt Exp $ */
/*-
* Copyright (c) 2011 CradlePoint Technology, Inc.
* All rights reserved.
@@ -29,7 +29,7 @@
#ifndef _RALINK_VAR_H_
#define _RALINK_VAR_H_
-#include <machine/bus.h>
+#include <sys/bus.h>
extern void ralink_com_early(int);
Home |
Main Index |
Thread Index |
Old Index