00001 #ifndef iocdef_h 00002 #define iocdef_h 00003 00004 #define IOC_M_PHY 0x1 00005 #define IOC_M_TYPE 0x2 00006 #define IOC_M_CLASS 0x4 00007 #define IOC_M_LOCAL 0x8 00008 #define IOC_M_EXISTS 0x10 00009 #define IOC_M_2P 0x20 00010 #define IOC_M_ANY 0x40 00011 #define IOC_M_MOUNT 0x80 00012 #define IOC_M_ALT 0x100 00013 #define IOC_M_NO_TRANS 0x200 00014 #define IOC_M_ALLOC 0x400 00015 #define IOC_M_DTN 0x800 00016 #define IOC_M_NOLOCK 0x1000 00017 #define IOC_M_PAC 0x2000 00018 #define IOC_M_B4CREATE 0x4000 00019 #define IOC_S_IOCDEF 2 00020 00021 #define IOC_K_BYTE_LANED 1 00022 #define IOC_K_WORD_LANED 2 00023 #define IOC_K_LONGWORD 4 00024 #define IOC_K_QUADWORD 8 00025 #define IOC_K_BYTE 256 00026 #define IOC_K_WORD 512 00027 #define IOC_K_ENABLE_INTR 1 00028 #define IOC_K_DISABLE_INTR 2 00029 #define IOC_K_ENABLE_SG 3 00030 #define IOC_K_DISABLE_SG 4 00031 #define IOC_K_ENABLE_PAR 5 00032 #define IOC_K_DISABLE_PAR 6 00033 #define IOC_K_ENABLE_BLKM 7 00034 #define IOC_K_DISABLE_BLKM 8 00035 #define IOC_K_ISSUE_EOI 9 00036 #define IOC_K_ENABLE_DISTRIB_INTR 10 00037 #define IOC_K_DISABLE_DISTRIB_INTR 11 00038 #define IOC_K_TURBO_SLOT_DENSE_PA 1 00039 #define IOC_K_TURBO_SLOT_SPARSE_PA 2 00040 #define IOC_K_FBUS_INT_LOC 3 00041 #define IOC_K_EISA_IRQ 4 00042 #define IOC_K_EISA_DMA_CHAN 5 00043 #define IOC_K_EISA_CONFIG_BLOCK 6 00044 #define IOC_K_EISA_MEM_CONFIG 7 00045 #define IOC_K_LBUS_DEV_BLK_PTR 8 00046 #define IOC_K_EISA_IO_PORT 9 00047 #define IOC_K_SCSI_CLK_PERIOD 10 00048 #define IOC_K_CPU_INT_MASK 11 00049 00050 #define IOC_K_IO_CSR_BYTE_ACCESS 11 00051 #define IOC_K_BUS_IO_BYTE_GRAN 11 00052 #define IOC_K_IO_CSR_LONG_ACCESS 12 00053 #define IOC_K_IO_MEM_BYTE_ACCESS 13 00054 #define IOC_K_BUS_MEM_BYTE_GRAN 13 00055 #define IOC_K_IO_MEM_LONG_ACCESS 14 00056 #define IOC_K_BUS_MEM_DENSE 14 00057 #define IOC_K_IO_ADDRESS_SWIZZLE 15 00058 #define IOC_K_DIRECT_DMA_BASE 16 00059 #define IOC_K_DDMA_BASE_BA 16 00060 00061 #define IOC_K_DIRECT_DMA_SIZE 17 00062 00063 #define IOC_K_ISA_USER_PARAM 18 00064 #define IOC_K_DEVICE_IPL 19 00065 #define IOC_K_MONSTER_WINDOW 20 00066 00067 #define IOC_K_DDMA_WIN_SIZE 21 00068 #define IOC_K_DDMA_BASE_PA 22 00069 00070 struct _ioc { 00071 unsigned ioc_v_phy : 1; 00072 unsigned ioc_v_type : 1; 00073 unsigned ioc_v_class : 1; 00074 unsigned ioc_v_local : 1; 00075 unsigned ioc_v_exists : 1; 00076 unsigned ioc_v_2p : 1; 00077 unsigned ioc_v_any : 1; 00078 unsigned ioc_v_mount : 1; 00079 unsigned ioc_v_alt : 1; 00080 unsigned ioc_v_no_trans : 1; 00081 unsigned ioc_v_alloc : 1; 00082 unsigned ioc_v_dtn : 1; 00083 unsigned ioc_v_nolock : 1; 00084 unsigned ioc_v_pac : 1; 00085 unsigned ioc_v_b4create : 1; 00086 unsigned ioc_v_fill_0_ : 1; 00087 }; 00088 00089 #endif 00090 00091