diff mbox

[v2] devices.txt: add video4linux device for Software Defined Radio

Message ID 1390364390-9377-1-git-send-email-crope@iki.fi (mailing list archive)
State New, archived
Headers show

Commit Message

Antti Palosaari Jan. 22, 2014, 4:19 a.m. UTC
Add new	video4linux device named /dev/swradio for Software Defined
Radio use. V4L device minor numbers are allocated dynamically
nowadays.

Signed-off-by: Antti Palosaari <crope@iki.fi>
---
 Documentation/devices.txt | 3 +++
 1 file changed, 3 insertions(+)

Comments

Hans Verkuil Jan. 22, 2014, 7:20 a.m. UTC | #1
On 01/22/2014 05:19 AM, Antti Palosaari wrote:
> Add new	video4linux device named /dev/swradio for Software Defined
> Radio use. V4L device minor numbers are allocated dynamically
> nowadays.

Actually, that's not true. If the VIDEO_FIXED_MINOR_RANGES config option is
set, then the fixed ranges will be used. In that case the devices use minors
from 128-191. This range is shared with v4l-subdev devices.

> 
> Signed-off-by: Antti Palosaari <crope@iki.fi>
> ---
>  Documentation/devices.txt | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devices.txt b/Documentation/devices.txt
> index 80b7241..ac6ff84 100644
> --- a/Documentation/devices.txt
> +++ b/Documentation/devices.txt
> @@ -1493,6 +1493,9 @@ Your cooperation is appreciated.
>  		224 = /dev/vbi0		Vertical blank interrupt
>  		    ...
>  		255 = /dev/vbi31	Vertical blank interrupt
> +		  0 = /dev/swradio0	Software Defined Radio device
> +		  1 = /dev/swradio1	Software Defined Radio device
> +		    ...
>  
>   81 block	I2O hard disk
>  		  0 = /dev/i2o/hdq	17th I2O hard disk, whole disk
> 

Regards,

	Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/devices.txt b/Documentation/devices.txt
index 80b7241..ac6ff84 100644
--- a/Documentation/devices.txt
+++ b/Documentation/devices.txt
@@ -1493,6 +1493,9 @@  Your cooperation is appreciated.
 		224 = /dev/vbi0		Vertical blank interrupt
 		    ...
 		255 = /dev/vbi31	Vertical blank interrupt
+		  0 = /dev/swradio0	Software Defined Radio device
+		  1 = /dev/swradio1	Software Defined Radio device
+		    ...
 
  81 block	I2O hard disk
 		  0 = /dev/i2o/hdq	17th I2O hard disk, whole disk