diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-05-25 21:21:25 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-05-25 21:21:25 +0000 |
commit | d4019e75314dd1ed84aed91fce9ede6c5265a5ff (patch) | |
tree | 5761bca3b1676a00ab31bdb34d11d1845360fbe8 /sys/arch/mvme88k/dev/vxreg.h | |
parent | aad57b1dbcb61f93cd7e48a648ec1d7840f6d9cd (diff) |
Make this driver aware of non-1:1 mappings.
This currently mimcs the existing code, which can be cleaned up further.
Diffstat (limited to 'sys/arch/mvme88k/dev/vxreg.h')
-rw-r--r-- | sys/arch/mvme88k/dev/vxreg.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sys/arch/mvme88k/dev/vxreg.h b/sys/arch/mvme88k/dev/vxreg.h index c7105b590f5..c677bcb550e 100644 --- a/sys/arch/mvme88k/dev/vxreg.h +++ b/sys/arch/mvme88k/dev/vxreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vxreg.h,v 1.6 2003/12/27 21:58:20 miod Exp $ */ +/* $OpenBSD: vxreg.h,v 1.7 2004/05/25 21:21:24 miod Exp $ */ /* * Copyright (c) 1999 Steve Murphree, Jr. All rights reserved. @@ -259,18 +259,18 @@ struct packet { /* 68 bytes */ volatile char interrupt_level; /* init only */ volatile u_char device_number; volatile char filler3[1]; - volatile short ioctl_cmd_h; - volatile short ioctl_cmd_l; + volatile u_short ioctl_cmd_h; + volatile u_short ioctl_cmd_l; #define init_info_ptr_h ioctl_cmd_h #define init_info_ptr_l ioctl_cmd_l - volatile short ioctl_arg_h; - volatile short ioctl_arg_l; - volatile short ioctl_mode_h; - volatile short ioctl_mode_l; + volatile u_short ioctl_arg_h; + volatile u_short ioctl_arg_l; + volatile u_short ioctl_mode_h; + volatile u_short ioctl_mode_l; #define interrupt_vec ioctl_mode_l volatile char filler4[6]; - volatile short error_h; - volatile short error_l; + volatile u_short error_h; + volatile u_short error_l; volatile short event_code; volatile char filler5[6]; union { @@ -292,14 +292,14 @@ struct envelope { /* 12 bytes */ }; struct channel { /* 24 bytes */ - volatile short command_pipe_head_ptr_h; - volatile short command_pipe_head_ptr_l; - volatile short command_pipe_tail_ptr_h; - volatile short command_pipe_tail_ptr_l; - volatile short status_pipe_head_ptr_h; - volatile short status_pipe_head_ptr_l; - volatile short status_pipe_tail_ptr_h; - volatile short status_pipe_tail_ptr_l; + volatile u_short command_pipe_head_ptr_h; + volatile u_short command_pipe_head_ptr_l; + volatile u_short command_pipe_tail_ptr_h; + volatile u_short command_pipe_tail_ptr_l; + volatile u_short status_pipe_head_ptr_h; + volatile u_short status_pipe_head_ptr_l; + volatile u_short status_pipe_tail_ptr_h; + volatile u_short status_pipe_tail_ptr_l; volatile char interrupt_level; volatile char interrupt_vec; volatile char channel_priority; |