On Sun, May 07, 2006, Johannes Stezenbach wrote: > After sleeping it over, I think it would be > easier to understand and use to add a seperate ioctl: > > // get bit set of supported delivery systems > #define FE_GET_DELSYS _IOR('o', 84, enum fe_delsys) > // get capabilites for one delivery system > #define FE_GET_CAPS _IOWR('o', 85, struct dvb_frontend_cap) Or maybe: struct dvb_frontend_type { char name[128]; __u32 delivery_systems; // bitset }; #define FE_GET_TYPE _IOR('o', 84, struct dvb_frontend_type) struct struct dvb_frontend_cap { enum fe_delsys delivery_system; // input // output __u32 frequency_min; __u32 frequency_max; __u32 frequency_stepsize; __u32 frequency_tolerance; __u32 symbol_rate_min; __u32 symbol_rate_max; __u32 symbol_rate_tolerance; __u8 pad1[32]; union { struct dvbs_params dvbs; ... __u8 pad2[128]; }; #define FE_GET_CAPS _IOWR('o', 85, struct dvb_frontend_cap) Johannes _______________________________________________ linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb