aboutsummaryrefslogtreecommitdiff
path: root/sys/sparc64/isa
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2005-12-03 18:11:26 +0000
committerMarius Strobl <marius@FreeBSD.org>2005-12-03 18:11:26 +0000
commit9ec0f71c3598f42f4240bdc97d195e159718eeb8 (patch)
tree40e0c87be96fddaf2b7db76031fd15927225832e /sys/sparc64/isa
parentcdafc8511975dbbee6af68a79e2ca9a9576d2e80 (diff)
Notes
Diffstat (limited to 'sys/sparc64/isa')
-rw-r--r--sys/sparc64/isa/ofw_isa.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/sparc64/isa/ofw_isa.c b/sys/sparc64/isa/ofw_isa.c
index d3ae4d036941..41ce54812c09 100644
--- a/sys/sparc64/isa/ofw_isa.c
+++ b/sys/sparc64/isa/ofw_isa.c
@@ -27,10 +27,11 @@
* SUCH DAMAGE.
*
* from: NetBSD: ebus.c,v 1.26 2001/09/10 16:27:53 eeh Exp
- *
- * $FreeBSD$
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
/*
* Helper functions which can be used in both ISA and EBus code.
*/
@@ -72,7 +73,7 @@ ofw_isa_range_map(struct isa_ranges *range, int nrange, u_long *start,
u_long *end, int *which)
{
struct isa_ranges *r;
- u_int64_t offs, cstart, cend;
+ uint64_t offs, cstart, cend;
int i;
for (i = 0; i < nrange; i++) {
@@ -102,7 +103,7 @@ ofw_isa_route_intr(device_t bridge, phandle_t node, struct ofw_bus_iinfo *ii,
ofw_isa_intr_t intr)
{
struct isa_regs reg;
- u_int8_t maskbuf[sizeof(reg) + sizeof(intr)];
+ uint8_t maskbuf[sizeof(reg) + sizeof(intr)];
device_t pbridge;
ofw_isa_intr_t mintr;