Skip to contentSkip to conversation

type-oh bug in tlclk.c

PATCH New mark gross 1 participant 1 message Jun 23, 2006

lore
Share & tools
lore

mark gross

author
#0 lore raw

PATCH 1/1 type-oh bug in tlclk.c

Mark Bellon found a bug in my tlclk driver. Thanks!

I botch the register mask for store_received_ref_clk3a.

See http://download.intel.com/design/network/manuals/30412001.pdf
tables 124 and 136 for details.

Please apply.

thanks,

--mgross

linux-2.6.17.1/drivers/char/tlclk.c +1 -1
diff -urN -X ../linux-2.6.17.1/Documentation/dontdiff ../linux-2.6.17.1/drivers/char/tlclk.c tlclk/linux-2.6.17.1/drivers/char/tlclk.c
@@ -343,7 +343,7 @@
 
 	val = (unsigned char)tmp;
 	spin_lock_irqsave(&event_lock, flags);
-	SET_PORT_BITS(TLCLK_REG1, 0xef, val << 1);
+	SET_PORT_BITS(TLCLK_REG1, 0xdf, val << 1);
 	spin_unlock_irqrestore(&event_lock, flags);
 
 	return strnlen(buf, count);