diff options
Diffstat (limited to 'include/arch/x86_64/linux/switchtec_ioctl.h')
| -rw-r--r-- | include/arch/x86_64/linux/switchtec_ioctl.h | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/include/arch/x86_64/linux/switchtec_ioctl.h b/include/arch/x86_64/linux/switchtec_ioctl.h index 91f5408d..ba276c95 100644 --- a/include/arch/x86_64/linux/switchtec_ioctl.h +++ b/include/arch/x86_64/linux/switchtec_ioctl.h @@ -143,19 +143,12 @@ struct switchtec_ioctl_pff_port { __u32 port; }; -#define SWITCHTEC_IOCTL_FLASH_INFO \ - _IOR('W', 0x40, struct switchtec_ioctl_flash_info) -#define SWITCHTEC_IOCTL_FLASH_PART_INFO \ - _IOWR('W', 0x41, struct switchtec_ioctl_flash_part_info) -#define SWITCHTEC_IOCTL_EVENT_SUMMARY \ - _IOR('W', 0x42, struct switchtec_ioctl_event_summary) -#define SWITCHTEC_IOCTL_EVENT_SUMMARY_LEGACY \ - _IOR('W', 0x42, struct switchtec_ioctl_event_summary_legacy) -#define SWITCHTEC_IOCTL_EVENT_CTL \ - _IOWR('W', 0x43, struct switchtec_ioctl_event_ctl) -#define SWITCHTEC_IOCTL_PFF_TO_PORT \ - _IOWR('W', 0x44, struct switchtec_ioctl_pff_port) -#define SWITCHTEC_IOCTL_PORT_TO_PFF \ - _IOWR('W', 0x45, struct switchtec_ioctl_pff_port) +#define SWITCHTEC_IOCTL_FLASH_INFO _IOR('W', 0x40, struct switchtec_ioctl_flash_info) +#define SWITCHTEC_IOCTL_FLASH_PART_INFO _IOWR('W', 0x41, struct switchtec_ioctl_flash_part_info) +#define SWITCHTEC_IOCTL_EVENT_SUMMARY _IOR('W', 0x42, struct switchtec_ioctl_event_summary) +#define SWITCHTEC_IOCTL_EVENT_SUMMARY_LEGACY _IOR('W', 0x42, struct switchtec_ioctl_event_summary_legacy) +#define SWITCHTEC_IOCTL_EVENT_CTL _IOWR('W', 0x43, struct switchtec_ioctl_event_ctl) +#define SWITCHTEC_IOCTL_PFF_TO_PORT _IOWR('W', 0x44, struct switchtec_ioctl_pff_port) +#define SWITCHTEC_IOCTL_PORT_TO_PFF _IOWR('W', 0x45, struct switchtec_ioctl_pff_port) #endif |
