[iPAQ] patch for IrDA for the iPAQ

From: Rajesh Krishna Balan <rajesh+.a.t.cs.cmu.edu>
Date: Thu Sep 28 2000 - 13:51:01 EDT

Hi,

the logic for turning on the IR hardware on the iPAQ seems to have been
inverted in serial_sa1100.c in drivers/char

attached is a patch which solves the problem for me and turns on the IR
harcware.

Rajesh

----------------------------------------------------------------------------
--- serial_sa1100.c.orig Thu Sep 28 13:38:14 2000
+++ serial_sa1100.c Thu Sep 28 13:36:56 2000
@@ -589,7 +589,7 @@
 
 #ifdef CONFIG_SA1100_BITSY
         if (machine_is_bitsy()) {
- clr_bitsy_egpio(EGPIO_BITSY_IR_ON);
+ set_bitsy_egpio(EGPIO_BITSY_IR_ON);
         }
 #endif
 
@@ -654,7 +654,7 @@
 
 #ifdef CONFIG_SA1100_BITSY
         if (machine_is_bitsy()) {
- set_bitsy_egpio(EGPIO_BITSY_IR_ON);
+ clr_bitsy_egpio(EGPIO_BITSY_IR_ON);
         }
 #endif
 }
Received on Thu Sep 28 10:48:10 2000

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:42 EDT