Mercurial > pt1.oyama
view driver/pt1_ioctl.h @ 100:aeba1988234f
support macros to specify sid:
- macros: hd, sd1, sd2, sd3, 1seg and all are supported.
- if sid has been specified but no suitable sid found, fall back to "all".
technical summary:
- use splitter structure as the argument where it is applicable.
- add tab configuration to some source files.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 13 Feb 2010 19:43:25 +0900 |
parents | f336fd2dcf28 |
children |
line wrap: on
line source
#ifndef __PT1_IOCTL_H__ #define __PT1_IOCTL_H__ /***************************************************************************/ /* チャンネル周波数情報構造体定義 */ /***************************************************************************/ typedef struct _frequency{ int frequencyno ; // 周波数テーブル番号 int slot ; // スロット番号/加算する周波数 }FREQUENCY; /***************************************************************************/ /* IOCTL定義 */ /***************************************************************************/ #define SET_CHANNEL _IOW(0x8D, 0x01, FREQUENCY) #define START_REC _IO(0x8D, 0x02) #define STOP_REC _IO(0x8D, 0x03) #define GET_SIGNAL_STRENGTH _IOR(0x8D, 0x04, int *) #define LNB_ENABLE _IOW(0x8D, 0x05, int) #define LNB_DISABLE _IO(0x8D, 0x06) #endif