From af40331aec8bac4de88843083d3d61acf4655d10 Mon Sep 17 00:00:00 2001 From: pk Date: Sat, 7 Jun 1997 19:10:57 +0000 Subject: [PATCH] Add some VME address modifiers used by vmebus_translate(). --- sys/arch/sparc/dev/vmereg.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/sys/arch/sparc/dev/vmereg.h b/sys/arch/sparc/dev/vmereg.h index 9c287d69f25b..11360c0ed879 100644 --- a/sys/arch/sparc/dev/vmereg.h +++ b/sys/arch/sparc/dev/vmereg.h @@ -1,4 +1,4 @@ -/* $NetBSD: vmereg.h,v 1.1 1997/05/18 19:37:38 pk Exp $ */ +/* $NetBSD: vmereg.h,v 1.2 1997/06/07 19:10:57 pk Exp $ */ /* * Copyright (c) 1997 Paul Kranenburg @@ -65,7 +65,10 @@ struct vmebusvec { volatile u_int8_t vmebusvec[16]; }; -/* sun4m VME I/O spaces */ -#define VME_SUN4M_16 0xc -#define VME_SUN4M_32 0xd +/* VME address modifiers */ +#define VMEMOD_A16_D_S 0x2d /* 16-bit address, data, supervisor */ +#define VMEMOD_A24_D_S 0x3d /* 24-bit address, data, supervisor */ +#define VMEMOD_A32_D_S 0x0d /* 32-bit address, data, supervisor */ + +#define VMEMOD_D32 0x40 /* 32-bit access */