cleanup connection type recognition, prepare for aliases, ...

This commit is contained in:
marschap
2007-10-14 09:44:06 +00:00
parent 8cfd341944
commit 0899cef23d
3 changed files with 72 additions and 45 deletions
+3 -2
View File
@@ -47,8 +47,9 @@ typedef struct cgram_cache {
typedef struct ConnectionMapping {
char *name;
int connectiontype;
int if_type;
int (*init_fn)(Driver *drvthis);
const char *helpMsg;
} ConnectionMapping;
typedef struct driver_private_data {
@@ -75,7 +76,7 @@ typedef struct driver_private_data {
CGmode ccmode;
// Connection type data
int connectiontype_index;
int connectiontype;
struct hwDependentFns *hd44780_functions;
// spanList[line number] = display line number is in