From 2324265ee75b1c876759986cdc96b313f8460850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Mon, 7 Apr 2008 20:43:42 +0000 Subject: [PATCH] Remove one of the adapter statuses --- ajaxui/ajaxui_config_dvb.c | 7 ++----- dvb.c | Bin 12394 -> 12389 bytes tvhead.h | 3 +-- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/ajaxui/ajaxui_config_dvb.c b/ajaxui/ajaxui_config_dvb.c index cdaee985..6c66bc30 100644 --- a/ajaxui/ajaxui_config_dvb.c +++ b/ajaxui/ajaxui_config_dvb.c @@ -39,9 +39,8 @@ static struct strtab adapterstatus[] = { - { "Unconfigured", TDA_STATE_UNCONFIGURED }, - { "Running", TDA_STATE_RUNNING }, - { "Zombie", TDA_STATE_ZOMBIE }, + { "Hardware detected", TDA_STATE_RUNNING }, + { "Hardware not found", TDA_STATE_ZOMBIE }, }; static void @@ -92,8 +91,6 @@ ajax_adaptersummary(http_connection_t *hc, const char *remain, void *opaque) "
%s
", dvb_adaptertype_to_str(tda->tda_fe_info->type)); - tcp_qprintf(&tq, "
Tuner:
" - "
...
"); tcp_qprintf(&tq, "
" "Q8o2PqdkgLn)C~j_50D*@HdjJ3c diff --git a/tvhead.h b/tvhead.h index c0fbbea5..9c8034a3 100644 --- a/tvhead.h +++ b/tvhead.h @@ -208,8 +208,7 @@ typedef struct th_dvb_adapter { LIST_ENTRY(th_dvb_adapter) tda_global_link; enum { - TDA_STATE_UNCONFIGURED, /* Found but not configured */ - TDA_STATE_RUNNING, /* Configured */ + TDA_STATE_RUNNING, /* Running */ TDA_STATE_ZOMBIE, /* Configured but not found */ } tda_state;