15 #define DEV_RORC "/dev/prorc"
16 #define LOCK_DIR "/dev/prorc/"
25 #define RORCMAGIC 0xdc
30 #define RORC_COUNT _IO(RORCMAGIC, 0)
36 #define RORC_R_VENDOR _IO(RORCMAGIC, 10)
37 #define RORC_R_DEVICE _IO(RORCMAGIC, 11)
38 #define RORC_R_IRQ _IO(RORCMAGIC, 12)
39 #define RORC_R_REVISION _IO(RORCMAGIC, 13)
40 #define RORC_R_BAR0 _IO(RORCMAGIC, 14)
41 #define RORC_R_BAR1 _IO(RORCMAGIC, 15)
42 #define RORC_R_ROM _IO(RORCMAGIC, 16)
43 #define RORC_R_PCI_CFG _IO(RORCMAGIC, 19)
51 #define PRORC_RESET _IO(RORCMAGIC, 20)
52 #define PRORC_FF_RESET _IO(RORCMAGIC, 21)
53 #define PRORC_MB_RESET _IO(RORCMAGIC, 22)
54 #define PRORC_SET_WTE _IO(RORCMAGIC, 23)
55 #define PRORC_SET_WMS _IO(RORCMAGIC, 24)
56 #define PRORC_SET_WVR _IO(RORCMAGIC, 25)
57 #define PRORC_SET_RTE _IO(RORCMAGIC, 26)
58 #define PRORC_SET_RMS _IO(RORCMAGIC, 27)
59 #define PRORC_SET_RVW _IO(RORCMAGIC, 28)
63 #define RORC_R_DR_MAJ _IO(RORCMAGIC, 30)
64 #define RORC_R_DR_MIN _IO(RORCMAGIC, 31)
65 #define RORC_R_DR_REL _IO(RORCMAGIC, 32)
71 #define RORC_R_CHAN _IO(RORCMAGIC, 40)
72 #define RORC_SET_CHAN _IO(RORCMAGIC, 41)
73 #define RORC_RES_CHAN _IO(RORCMAGIC, 42)
79 #define RORC_R_SERIAL _IO(RORCMAGIC, 50)