Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
s390dyn.h
Package: linux-2.4.20.tar.gz [view]
Upload User: jlfgdled
Upload Date: 2013-04-10
Package Size: 33168k
Code Size: 2k
Category:
Linux-Unix program
Development Platform:
Unix_Linux
- /*
- * 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>
- #endif
- struct _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 0x40000000
- int s390_device_register ( devreg_t *drinfo );
- int s390_device_unregister( devreg_t *dreg );
- devreg_t * s390_search_devreg ( ioinfo_t *ioinfo );
- #endif /* __s390dyn */