remove untested code for 7162 support

This commit is contained in:
martii
2013-02-22 18:57:13 +01:00
parent 8a234a84bb
commit 4e13bfb4f0
3 changed files with 0 additions and 16 deletions

View File

@@ -33,10 +33,6 @@ typedef struct hw_caps
display_type_t display_type;
int display_xres; /* x resolution or chars per line */
int display_yres;
#ifdef MARTII
int fe_offset;
int fe_offset_max;
#endif
char boxvendor[64];
char boxname[64];
} hw_caps_t;

View File

@@ -197,9 +197,6 @@ bool cDemux::_open(void)
{
/* this should not change anything... */
int n = DMX_SOURCE_FRONT0 + devnum;
#ifdef MARTII
n += get_hwcaps()->fe_offset;
#endif
lt_info("%s: setting %s to source %d\n", __func__, devname[devnum], n);
if (ioctl(fd, DMX_SET_SOURCE, &n) < 0)
lt_info("%s DMX_SET_SOURCE failed!\n", __func__);

View File

@@ -71,10 +71,6 @@ hw_caps_t *get_hwcaps(void)
case 0x0c0007:
tmp = "GoldenMedia Triplex";
caps.has_SCART = 1;
#ifdef MARTII
caps.fe_offset = 1; // first sat tuner
caps.fe_offset_max = 2; // last tuner
#endif
break;
default:
tmp = p;
@@ -83,11 +79,6 @@ hw_caps_t *get_hwcaps(void)
tmp = "(NO STB_ID FOUND)";
strcpy(caps.boxname, tmp);
}
#ifdef MARTII
char *fe_off = getenv("FE_OFFSET");
if (fe_off)
sscanf(fe_off, "%d", &caps.fe_offset);
#endif
fd = open (FP_DEV, O_RDWR);
if (fd != -1) {
ret = ioctl(fd, VFDGETVERSION, &val);