Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/freebsd32/freebsd32_ioctl.h
Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | struct pci_conf_io32 { | ||||
u_int32_t match_buf_len; /* match buffer length */ | u_int32_t match_buf_len; /* match buffer length */ | ||||
u_int32_t num_matches; /* number of matches returned */ | u_int32_t num_matches; /* number of matches returned */ | ||||
caddr_t32 matches; /* struct pci_conf ptr */ | caddr_t32 matches; /* struct pci_conf ptr */ | ||||
u_int32_t offset; /* offset into device list */ | u_int32_t offset; /* offset into device list */ | ||||
u_int32_t generation; /* device list generation */ | u_int32_t generation; /* device list generation */ | ||||
u_int32_t status; /* request status */ | u_int32_t status; /* request status */ | ||||
}; | }; | ||||
struct pci_bar_mmap32 { | |||||
uint32_t pbm_map_base; | |||||
uint32_t pbm_map_length; | |||||
uint32_t pbm_bar_length1, pbm_bar_length2; | |||||
int pbm_bar_off; | |||||
struct pcisel pbm_sel; | |||||
int pbm_reg; | |||||
int pbm_flags; | |||||
int pbm_memattr; | |||||
}; | |||||
#define CDIOREADTOCENTRYS_32 _IOWR('c', 5, struct ioc_read_toc_entry32) | #define CDIOREADTOCENTRYS_32 _IOWR('c', 5, struct ioc_read_toc_entry32) | ||||
#define FIODGNAME_32 _IOW('f', 120, struct fiodgname_arg32) | #define FIODGNAME_32 _IOW('f', 120, struct fiodgname_arg32) | ||||
#define MEMRANGE_GET32 _IOWR('m', 50, struct mem_range_op32) | #define MEMRANGE_GET32 _IOWR('m', 50, struct mem_range_op32) | ||||
#define MEMRANGE_SET32 _IOW('m', 51, struct mem_range_op32) | #define MEMRANGE_SET32 _IOW('m', 51, struct mem_range_op32) | ||||
#define PCIOCGETCONF_32 _IOWR('p', 5, struct pci_conf_io32) | #define PCIOCGETCONF_32 _IOWR('p', 5, struct pci_conf_io32) | ||||
#define SG_IO_32 _IOWR(SGIOC, 0x85, struct sg_io_hdr32) | #define SG_IO_32 _IOWR(SGIOC, 0x85, struct sg_io_hdr32) | ||||
#define PCIOCBARMMAP_32 _IOWR('p', 8, struct pci_bar_mmap32) | |||||
#endif /* _COMPAT_FREEBSD32_IOCTL_H_ */ | #endif /* _COMPAT_FREEBSD32_IOCTL_H_ */ |