remove untested code for 7162 support

Origin commit data
------------------
Branch: master
Commit: 4e13bfb4f0
Author: martii <m4rtii@gmx.de>
Date: 2013-02-22 (Fri, 22 Feb 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2013-02-22 18:57:13 +01:00
parent 5a77d1d6ad
commit bcc7f847c9
3 changed files with 0 additions and 16 deletions

View File

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

View File

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

View File

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