mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
vme_user: Use __u64 and __u32 in userspace structs
Signed-off-by: Aaron Sierra <asierra@xes-inc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
89b1cc2dcb
commit
7e4290c6db
@ -7,12 +7,12 @@
|
|||||||
* VMEbus Master Window Configuration Structure
|
* VMEbus Master Window Configuration Structure
|
||||||
*/
|
*/
|
||||||
struct vme_master {
|
struct vme_master {
|
||||||
u32 enable; /* State of Window */
|
__u32 enable; /* State of Window */
|
||||||
u64 vme_addr; /* Starting Address on the VMEbus */
|
__u64 vme_addr; /* Starting Address on the VMEbus */
|
||||||
u64 size; /* Window Size */
|
__u64 size; /* Window Size */
|
||||||
u32 aspace; /* Address Space */
|
__u32 aspace; /* Address Space */
|
||||||
u32 cycle; /* Cycle properties */
|
__u32 cycle; /* Cycle properties */
|
||||||
u32 dwidth; /* Maximum Data Width */
|
__u32 dwidth; /* Maximum Data Width */
|
||||||
#if 0
|
#if 0
|
||||||
char prefetchenable; /* Prefetch Read Enable State */
|
char prefetchenable; /* Prefetch Read Enable State */
|
||||||
int prefetchsize; /* Prefetch Read Size (Cache Lines) */
|
int prefetchsize; /* Prefetch Read Size (Cache Lines) */
|
||||||
@ -31,11 +31,11 @@ struct vme_master {
|
|||||||
|
|
||||||
/* VMEbus Slave Window Configuration Structure */
|
/* VMEbus Slave Window Configuration Structure */
|
||||||
struct vme_slave {
|
struct vme_slave {
|
||||||
u32 enable; /* State of Window */
|
__u32 enable; /* State of Window */
|
||||||
u64 vme_addr; /* Starting Address on the VMEbus */
|
__u64 vme_addr; /* Starting Address on the VMEbus */
|
||||||
u64 size; /* Window Size */
|
__u64 size; /* Window Size */
|
||||||
u32 aspace; /* Address Space */
|
__u32 aspace; /* Address Space */
|
||||||
u32 cycle; /* Cycle properties */
|
__u32 cycle; /* Cycle properties */
|
||||||
#if 0
|
#if 0
|
||||||
char wrpostenable; /* Write Post State */
|
char wrpostenable; /* Write Post State */
|
||||||
char rmwlock; /* Lock PCI during RMW Cycles */
|
char rmwlock; /* Lock PCI during RMW Cycles */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user