From b1ebfeffe728ced022e3815de71722e88c7b7ff4 Mon Sep 17 00:00:00 2001 From: Matt Sealey Date: Fri, 11 Feb 2011 14:55:26 -0600 Subject: [PATCH] cea861: add Short Video Descriptor block to the definitions, so we can parse out SVDs Also correct definition of vendor specific block data (maximum payload is 28 bytes beyond the registration identifier) --- include/linux/cea861.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/include/linux/cea861.h b/include/linux/cea861.h index da0ab4dde25..20838f75d4f 100644 --- a/include/linux/cea861.h +++ b/include/linux/cea861.h @@ -68,7 +68,16 @@ struct __packed cea861_vendor_specific_data_block { struct cea861_data_block_header header; u8 ieee_registration[3]; - u8 data[30]; + u8 data[28]; +}; + +struct __packed cea861_video_data_block { + struct cea861_data_block_header header; + + /* actual length in header, the index stops us from walking out of + * spec but not out of bounds + */ + u8 svd[31]; };