From 814a815542a2677155b433bf2573703681d944f3 Mon Sep 17 00:00:00 2001 From: uwe Date: Tue, 11 Dec 2001 03:24:46 +0000 Subject: [PATCH] Export msiiep_swap_endian(onoff) from msiiep.c to turn on/off automagic endian swapping performed by PCI controller. Need it in several places where we want to enter PROM repl. --- sys/arch/sparc/include/cpu.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/arch/sparc/include/cpu.h b/sys/arch/sparc/include/cpu.h index 62184c93e018..ea0b45fde585 100644 --- a/sys/arch/sparc/include/cpu.h +++ b/sys/arch/sparc/include/cpu.h @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.h,v 1.47 2001/12/04 00:05:05 darrenr Exp $ */ +/* $NetBSD: cpu.h,v 1.48 2001/12/11 03:24:46 uwe Exp $ */ /* * Copyright (c) 1992, 1993 @@ -251,6 +251,8 @@ int emulinstr __P((int, struct trapframe *)); void mp_pause_cpus __P((void)); void mp_resume_cpus __P((void)); void mp_halt_cpus __P((void)); +/* msiiep.c */ +void msiiep_swap_endian __P((int)); /* *