coda_psdev.h revision 11cd02dfb91661c65134cac258cf5924270e9d2
111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/**************************************************************************** 211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert **************************************************************************** 311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *** 411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *** This header was automatically generated from a Linux kernel header 511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *** of the same name, to make information necessary for userspace to 611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *** call into the kernel available to libc. It contains only constants, 711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *** structures, and macros generated from the original header, and thus, 811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *** contains no copyrightable information. 911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *** 1011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *** To edit the content of this header, modify the corresponding 1111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *** source file (e.g. under external/kernel-headers/original/) then 1211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *** run bionic/libc/kernel/tools/update_all.py 1311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *** 1411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *** Any manual change here will be lost the next time this script will 1511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *** be run. You've been warned! 1611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert *** 1711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert **************************************************************************** 1811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert ****************************************************************************/ 1911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#ifndef _UAPI__CODA_PSDEV_H 2011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define _UAPI__CODA_PSDEV_H 2111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#include <linux/magic.h> 2211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define CODA_PSDEV_MAJOR 67 2311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 2411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define MAX_CODADEVS 5 2511cd02dfb91661c65134cac258cf5924270e9d2Dan Albertstruct upc_req { 2611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert struct list_head uc_chain; 2711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert caddr_t uc_data; 2811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 2911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert u_short uc_flags; 3011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert u_short uc_inSize; 3111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert u_short uc_outSize; 3211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert u_short uc_opcode; 3311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3411cd02dfb91661c65134cac258cf5924270e9d2Dan Albert int uc_unique; 3511cd02dfb91661c65134cac258cf5924270e9d2Dan Albert wait_queue_head_t uc_sleep; 3611cd02dfb91661c65134cac258cf5924270e9d2Dan Albert}; 3711cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define CODA_REQ_ASYNC 0x1 3811cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 3911cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define CODA_REQ_READ 0x2 4011cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define CODA_REQ_WRITE 0x4 4111cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#define CODA_REQ_ABORT 0x8 4211cd02dfb91661c65134cac258cf5924270e9d2Dan Albert#endif 4311cd02dfb91661c65134cac258cf5924270e9d2Dan Albert/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44