fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / drivers / i2c / busses / i2c-parport.h
index 1f0441e..9ddd816 100644 (file)
@@ -67,22 +67,38 @@ static struct adapter_parm adapter_parm[] = {
                .getsda = { 0x40, STAT, 1 },
                .getscl = { 0x08, STAT, 1 },
        },
-       /* type 4: ADM1025 and ADM1032 evaluation boards */
+       /* type 4: ADM1032 evaluation board */
        {
                .setsda = { 0x02, DATA, 1 },
                .setscl = { 0x01, DATA, 1 },
                .getsda = { 0x10, STAT, 1 },
-               .init   = { 0xf0, DATA, 0 }, /* ADM1025 doesn't need this,
-                                               but it doesn't hurt */
+               .init   = { 0xf0, DATA, 0 },
+       },
+       /* type 5: ADM1025, ADM1030 and ADM1031 evaluation boards */
+       {
+               .setsda = { 0x02, DATA, 1 },
+               .setscl = { 0x01, DATA, 1 },
+               .getsda = { 0x10, STAT, 1 },
+       },
+       /* type 6: Barco LPT->DVI (K5800236) adapter */
+       {
+               .setsda = { 0x02, DATA, 1 },
+               .setscl = { 0x01, DATA, 1 },
+               .getsda = { 0x20, STAT, 0 },
+               .getscl = { 0x40, STAT, 0 },
+               .init   = { 0xfc, DATA, 0 },
        },
 };
 
-static int type;
-MODULE_PARM(type, "i");
+static int type = -1;
+module_param(type, int, 0);
 MODULE_PARM_DESC(type,
        "Type of adapter:\n"
        " 0 = Philips adapter\n"
        " 1 = home brew teletext adapter\n"
        " 2 = Velleman K8000 adapter\n"
        " 3 = ELV adapter\n"
-       " 4 = ADM1025 and ADM1032 evaluation boards\n");
+       " 4 = ADM1032 evaluation board\n"
+       " 5 = ADM1025, ADM1030 and ADM1031 evaluation boards\n"
+       " 6 = Barco LPT->DVI (K5800236) adapter\n"
+);