1 static int typhoon_ioctl(struct video_device
*dev
, unsigned int cmd
, void *arg
)
3 struct typhoon_device
*typhoon
= dev
->priv
;
9 if (copy_from_user(&v
, arg
, sizeof(v
)) != 0)
11 if (v
.tuner
) /* Only 1 tuner */
13 v
.rangelow
= 875 * 1600;
14 v
.rangehigh
= 1080 * 1600;
15 v
.flags
= VIDEO_TUNER_LOW
;
16 v
.mode
= VIDEO_MODE_AUTO
;
17 v
.signal
= 0xFFFF; /* We can't get the signal strength */
19 if (copy_to_user(arg
, &v
, sizeof(v
)))