Putting it into a table allows to comment each possible values, with makes more clear what field means. Also, it allows to do cross-references with the frontend.h.
Showing the changes to include/uapi/linux/dvb (1 of 2 files). Show all
Unified · Split
| @@ -399,11 +399,13 @@ struct dvb_frontend_event { · 398 unmodified lines | |||
| 399 | 399 | ||
| 400 | #define DTV_MAX_COMMAND DTV_STAT_TOTAL_BLOCK_COUNT | 400 | #define DTV_MAX_COMMAND DTV_STAT_TOTAL_BLOCK_COUNT |
| 401 | 401 | ||
| 402 | typedef enum fe_pilot { | 402 | enum fe_pilot { |
| 403 | PILOT_ON, | 403 | PILOT_ON, |
| 404 | PILOT_OFF, | 404 | PILOT_OFF, |
| 405 | PILOT_AUTO, | 405 | PILOT_AUTO, |
| 406 | } fe_pilot_t; | 406 | }; |
| 407 | |||
| 408 | typedef enum fe_pilot fe_pilot_t; | ||
| 407 | 409 | ||
| 408 | typedef enum fe_rolloff { | 410 | typedef enum fe_rolloff { |
| 409 | ROLLOFF_35, /* Implied value in DVB-S, default for DVB-S2 */ | 411 | ROLLOFF_35, /* Implied value in DVB-S, default for DVB-S2 */ |