- reworked file i/o. every fileaccess (target, flash, nand, in future configuration...
[fw/openocd] / src / jtag / parport.c
index 83006d866e9040e46018de8b699e3b7abfd035df..6386940e8c581d326f7f62c4af57b94d152655b5 100644 (file)
@@ -94,6 +94,7 @@ cable_t cables[] =
 {      
        /* name                                 tdo   trst  tms   tck   tdi   srst  o_inv i_inv init */
        { "wiggler",                    0x80, 0x10, 0x02, 0x04, 0x08, 0x01, 0x01, 0x80, 0x80 },
+       { "wiggler_ntrst_inverted",     0x80, 0x10, 0x02, 0x04, 0x08, 0x01, 0x11, 0x80, 0x80 },
        { "old_amt_wiggler",    0x80, 0x01, 0x02, 0x04, 0x08, 0x10, 0x11, 0x80, 0x80 },
        { "chameleon",                  0x80, 0x00, 0x04, 0x01, 0x02, 0x00, 0x00, 0x80, 0x00 },
        { "dlc5",                               0x10, 0x00, 0x04, 0x02, 0x01, 0x00, 0x00, 0x00, 0x10 },
@@ -390,7 +391,7 @@ int parport_init(void)
        #ifdef __FreeBSD__
                outb(parport_port + 2, 0x0);
        #else
-               outb(0x0, dataport);
+               outb(0x0, parport_port + 2);
        #endif
        
 #endif /* PARPORT_USE_PPDEV */