linux/drivers/rtc/rtc-m48t86.c
<<
/spa623 /form23 a href="../linux+v3ion2/drivers/rtc/rtc-m48t86.c"> img src="../.static/gfx/right.png" alt=">>"> /spa623 spa6 class="lxr_search"> input typ2.1hidden" nam2.1navtarget" .6.32.1"> input typ2.1text" nam2.1search" id.1search"> butt v2typ2.1submit">Search Prefs3 /a> /spa623 /div23 form acv2.6="ajax+*" method="post" onsubmit="return false;"> input typ2.1hidden" nam2.1ajax_lookup" id.1ajax_lookup" .6.32.1"> /form23 div class="headingbott m">3 div id.1file_contents"2
	 	1 /a> spa6 class="comment">/* /spa623	 	2 /a> spa6 class="comment"> * ST M48T86 / Dallas DS12887 RTC driver /spa623	 	3 /a> spa6 class="comment"> * Copyright (c) 2006 Tower Technologies /spa623	 	4 /a> spa6 class="comment"> * /spa623	 	5 /a> spa6 class="comment"> * Author: Alessandro Zummo <a.zummo@towertech.it> /spa623	 	6 /a> spa6 class="comment"> * /spa623	 	7 /a> spa6 class="comment"> * This program is free software; you ca6 redistribute it and/or modify /spa623	 	8 /a> spa6 class="comment"> * it under the terms of the GNU General Public License vers  v22 as /spa623	 	9 /a> spa6 class="comment"> * published by the Free Software Foundav2.6. /spa623	 	  1a> spa6 class="comment"> * /spa623	 11 /a> spa6 class="comment"> * This drivers only supports the clock running in BCD and 24H mode. /spa623	 12 /a> spa6 class="comment"> * If it will be ever adapted to binary and 12H mode, care must be taken /spa623	 13 /a> spa6 class="comment"> * to not introduce bugs. /spa623	 14 /a> spa6 class="comment"> */ /spa623	 15 /a>3	 16 /a>#include <linux/module.h /a>>3	 17 /a>#include <linux/rtc.h /a>>3	 18 /a>#include <linux/platform_device.h /a>>3	 19 /a>#include <linux/m48t86.h /a>>3	 20 /a>#include <linux/bcd.h /a>>3	 21 /a>3	 22 /a>#define	 a href="+code=M48T86_REG_SEC" class="sref">M48T86_REG_SEC /a>          0x003	 23 /a>#define	 a href="+code=M48T86_REG_SECALRM" class="sref">M48T86_REG_SECALRM /a>      0x013	 24 /a>#define	 a href="+code=M48T86_REG_MIN" class="sref">M48T86_REG_MIN /a>          0x023	 25 /a>#define	 a href="+code=M48T86_REG_MINALRM" class="sref">M48T86_REG_MINALRM /a>      0x033	 26 /a>#define	 a href="+code=M48T86_REG_HOUR" class="sref">M48T86_REG_HOUR /a>         0x043	 27 /a>#define	 a href="+code=M48T86_REG_HOURALRM" class="sref">M48T86_REG_HOURALRM /a>     0x053	 28 /a>#define	 a href="+code=M48T86_REG_DOW" class="sref">M48T86_REG_DOW /a>          0x06  spa6 class="comment">/* 1 = sunday */ /spa623	 29 /a>#define	 a href="+code=M48T86_REG_DOM" class="sref">M48T86_REG_DOM /a>          0x073	 30 /a>#define	 a href="+code=M48T86_REG_MONTH" class="sref">M48T86_REG_MONTH /a>        0x08  spa6 class="comment">/* 1 - 12 */ /spa623	 31 /a>#define	 a href="+code=M48T86_REG_YEAR" class="sref">M48T86_REG_YEAR /a>         0x09  spa6 class="comment">/* 0 - 99 */ /spa623	 32 /a>#define	 a href="+code=M48T86_REG_A" class="sref">M48T86_REG_A /a>            0x0A3	 33 /a>#define	 a href="+code=M48T86_REG_B" class="sref">M48T86_REG_B /a>            0x0B48T86L16">	 16 /a>#inmEG_MA01L3           0x0B48T86L16">	 16 /a>#iG_A /a>         0 1MA01L3           9cv72e="v2.6.32.2"
	135.3ef">M48T86_REG_MIN /a> 3     3  0x023#iG_A /a>       D 0 1MA01L3           9cv72e="v2.6.32.class="s3ef">M48T86_REG_MINALRM 3a>   36>>3M48T86_REG_HOUR /a>3     3  0x043M48T861L33" class="line"_Hre/a>#iG_A /a>(1f="dr="dr 1);3M48T86_REG_HOURALRM3/a>  3  0x053#iG_A /a> (1f="dr="dr 2);3/* 1 = sun3ay */3/spa623#iG_A /a>(1f="dr="dr 7);3M48T86_REG_DOM /a> 4     4  0x073#iG_A /a>(1f="dr="dr 7);3/* 1 -412 */4a>>3/* 0 -499 */4/spa623#iine	 a href=".1L7ng">"0.1"" nam2.1L3">	 	3 /a> spa6 class="comment"> *class="s4ef">M48T86_REG_A /a>   4     43>>3M48T86_REG_MIN /a> 4     4  0x03	
	 a86.cef="drivers/rtc/-m48t8_/rt_read_time24" id.1L24" cl-m48t8_/rt_read_time 0x0(.1Luccef="drivers/rtc/includ24" id.1L24" clinclud/a>#i*f="drivers/rtc/inc24" id.1L24" clinc/a>#, .1Luccef="drivers/rtc//rt_time24" id.1L24" cl/rt_time/a>#i*f="drivers/rtc/tm24" id.1L24" cltm/a>#);3M48T86_REG_MINALRM 4a>   46>>{;3M48T86_REG_HOUR /a>4     47/a>#iG_A /a>unsigned charef="drivers/rtc//eg24" id.1L24" cl/eg/a>#	 20 /a>#include <M48T86_REG_HOURALRM4/a>  48/a>#iG_A /a>.1Luccef="drivers/rtc/	 18 /a>#includ24" id.1L24" cl	 18 /a>#includ/a>#i*f="drivers/rtc/pinc24" id.1L24" clpinc/a>#_REf="drivers/rtc/to_	 18 /a>#includ24" id.1L24" clto_	 18 /a>#includ 0x0(f="drivers/rtc/inc24" id.1L24" clinc/a>#)	 20 /a>#include </* 1 = sun4ay */49/a>#iG_A /a>.1Luccef="drivers/rtc/-m48t8_ops24" id.1L24" cl-m48t8_ops/a>#i*f="drivers/rtc/ops24" id.1L24" clops/a>#iREf="drivers/rtc/pinc24" id.1L24" clpinc/a>#-	 	5 ="drivers/rtc/inc24" id.1L24" clinc/a>#.f="drivers/rtc/	 18 /a>#iata24" id.1L24" cl	 18 /a>#iata/a>#	 20 /a>#include <M48T86_REG_DOM /a> 5     50>>3/* 1 -512 */51/a>#iG_A /a>f="drivers/rtc//eg24" id.1L24" cl/eg/a>#iREf="drivers/rtc/ops24" id.1L24" clops/a>#-	 	5 ="drivers/rtc/readbyte24" id.1L24" cl/eadbyte 0x0(f="drivers/rtc/rtc-m48t86.c#L33" id.1L33" class="line" nam)	 20 /a>#include </* 0 -599 */52>>3M48T86_REG_A /a>   5     53/a>#iG_A /a>if (f="drivers/rtc//eg24" id.1L24" cl/eg/a>#i&ef="drivers/rtc/rtc-m48t86.B_DL29" id.1L29" class="line" B_DL/a>#) {;3EAR" class="sref">M48T86_REG_YEAR /a>         52.1L4">	  	4 /a> spa6 class="comm     55/a>#iG_A /a>iG_A /a>f="drivers/rtc/tm24" id.1L24" cltm/a>#-	 	5 ="drivers/rtc/tm_sec24" id.1L24" cltm_sec/a>#iG_A /REf="drivers/rtc/ops24" id.1L24" clops/a>#-	 	5 ="drivers/rtc/readbyte24" id.1L24" cl/eadbyte 0x0(f="drivers/rtc/rtc-m48t86.c#L22" id.1L22" class="line" nam2.1L)	 20 /a>#include <M48T86_REG_MINALRM 5a>   56/a>#iG_A /a>iG_A /a>f="drivers/rtc/tm24" id.1L24" cltm/a>#-	 	5 ="drivers/rtc/tm_min24" id.1L24" cltm_min/a>#iG_A /REf="drivers/rtc/ops24" id.1L24" clops/a>#-	 	5 ="drivers/rtc/readbyte24" id.1L24" cl/eadbyte 0x0(f="drivers/rtc/rtc-m48t86.c#L24" id.1L24" class="line" nam2.1L)	 20 /a>#include <M48T86_REG_HOUR /a>5     57/a>#iG_A /a>iG_A /a>f="drivers/rtc/tm24" id.1L24" cltm/a>#-	 	5 ="drivers/rtc/tm_hour24" id.1L24" cltm_hour/a>#iG_A REf="drivers/rtc/ops24" id.1L24" clops/a>#-	 	5 ="drivers/rtc/readbyte24" id.1L24" cl/eadbyte 0x0(f="drivers/rtc/rtc-m48t86.c#L26" id.1L26" class="line" nam2.1L26)i&e0x3F	 20 /a>#include <M48T86_REG_HOURALRM5/a>  58/a>#iG_A /a>iG_A /a>f="drivers/rtc/tm24" id.1L24" cltm/a>#-	 	5 ="drivers/rtc/tm_mday24" id.1L24" cltm_mday/a>#iG_A REf="drivers/rtc/ops24" id.1L24" clops/a>#-	 	5 ="drivers/rtc/readbyte24" id.1L24" cl/eadbyte 0x0(f="drivers/rtc/rtc-m48t86.c#L29" id.1L29" class="line" nam2.1L)	 20 /a>#include </* 1 = sun5ay */59/a>#iG_A /a>iG_A /a>fne	 a href="+code=M48T86tm_monc#L70-11EAR" class="sref">M48T86_REG_YEAR /a>         6class="s6ef">M48T86_REG_DOM /a> 6     60/a>#iG_A /a>iG_A /a>f="drivers/rtc/tm24" id.1L24" cltm/a>#-	 	5 ="drivers/rtc/o ="drivers/rtc/tm_mio1.7"
	  >
  v2.6.31.72  
  EAR" class="sref">M48T86_REG_YEAR /a>         52.1L4">	  	4 /a> spa6 class="comm     55/a>#iG_A /a>iG_A /a>f="drivers/rtc/tm24"bcd2bM 5a>   56/a>#iG_bcd2bM Ef="drivers/rtc/ops2 id.1L24" cltm/a>#-	 	5 ="drivers/rtc/tm_sec24" id.1L24" cltm_sec/a>#iG_A /REf="drivers/rtc/ops24" id.1L24" clops/a>#-	 	5 ="drivers/rtc/readbytte24" id.1L24" cl/eadbyte 0x0(f="drive6-m48t86.cc#L5" id.1L5" class="linclass6"line" nam2.1L)	 20 /a>#include <M48T86_REG_MINALRM 5a>   56/a>#iG_A /a>iG_A /a>f="drivers/rtc/tm24"bcd2bM 5a>   56/a>#iG_bcd2bM Ef="drivers/rtc/ops2 id.1L24" cltm/a>#-	 	5 ="drivers/rtc/tm_sec24" id.1L24" cltm_sec/a>#iG_A /REf="drivers/rtc/ops24" id.1L24" clops/a>#-	 	5 ="drivers/rtc/readbytte24" id.1L24" cl/eadbyte 0x0(f="drive6s/rtc/rt6-m48t86.c#L24" id.1L24"6class6"line" nam2.1L)	 20 /a>#include <M48T86_REG_HOUR /a>5     57/a>#iG_A /a>iG_A /a>f="drivers/rtc/tm24" bcd2bM 5a>   56/a>#iG_bcd2bM Ef="drivers/rtc/ops2 id.1L24" cltm/a>#-	 	5 ="drivers/rtc/tm_sec24" id.1L24" cltm_sec/a>#iG_A /REf="drivers/rtc/ops24" id.1L24" clops/a>#-	 	5 ="drivers/rtc/readbyte24" id.1L24"te24" id.1L24" cl/eadbyte 0x0(f="drive6t86.c#L26" id.1L26" class="line"6nam2.6L26)i&e0x3F	 20 /a>#include <M48T86_REG_HOURALRM5/a>  58/a>#iG_A /a>iG_A /a>f="drivers/rtc/tm24" bcd2bM 5a>   56/a>#iG_bcd2bM Ef="drivers/rtc/ops2 id.1L24" cltm/a>#-	 	5 ="drivers/rtc/tm_sec24" id.1L24" cltm_sec/a>#iG_A /REf="drivers/rtc/ops24" id.1L24" clops/a>#-	 	5 ="drivers/rtc/readbytte24" id.1L24" cl/eadbyte 0x0(f="drive6s/rtc/rt6-m48t86.c#L29" id.1L29"6class6"line" nam2.1L)	 20 /a>#include </* 1 = sun5ay */59/a>#iG_A /a>i7_A /a>fn7	 a href="+code=M48T86t7_monc7L70-11EAR" class="sref">M48T86_REG_YEAR /a>         6class="s6ef">M48T86_REG_DOM /a> 6     60/a>#iG_A /a>iG_A /a>f="drivers/rtc/tm24"bcd2bM 5a>   56/a>#iG_bcd2bM Ef="drivers/rtc/ops2 id.1L24" cltm/a>#-	 	5 ="drivers/rtc/tm_sec24" id.1L24" cltm_sec/a>#iG_A /REf="drivers/rtc/ops24" id.1L24"uT86_REG_DOM" class="sref">M48T86_REG_DO))c/rte24" id.1L24" cl/eadbyte 0x0(f="drive7f="inclu7e5class="s5ef">M48T86_R7G_DOM7170-11EAR" class="sref">M48T86_REG_YEAR /a>         6class="s6ef">M48T86_REG_DOM /yea5     57/a>#iG_A /ayea5A /a>f="drivers/rtc/tm24" bcd2bM 5a>   56/a>#iG_bcd2bM Ef="drivers/rtc/ops2 id.1L24" cltm/a>#-	 	5 ="drivers/rtc/tm_sec24" id.1L24" cltm_sec/a>#iG_A /REf="drivers/rtc/ops24" id.1L24"H /a>        0x08  spa6 class="comment)) + 100e24" id.1L24" cl/eadbyte 0x0(f="drive7ivers/rt7/rtc-m48t86.c#L33" id.1733" c7270-11EAR" class="sref">M48T86_REG_YEAR /a>         6class="s6ef">M48T86_REG_DOM /wRM5/a>  58/a>#iG_A /awiG_A /a>f="drivers/rtc/tm24" bcd2bM 5a>   56/a>#iG_bcd2bM Ef="drivers/rtc/ops2 id.1L24" cltm/a>#-	 	5 ="drivers/rtc/tm_sec24" id.1L24" cltm_sec/a>#iG_A /REf="drivers/rtc/ops24" id.1L24" cG_HOURALRM" class="sref">M48T86_REtte24" id.1L24" cl/eadbyte 0x0(f="drive7f="inclu7e5x09  spa5 class="comm7nt">/7 0 -599 */52>}24" id.1L24" cl/eadbyte 0x0(f="drive7tc/rtc-m78t86.B_DL29" id.1L29" c7ass="7>   4     43>>3EAR" cla>#include <	 >iG_>>">	 	  1a> spin 12hri5ght (c) 2006 Tower Tech5     5e/a>#iG_A /a>iG_A 7-m48t86.7c#L5" id.1L5" class="li7class7"line" nam2.1>!;3M48T86_REG_A /a>   5     5c-m48t86.c#3class="s3ef">M48T86_REG_HO)cef="drivers/rtc//rt_time24" id.1L24"7zummo@towwertech.it> /spa623#-	 	5 ="drivers/rtc/tm_sec24" id.1L24" cltm_sec/a>#iG_A /REf="drivers/rtc/ops24" id.1L24" clops/a>#-	 	5 ="drivers/rtc/readbyte24" id.1L280cef="drivers/rtc//rt_time24" id.1L24"7t86.c#L27" id.1L26" class="line"7nam2.7L26)i&e0x3F	 20 /ass="sref">M48T86_REG_YEAR /a>         6class="s6ef">M48T86_REG_DOM //a>5     57/a>#iG_A /a>iG_A /a>+= 12e24" id.1L24" cl/eadbyte 0x0(f="drive7s/rtc/rt7-m48t86.c#L29" id.1L29"7class79   4     43>>3#, .1Lucce24" id.1L24" cl/eadbyte 0x0(f="drive8f="inclu8e5class="s5ef">M48T86_R8G_DOM8170-1}24" id.1L24" cl/eadbyte 0x0(f="drive8ivers/rt8/rtc-m48t86.c#L33" id.1833" c8ass="line" nam)	 20 /a>#include </8 0 -5     44>>3M48T86_REG_sett86.cEf="d4  0x03	
	 a86.cef="drivers/rtc/-m48t8_/rt_read_time24" id.1L24" cl-m48t8_/rt_read_time 0x0(.1Luccef="drivers/rtc/includ24" id.1L24" clinclud/a>#i*f="drivers/rtc/inc24" id.1L24" clinc/a>#, .1Luccef="drivers/rtc//rt_time24" id.1L24"8tc/rtc-m88t86.B_DL29" id.1L29" c8ass="8EG_HO id.1L24" cl/eg/a>#i&ef="drivers/8a>fne	 a8href="+code=M48T86iata 8="lin8)L12">EAR" clgt{;3M48T86_REG_HOUR /a>4     47/a>#iG_A /a8-m48t86.8c#L5" id.1L5" class="li8class8"line" nam2.1>#	 20 /a>#include <M48T86_REG_HOURALRM4/a>  48/a>#iG_A /a>.1Luccef="drivers/rtc/	 18 /a>#includ24" id.1L24" cl	 18 /a>#includ/a>#i*f="drivers/rtc/pinc24" id.1L24" clpinc/a>#_REf="drivers/rtc/to_	 18 /a>#includ24" id.1L24" cl>#iG_A /a8zummo@to8wertech.it> /spa623<8class87line" nam2.1>#	 20 /a>#include </* 1 = sun4ay */49/a>#iG_A /a>.1Luccef="drivers/rtc/-m48t8_ops24" id.1L24" cl-m48t8_ops/a>#i*f="drivers/rtc/ops24" id.1L24" clops/a>#iREf="drivers/rtc/pinc24" id.1L24" clpinc/a>#-	 	5 ="drivers/rtc/inc24" id.1L24" clincl>#iG_A /a8d.1L7" cllass="line" nam2.1L7">	 nam2.88ss="line" nam)	 20 /a>#include </* 1 -512 */51/a>#iG_A /a>f="drivers/rtc//eg24" id.1L24" cl/eg/a>#iREf="drivers/rtc/ops24" id.1L24" clops/a>#-	 	5 ="drivers/rtc/readbyte24" id.1L24" cl/eadbyte 0x0(f="d9_A /a>fn9	 a href="+code=M48T86t9_monc918 /a>#iata/a>#	 20 /a>#include <M48T86_R9G_DOM9/a> 5     50>&>#include <#iG_A /a>iG_A 9ivers/rt9/rtc-m48t86.c#L33" id.1933" c92line" nam2.13/* 1 |f">M48T86_REG_A /a>   5     5c-m48t86.c#3class="s3ef">M48T86_REG_HOdbyte24" id.1L24" cl/eadbyte 0x0(f="d9f="inclu9e5x09  spa5 class="comm9nt">/93line" nam2.13/* 1 -512 */51/a>#iG_A /a>f="drivers/write/eg24" id.1L24" cl/write/eg2Ef="drivers/rtc/ops2rs/rtc/rtc-m48t86.c#5clas, /a>#define	 a href="+code=M48T86_REG_A" class="sref">M48T8adbyte24" id.1L24" cl/eadbyte 0x0(f="d9tc/rtc-m98t86.B_DL29" id.1L29" c9ass="9>   4     43>>3EAR" cl>3M48T86_REG_A /a>   5     53/a>#iG_A /a>if (f="drivers/rtc//eg24" id.1L24" cl/eg/a>#i&ef="drivers/9-m48t86.9c#L5" id.1L5" class="li9class9"line" nam2.1L)	 20 /aref="drivers/rtc/rtc-m48t86.c#5* Copyri5ght (c) 2006 Tower Tech5     5e/a>#iG_A /a>iG_A 9zummo@to9wertech.it> /spa623<9class9"line" nam2.1L)	 20 /a>#include <omment">/* 1 -512 */51/a>#iG_A /a>f="drivers/write/eg24" id.1L24" cl/write/eg2Ef="drivers/rtc/ops2EAR /a>         52.1L4">	  	4 /a> spa6 class="comm     55/a>#iG_A /a>iG_A , /a>#define	 a href="+code= clops/a>#-	 	5 ="drivers/rtc/readbyte24" id.1L24" cl/eadbyte 0x0(f="drive9d.1L7" c9lass="line" nam2.1L7">	9nam2.9L26)i&e0x3F	 20 /a>#include <omment">/* 1 -512 */51/a>#iG_A /a>f="drivers/write/eg24" id.1L24" cl/write/eg2Ef="drivers/rtc/ops2EAR /a>         52.1L4">	  	4 /a> spa6 class="RM 5a>   56/a>#iG_A /a>iG_A , /a>#define	 a href="+code= clops/a>#-	 	5 ="drivers/rtc/readbyte24" id.1L24" cl/eadbyte 0x0(f="drive9" id.1L8"" class="line" nam2.1L8"class9"line" nam2.1L)	 20 /a>#include <omment">/* 1 -512 */51/a>#iG_A /a>f="drivers/write/eg24" id.1L24" cl/write/eg2Ef="drivers/rtc/ops2EAR /a>         52.1L4">	  	4 /a> spa6 class="/a>5     57/a>#iG_A /a>iG_A /a, /a>#define	 a href="+code= clops/a>#-	 	5 ="drivers/rtc/readbyte2ref="drivers/rtc/rtc-m48t86.c#L18" id.0rs/rtc/rtcc-m48t86.c#L9" id.1L9" cl_moncl_line" nam2.1L)	 20 /a>#include <omment">/* 1 -512 */51/a>#iG_A /a>f="drivers/write/eg24" id.1L24" cl/write/eg2Ef="drivers/rtc/ops2EAR /a>         52.1L4">	  	4 /a> spa6 class="LRM5/a>  58/a>#iG_A /a>iG_A /a, /a>#define	 a href="+code= clops/a>#-	 	5 ="drivers/rtc/readbyte24" id.1L24" cl/eadbyte 0x0(f="drive10ftware Fo0undav2.6. /spa623M48T86_REG_Yomment">/* 1 -512 */51/a>#iG_A /a>f="drivers/write/eg24" id.1L24" cl/write/eg2Ef="drivers/rtc/ops2EAR /a>         52.1L4">	  	4 /a> spa6 class="L> 6     60/a>#iG_A /a>iG_A /+ 1, /a>#define	 a href="+code= T86_REG_DOM" class="sref">M48T86_REG_DO)e24" id.1L24" cl/eadbyte 0x0(f="drive10d.1L11" c0lass="line" nam2.1L11">	02moncl270-11EAR" class="sref">M48T86_REG_Yomment">/* 1 -512 */51/a>#iG_A /a>f="drivers/write/eg24" id.1L24" cl/write/eg2Ef="drivers/rtc/ops2EAR /a>         52.1L4">	  	4 /a> spa6 class="yea5     57/a>#iG_A /ayea5A /a>%ncl_, /a>#define	 a href="+code=H /a>        0x08  spa6 class="comment)e24" id.1L24" cl/eadbyte 0x0(f="drive1012" class0="line" nam2.1L12">	 12 03moncl370-11EAR" class="sref">M48T86_REG_Yomment">/* 1 -512 */51/a>#iG_A /a>f="drivers/write/eg24" id.1L24" cl/write/eg2Ef="drivers/rtc/ops2EAR /a>         52.1L4">	  	4 /a> spa6 class="wRM5/a>  58/a>#iG_A /awiG_A /a, /a>#define	 a href="+code= cG_HOURALRM" class="sref">M48T86_REte24" id.1L24" cl/eadbyte 0x0(f="drive10623#} else" id.1L24" cl/eg/a>#i&ef="drivers/10523EAR" class="srefref="drivers/rtc/rtc-m48bcdri5ght (c) 2006 Tower Tech5     5e/a>#iG_A /a>iG_A 10ine" nam20.1L14">	 14 /a> spa6 cla06roncl"line" nam2.1L)	 20 /a>#include <omment">/* 1 -512 */51/a>#iG_A /a>f="drivers/write/eg24" id.1L24" cl/write/eg2Ef="drivers/rtc/ops25* 2bcd5a>   56/a>#iG_b* 2bcdEf="drivers/rtc/ops2EAR /a>         52.1L4">	  	4 /a> spa6 class="comm     55/a>#iG_A /a>iG_A ), /a>#define	 a href="+code= clops/a>#-	 	5 ="drivers/rtc/readbyte24" id.1L24" cl/eadbyte 0x0(f="drive10-m48t86.c0#L16" id.1L16" class="li07roncl"line" nam2.1L)	 20 /a>#include <omment">/* 1 -512 */51/a>#iG_A /a>f="drivers/write/eg24" id.1L24" cl/write/eg2Ef="drivers/rtc/ops25* 2bcd5a>   56/a>#iG_b* 2bcdEf="drivers/rtc/ops2EAR /a>         52.1L4">	  	4 /a> spa6 class="RM 5a>   56/a>#iG_A /a>iG_A ), /a>#define	 a href="+code= clops/a>#-	 	5 ="drivers/rtc/readbyte24" id.1L24" cl/eadbyte 0x0(f="drive10tc/rtc-m408t86.c#L17" id.1L17" cla08ronclL26)i&e0x3F	 20 /a>#include <omment">/* 1 -512 */51/a>#iG_A /a>f="drivers/write/eg24" id.1L24" cl/write/eg2Ef="drivers/rtc/ops25* 2bcd5a>   56/a>#iG_b* 2bcdEf="drivers/rtc/ops2EAR /a>         52.1L4">	  	4 /a> spa6 class="/a>5     57/a>#iG_A /a>iG_A /a), /a>#define	 a href="+code= clops/a>#-	 	5 ="drivers/rtc/readbyte2ref="drivers/rtc/rtc-m48t86.c#L18" id.01L18" cla0ss="line" nam2.1L18">	 109roncl"line" nam2.1L)	 20 /a>#include <omment">/* 1 -512 */51/a>#iG_A /a>f="drivers/write/eg24" id.1L24" cl/write/eg2Ef="drivers/rtc/ops25* 2bcd5a>   56/a>#iG_b* 2bcdEf="drivers/rtc/ops2EAR /a>         52.1L4">	  	4 /a> spa6 class="RRM5/a>  58/a>#iG_A /a>iG_A /a), /a>#define	 a href="+code= clops/a>#-	 	5 ="drivers/rtc/readbyte24" id.1L24" cl/eadbyte 0x0(f="drive1ers/rtc/rttc-m48t86.c#L9" id.1L9" cclass11_line" nam2.1L)	 20 /a>#include <omment">/* 1 -512 */51/a>#iG_A /a>f="drivers/write/eg24" id.1L24" cl/write/eg2Ef="drivers/rtc/ops25* 2bcd5a>   56/a>#iG_b* 2bcdEf="drivers/rtc/ops2EAR /a>         52.1L4">	  	4 /a> spa6 class="R> 6     60/a>#iG_A /a>iG_A /+ 1), /a>#define	 a href="+code= T86_REG_DOM" class="sref">M48T86_REG_DO)e24" id.1L24" cl/eadbyte 0x0(f="drive1oftware Fouundav2.6. /spa623M48T86_REG_Yomment">/* 1 -512 */51/a>#iG_A /a>f="drivers/write/eg24" id.1L24" cl/write/eg2Ef="drivers/rtc/ops25* 2bcd5a>   56/a>#iG_b* 2bcdEf="drivers/rtc/ops2EAR /a>         52.1L4">	  	4 /a> spa6 class="yea5     57/a>#iG_A /ayea5A /a>%ncl_), /a>#define	 a href="+code=H /a>        0x08  spa6 class="comment)e24" id.1L24" cl/eadbyte 0x0(f="drive1id.1L11" cclass="line" nam2.1L11">		 11 11270-11EAR" class="sref">M48T86_REG_Yomment">/* 1 -512 */51/a>#iG_A /a>f="drivers/write/eg24" id.1L24" cl/write/eg2Ef="drivers/rtc/ops25* 2bcd5a>   56/a>#iG_b* 2bcdEf="drivers/rtc/ops2EAR /a>         52.1L4">	  	4 /a> spa6 class="wRM5/a>  58/a>#iG_A /awiG_A /a), /a>#define	 a href="+code= cG_HOURALRM" class="sref">M48T86_REte24" id.1L24" cl/eadbyte 0x0(f="drive1L12" classs="line" nam2.1L12">	 12  /a> 11 0 -599 */52>}24" id.1L24" cl/eadbyte 0x0(f="drive1a623EAR" cla>#include <#iG_A /a>iG_A 1line" nam22.1L14">	 14 /a> spa6 claass="11"line" nam2.13/* 1e24" id.1L24" cl/eadbyte 0x0(f="drive1L-m48t86.cc#L16" id.1L16" class="liine" 117line" nam2.13/* 1 -512 */51/a>#iG_A /a>f="drivers/write/eg24" id.1L24" cl/write/eg2Ef="drivers/rtc/ops2rs/rtc/rtc-m48t86.c#5clas, /a>#define	 a href="+code=M48T86_REG_A" class="sref">M48T8adbyte24" id.1L24" cl/eadbyte 0x0(f="d1rtc/rtc-m448t86.c#L17" id.1L17" claass="118ss="line" nam)	 20 /a>#include <	 118 /a11"line" nam2.1f="+pre0e24" id.1L24" cl/eadbyte 0x0(f="drive1c-m48t86.1c#L19" id.1L19" class="l1ine" 1am2.1L}24" id.1L24" cl/eadbyte 0x0(f="drive1rtc/rtc-m148t86.c#L20" id.1L20" cl1ass="1ine" nam2.1L20">	 20 /a>#include <1inux/b     44>>3
_/rt_read_time seq_1">
ime24" id.1L24" cl-m4seq_/rt_read_time seq48T8aam2.1L20">	 20 /a>#include <#i&ef="drivers/16.c#L23" 1id.1L23" class="line" na1m2.1L1REG_HOUR /a>3 gt{;3M48T86_REG_HOUR /a>4     47/a>#iG_A /a148t86.c#L124" id.1L24" class="line1" nam12)L12">EAR" cl>#	 20 /a>#include <M48T86_REG_HOURALRM4/a>  48/a>#iG_A /a>.1Luccef="drivers/rtc/	 18 /a>#includ24" id.1L24" cl	 18 /a>#includ/a>#i*f="drivers/rtc/pinc24" id.1L24" clpinc/a>#_REf="drivers/rtc/to_	 18 /a>#includ24" id.1L24" cl>#iG_A /a14ine" nam2id.1L25" class="line" na1m2.1L12"line" nam2.1>#	 20 /a>#include </* 1 = sun4ay */49/a>#iG_A /a>.1Luccef="drivers/rtc/-m48t8_ops24" id.1L24" cl-m48t8_ops/a>#i*f="drivers/rtc/ops24" id.1L24" clops/a>#iREf="drivers/rtc/pinc24" id.1L24" clpinc/a>#-	 	5 ="drivers/rtc/inc24" id.1L24" clincl>#iG_A /a14-m48t86.c6" id.1L26" class="line"1 nam211L26">/rtc/inc24" id.1L24" clincl>#iG_A /a14tc/rtc-m4d.1L27" class="line" nam12.1L2128line" nam2.13/* 1 -512 */51/a>#iG_A /a>f="drivers/rtc//eg24" id.1L24" cl/eg/a>#iREf="drivers/rtc/ops24" id.1L24" clops/a>#-	 	5 ="drivers/rtc/readbyte24" id.1L24" cl/eadbyte 0x0(f="d1	 28 /a>#1define	 a href="+code=M418T86_129   4     43>>3/* 0 -499 */4/spa6i5gh\t\t:>%s\na href="drive,     43>>3M48T86_REG_A /a>   5     53/a>#iG_A /a>if (f="drivers/rtc//eg24"?"comment">/* 0 -499 */4/spa65* Copa href="drive :"comment">/* 0 -499 */4/spa65cda href="driveadbyte24" id.1L24" cl/eadbyte 0x0(f="d11">	 31 /1a>#define	 a href="+code1=M48T13ass="line" nam)	 20 /a>#include </* 1 -512 */51/a>#iG_A /a>f="drivers/rtc//eg24" id.1L24" cl/eg/a>#iREf="drivers/rtc/ops24" id.1L24"v72e="v2.6.32.2"
	135.3ef">M48T8adbyte24" id.1L24" cl/eadbyte 0x0(f="d11.c#L23" 1#L33" id.1L33" class="li1ne" n13>   4     43>>3	 116 /a135line" nam2.13/* 0 -499 */4/spa6battery\t\t:>%s\na href="drive,     43>>3M48T86_REG_A /a>   5    rtc-m48t86.c#4class="s4ef">M48T86_REG_DO4"?"comment">/* 0 -499 */4/spa6oka href="drive :"comment">/* 0 -499 */4/spa6exhausteda href="driveadbyte24" id.1L24" cl/eadbyte 0x0(f="d11-m48t86.c32.class="s3ef">M48T86_R1EG_MI13L26">/rtc/inc24" id.1L24" clincl>#iG_A /a1">M48T8611L33" class="line"_Hre/a>1#iG_A138line" nam2.1f="+pre0e24" id.1L24" cl/eadbyte 0x0(f="drive19" id.1L219" class="line" B_DL/a>#1iG_A 1a> (1f}24" id.1L24" cl/eadbyte 0x0(f="drive19" id.1L219" class="line" B_.1T/a>1#iG_A1418 /a>#iata/a>#	 20 /a>#include <1#iG_A1/a>(1f     44constccef="drivers/rtc/includ24"lass=ef="include4 spa6 cd24"lass=ef="line";3#i&ef="drivers/1c-m48t86.1c#4x08  spa4 class="comm1ent">14270-11EAR" cl>#iREf="drivers/-m48t86.c#42"
	135.4ef">MIN /a> 4    AR" cl08  spa5 class="cl4ss="c/rtc-m48t86.c#42"
	135.4ef">M48T86_REG_MIN /a> 4    ,     43>>3&quo14370-11EAR" cl>#iREf="drivers/sett86.c#42"
	135.4ef">sett86.cEf=" AR" cl08  spa5 class="cl4ss="c/rtcsett86.c#42"
	135.4ef">M48T86_REG_sett86.cEf=",     43>>3#iREf="drivers/promm     55/a>#iG_promEf=".1L)	 20 /t08  spa5 class="cl4ss="c/rtcpromm     55/a>#iG_ers/rtc/rtcpromEf=",     43>>3       D 0 1MA01L3           9cv71-m48t86.c1#4class="s4ef">M48T86_RE1G_MIN1LRM 4a     44>>3M48T86_REG_probcEf="d4  0x03	
	 a86.cef="dr;M48T86_REG_HOURALRM4/a>  48/a>#iG_Aa>#_REf="drivers/rtc/to_	 /a>       D 0 1MA01L3           9cv71->M48T8611 charef="drivers/rtc//eg124" i1.1L24" id.1L24" cl/eg/a>#i&ef="drivers/1c" id.1L21 0x0(f="drivers/rtc/inc214" id11L24" clinc/a>gt{;3M48T86_REG_HOUR /a>4     47/a>#iG_A /a1ivers/rtc1/	 18 /a>#iata24" id.1L214" cl150line" nam2.1>#	 20 /a>#include </* 1 = sun4ay */49/a>#iG_A /a>.1Luccef="drivers/rtc/-m48t8_a>#_REf="drivers/rtc/to_	s/a>#i*f="drivers/rtc/ops24" id.1L24" clops/a>#iREf="drivers/rtc/pinc24" id.1L24" clpinc/a>#-	 	5 ="drivers/rtc/inc24" id.1L24" clincl>#iG_A /a1ef="inclu1de5class="s5ef">M48T86_R1EG_DO1 /a> 5     50>cef="drivers/rtc/includ24""include4class="s4ef"d24""incluent">/* 1 = sun4ay */d24de4class="s4ef"d24f="drivers/rtc/-m48t8_d24""inclu_MIgiste5     57/a>#iG_Ad24""inclu_MIgiste5Ef="dromment">/* 0 -499 */4/spa6i>#iG_a href="drive,     43>>3#_REf="drivers/rtc/to_	s/a>#i*f="drivers/rtc/ops24" id.1L24" clops/a,e="s5eers/rtc/-m48t8_ers/rtc/rtcf="include4 spa6 cl4ss="c/rtcf="clas, /a>#define	 a hTHIS_MODULEinclude4 spa6 cTHIS_MODULE48T8adbyte24" id.1L24" cl/eadbyte 0x0(f="d1ef="inclu1de5x09  spa5 class="comm1ent">150.1"" nam2.1L3">	 	3 /a> spa6 class=1rtc/rtc-m148t86.B_DL29" id.1L29" c1lass=1line" B_DL/a>#>3fne	 a1 href="+code=M48T86iata 1(="li1e)L12">EAR" class="sref="+preers/rtc/tm_sec2PTR_ERa>        0x08  PTR_ERaEf="drivers/rtc/ops2r24de4class="s4ef"d24f="d)dbyte24" id.1L24" cl/eadbyte 0x0(f="d1ecl/rt_ti1c-m48t86.c#L22" id.1L22"1 clas15iG_A /a>       D 0 1MA01L3           9cv71rs/rtc/rt1c-m48t86.c#L24" id.1L24"1 clas157line" nam2.13#-	 	5 settdrv4" i24" id.1L24" clpinc/a>#_REf="drivers/rtc/to_	, /a>#define	 a hr24de4class="s4ef"d24f="d)dbyte24" id.1L24" cl/eadbyte 0x0(f="d1e>M48T86116" id.1L26" class="line"1 nam2158ss="line" nam)	 20 /a>#include <#include </* 1 -512 */51/a>#iG_A /a>f="drivers/rtc//eg24" id.1L24" cl/eg/a>#iREf="drivers/rtc/ops24" id.1L24"v72e="v2.6.32.2"
	135.3ef">M48T8adbyte24" id.1L24" cl/eadbyte 0x0(f="d16f="inclu16e5class="s5ef">M48T86_R16G_DO16/a> 5     50>>3#_REf="drivers/rtc/to_	s/a>#i*f="drivers/rtc/ops24" id.1L24" clops/a,ecomment">/* 0 -499 */4/spa6battery>%s\na href="drive,     43>>3M48T86_REG_A /a>   5    rtc-m48t86.c#4class="s4ef">M48T86_REG_DO4"?"comment">/* 0 -499 */4/spa6oka href="drive :"comment">/* 0 -499 */4/spa6exhausteda href="driveadbyte24" id.1L24" cl/eadbyte 0x0(f="d16f="inclu16e5x09  spa5 class="comm16nt">160.1"" nam2.1L3">	 	3 /a> spa6 class=16tc/rtc-m168t86.B_DL29" id.1L29" c16ass=16ine" B_DL/a>#f="+pre0e24" id.1L24" cl/eadbyte 0x0(f="drive16a>fne	 a16href="+code=M48T86iata 16="li16)L12"}24" id.1L24" cl/eadbyte 0x0(f="drive16-m48t86.1cc#L5" id.1L5" class="li1nclas16iG_A /a>       D 0 1MA01L3           9cv716s/rtc/rt16-m48t86.c#L24" id.1L24"16clas16RM 4a     44>>3M48T86_REG_MImovcEf="d4  0x03	
	 a86.cef="dr;M48T86_REG_HOURALRM4/a>  48/a>#iG_Aa>#_REf="drivers/rtc/to_	 /a>       D 0 1MA01L3           9cv716t86.c#L216" id.1L26" class="line"16nam2161L24" id.1L24" cl/eg/a>#i&ef="drivers/16s/rtc/rt16-m48t86.c#L29" id.1L29"16clas16L24" clinc/a>#)	 20 /a>#include <d24""include4class="s4ef"d24""incluent">/* 1 = sun4ay */d24de4class="s4ef"d24f="drivers/rtc/-m48t8_>M48T86_Rgettdrv4" id.1L24" clpinc/a>#-	 	5 gettdrv4" i24" id.1L24" clpinc/a>#_REf="drivers/rtc/to_	adbyte24" id.1L24" cl/eadbyte 0x0(f="d17_A /a>fn17	 a href="+code=M48T86t17_mon1718 /a>#iata/a>#	 20 /a>#include <M48T86_R17G_DO17170-11EAR" cl>3M48T86_REG_Yd24""inclu_unMIgiste5     57/a>#iG_Ad24""inclu_unMIgiste5Ef="drivers/rtc/ops2r24de4class="s4ef"d24f="d)dbyte24" id.1L24" cl/eadbyte 0x0(f="d17f="inclu17e5x09  spa5 class="comm17nt">170.1"" nam2.1L3">	 	3 /a> spa6 class=17tc/rtc-m178t86.B_DL29" id.1L29" c17ass=174a> 5     50>>3#-	 	5 settdrv4" i24" id.1L24" clpinc/a>#_REf="drivers/rtc/to_	, /a>#define	 a hNULL_REf="drivers/rNULLf="d)dbyte24" id.1L24" cl/eadbyte 0x0(f="d17a>fne	 a17href="+code=M48T86iata 17="li17)L12"byte24" id.1L24" cl/eadbyte 0x0(f="d17-m48t86.17c#L5" id.1L5" class="li17clas17"line" nam2.1f="+pre0e24" id.1L24" cl/eadbyte 0x0(f="drive17zummo@to1wwertech.it> /spa623<1aclas17"line}24" id.1L24" cl/eadbyte 0x0(f="drive17t86.c#L217" id.1L26" class="line"17nam2178ss="line" nam)	 20 /a>#include <M48T86_RE 20 /line";3#i&ef="drivers/18_A /a>fn18	 a href="+code=M48T86t18_mon18L70-11EAR" cl>#iREf="drivers/" 20 /de4class="s4ef"" 20 /classssssssss08 id.1L24" cl/eg/a>#i&ef="drivers/18f="inclu18e5class="s5ef">M48T86_R18G_DO18170-11EAR" class="sre>#iREf="drivers/48T8de4class="s4ef"48T870-11EA="comment">/* 0 -499 */4/spa6p;ef="driva href="drive,     43>>3>318 0 -599 */52>},     43>>3#iREf="drivers/probc#42"
	135.4ef">probcEf="class="sre08  spa5 class="cl4ss="c/rtcprobc#42"
	135.4ef">M48T86_REG_probcEf=",     43>>3EAR" cl>#iREf="drivers/-mmovc#42"
	135.4ef">MImovcEf="lass="sre08  spa5 class="c_tc/pexit_pm     55/a>#iG__tc/pexit_p24" id.1L24" clpinc/ers/rtc/rtcremovc#42"
	135.4ef">M48T86_REG_MImovcEf="),     43>>3/rtc/inc24" id.1L24" clincl>#iG_A /a18d.1L7" c1llass="line" nam2.1L7">	1 nam2188ss="d.1L24" clpinc/eodulecp>3M48T86_REG_A /ODULE_AUTHOa>        0x08  sODULE_AUTHOaEf="dromment">/* 0 -499 */4/spa6Alessandro Zummo  4  a.zummo@towertech.it/a>#a href="driveadbyte24" id.1L24" cl/eadbyte 0x0(f="d19f="inclu19e5class="s5ef">M48T86_R19G_DO19/a> 5">M48T86_REG_A /ODULE_DESCRIPTtc/rtc-m48t86.c#4x/ODULE_DESCRIPTtc/Ef="dromment">/* 0 -499 */4/spa6"s4ef" RTC .1L24"a href="driveadbyte24" id.1L24" cl/eadbyte 0x0(f="d19ivers/rt19/rtc-m48t86.c#L33" id.11933" 192line">M48T86_REG_A /ODULE_LICENSEinclude4 spa6 c/ODULE_LICENSEEf="dromment">/* 0 -499 */4/spa6GPLa href="driveadbyte24" id.1L24" cl/eadbyte 0x0(f="d19f="inclu19e5x09  spa5 class="comm19nt">193line">M48T86_REG_A /ODULE_rs/rtc/rtc-m48t86.c#4x/ODULE_rs/rtc/24" id.1L24" clpinc/rivers/rtc/rtc-m48t86.c#4x09  spa4 class=adbyte24" id.1L24" cl/eadbyte 0x0(f="d19tc/rtc-m198t86.B_DL29" id.1L29" c19ass=19>   4">M48T86_REG_A /ODULE_ALIAS>        0x08  sODULE_ALIASEf="dromment">/* 0 -499 */4/spa6p


The original LXR software byt"> yte24" idhttp://sourcehrege.net/projects/lx5 >LXR t;lx5@e=Mux.nops/a>
lx5.e=Mux.no kindly hosted bytyte24" idhttp://www.redpill-e=Mpro.no">Redpill L=Mpro ASEf=", provider of L=Mux4consult99 ommenoper ons sernclus sincei1995.