Skip to contentSkip to conversation

parport.h ieee1284_ops.c 2.4.12

PATCH New Garst R. Reese 1 participant 1 message Oct 11, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 parport.h ieee1284_ops.c 2.4.12

Attached patches fix my problems with 2.4.12
include/linux/parport.h
drivers/parport/ieee1284_ops.c
Garst

ieee1284_ops.c renamed from ieee1284_ops.c~ +2 -2
@@ -362,7 +362,7 @@
 	} else {
 		DPRINTK (KERN_DEBUG "%s: ECP direction: failed to reverse\n",
 			 port->name);
-		port->ieee1284.phase = IEEE1284_PH_DIR_UNKNOWN;
+		port->ieee1284.phase = IEEE1284_PH_ECP_DIR_UNKNOWN;
 	}
 
 	return retval;
@@ -394,7 +394,7 @@
 		DPRINTK (KERN_DEBUG
 			 "%s: ECP direction: failed to switch forward\n",
 			 port->name);
-		port->ieee1284.phase = IEEE1284_PH_DIR_UNKNOWN;
+		port->ieee1284.phase = IEEE1284_PH_ECP_DIR_UNKNOWN;
 	}
 
 
parport.h renamed from parport.h~ +1 -1
@@ -252,7 +252,7 @@
 	IEEE1284_PH_ECP_SETUP,
 	IEEE1284_PH_ECP_FWD_TO_REV,
 	IEEE1284_PH_ECP_REV_TO_FWD,
-	IEEE1284_PH_ECP_DIR_UNKNOWN,
+	IEEE1284_PH_ECP_DIR_UNKNOWN
 };
 struct ieee1284_info {
 	int mode;