patch-2.2.15 linux/drivers/misc/parport_pc.c

Next file: linux/drivers/net/3c509.c
Previous file: linux/drivers/misc/parport_ax.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/drivers/misc/parport_pc.c linux/drivers/misc/parport_pc.c
@@ -839,11 +839,6 @@
 		 * Put the ECP detected port in the more PS2 like mode.
 		 */
 		parport_pc_write_econtrol(p, 0x34);
-	parport_pc_write_control(p, 0x8);
-	parport_pc_write_data(p, 0);
-	udelay (50);
-	parport_pc_write_control(p, 0xc);
-	udelay (50);
 
 	if (parport_probe_hook)
 		(*parport_probe_hook)(p);
@@ -907,6 +902,8 @@
 		  { { 0, -1 }, } },
 		{ PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_DUAL_PAR_B, 1,
 		  { { 0, -1 }, } },
+		{ PCI_VENDOR_ID_AFAVLAB, PCI_DEVICE_ID_AFAVLAB_TK9902, 1,
+		  { { 0, 1 }, } },
 		{ 0, }
 	};
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)