⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 s390dyn.h

📁 嵌入式系统设计与实例开发实验教材二源码 多线程应用程序设计 串行端口程序设计 AD接口实验 CAN总线通信实验 GPS通信实验 Linux内核移植与编译实验 IC卡读写实验 SD驱动使
💻 H
字号:
/* *  arch/s390/kernel/s390dyn.h *   S/390 data definitions for dynamic device attachment * *  S390 version *    Copyright (C) 2000 IBM Deutschland Entwicklung GmbH, IBM Corporation *    Author(s): Ingo Adlung (adlung@de.ibm.com) */#ifndef __s390dyn_h#define __s390dyn_h#ifndef _LINUX_LIST_H#include <linux/list.h>#endifstruct _devreg;typedef  int  (* oper_handler_func_t)( int             irq,                                       struct _devreg *dreg);typedef struct _devreg_hc_t {	__u16 ctype;	__u8  cmode;	__u16 dtype;	__u8  dmode;   }  __attribute__ ((packed)) devreg_hc_t;typedef struct _devreg {	struct list_head list;	union {		int devno;		devreg_hc_t hc;       /* has controller info */	} ci;	int                  flag;	oper_handler_func_t  oper_func;} devreg_t;#define DEVREG_MATCH_CU_TYPE    0x00000001#define DEVREG_MATCH_CU_MODEL   0x00000002#define DEVREG_MATCH_DEV_TYPE   0x00000004#define DEVREG_MATCH_DEV_MODEL  0x00000008#define DEVREG_EXACT_MATCH      (DEVREG_MATCH_CU_TYPE|DEVREG_MATCH_CU_MODEL|DEVREG_MATCH_DEV_TYPE|DEVREG_MATCH_DEV_MODEL)#define DEVREG_NO_CU_INFO       (DEVREG_MATCH_DEV_TYPE|DEVREG_MATCH_DEV_MODEL)#define DEVREG_NO_DEV_INFO      (DEVREG_MATCH_CU_TYPE|DEVREG_MATCH_CU_MODEL)#define DEVREG_TYPE_DEVNO       0x80000000#define DEVREG_TYPE_DEVCHARS    0x40000000int        s390_device_register  ( devreg_t *drinfo );int        s390_device_unregister( devreg_t *dreg );devreg_t * s390_search_devreg    ( ioinfo_t *ioinfo );#endif /* __s390dyn */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -