linux/drivers/watchdog/wdt285.c
<<
6.32on>/spa0/o on>/form/o on>a 6.32on href="../linux+v3.7.5/drivers/watchdog/wdt285.c">6.32on>img src="../.static/gfx/right.png" alt=">>">6.>/spa0/o6.>spa0 class="lxr_search">6.326.32on>input typon hidden" namon navtarget" option ">6.32on>input typon text" namon search" idn search">6.32on>butt Search/form/o >/spa0/o6.>spa0 class="lxr_prefs"/o on>a href="+prefs?return=drivers/watchdog/wdt285.c"6.32on onclick="return ajax_prefs();">6.32onPrefso on>/a>6.>/spa0/o32on n>/div/o32on n>form ac2.70="ajax+*" method="post" onsubmit="return false;">6.>input typon hidden" namon ajax_lookup" idn ajax_lookup" option ">632on n>/form/o632on n>div class="headingbott m">
div idn search_results" class="search_results"o o/o32on n>/div/o >div idn content">o >div idn file_contents"/
n n1>/a>>spa0 class="comment">/*>/spa0/on n2>/a>>spa0 class="comment"> *32on nIntel 21285 watchdog driver>/spa0/on n3>/a>>spa0 class="comment"> *32on nCopyright (c) Phil Blundell <pb@nexus.co.uk>, 1998>/spa0/on n4>/a>>spa0 class="comment"> *>/spa0/on n5>/a>>spa0 class="comment"> *32on nbased on>/spa0/on n6>/a>>spa0 class="comment"> *>/spa0/on n7>/a>>spa0 class="comment"> *32on nSoftDog 0.05:n nAnSoftware Watchdog Device>/spa0/on n8>/a>>spa0 class="comment"> *>/spa0/on n9>/a>>spa0 class="comment"> *32on n(c) Copyright 1996 Ala0 Cox <ala0@lxorguk.ukuu.org.uk>,>/spa0/on 326.a>>spa0 class="comment"> *32on nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnAll Rights Reserved.>/spa0/on 11>/a>>spa0 class="comment"> *>/spa0/on 12>/a>>spa0 class="comment"> *32on nThis program is free software; you ca0 redistribute it and/or>/spa0/on 13>/a>>spa0 class="comment"> *32on nmodify it under the terms of the GNU General Public License>/spa0/on 14>/a>>spa0 class="comment"> *32on nas published by the Free Software Founda2.70; either version>/spa0/on 15>/a>>spa0 class="comment"> *32on n2 of the License, or (at your .32.70) any later version.>/spa0/on 16>/a>>spa0 class="comment"> *>/spa0/on 17>/a>>spa0 class="comment"> */>/spa0/on 18>/a>on 19>/a>#definen>a href="+code=pr_fmt" class="sref">pr_fmt>/a>(>a href="+code=fmt" class="sref">fmt>/a>)n>a href="+code=KBUILD_MODNAME" class="sref">KBUILD_MODNAME>/a> >spa0 class="string">": ">/spa0/n>a href="+code=fmt" class="sref">fmt>/a>on 20>/a>on 21>/a>#include <linux/module.h>/a>>on 22>/a>#include <linux/moduleparam.h>/a>>on 23>/a>#include <linux/typos.h>/a>>on 24>/a>#include <n 24>/a>#s="fref">linux/moduleparam.h>/a>>on 15>/a>>spa0 clas2="com25ef="include/likerrelon L24">n 24>/a>#s="fx/typos.h>/a>>on 16>/a>>spa0 clas2="com26ef="include/linux/moduleparam.h" class="fx/moduleparam.h>/a>>on 17>/a>>spa0 clas2="com27ef="include/linux/moduleparam.h" class="fiscddrive/moduleparam.h>/a>>on 18>/a>on 19>/a>#definen>a2href=29ef="include/linux/moduleparam.h" class="reboot/moduleparam.h>/a>>oreboot/mers/watchdog/wdt285.c#L23" idn L23" class="li3e" namon3L20">n 20>/a>on 21>/a>#include &3t;/a>>oin hrrupt/mers/watchdog/wdt285.c#L23" idn L23" class="li3e" namon3L22">n 22>/a>#include &3t;n n3>/a>>spa0 class=t;irq/moduleparam.h>/a>>oirq/mers/watchdog/wdt285.c#L23" idn L23" class="li3e" namon3L24">n 24>/a>#include &3t;n 24>/mach/hardr ve/moduleparam.h>/amach/hardr ve/mers/watchdog/wdt285.c#L23" idn L23" class="li3e" namon3L15">n 15>/a>>spa0 clas3="com35watchdog/wdt285.c#L21" idn L21" class="li3e" namon3L16">n 16>/a>>spa0 clas3="com36ef="include/linux/modulepa+ambig=">n 24>/asm-alpha/mach-f="driv|">n 24>/asm-arm/mach-f="driv|">n 24>/asm-avr32/mach-f="driv|">n 24>/asm-black_fm/mach-f="driv|">n 24>/asm-cris/mach-f="driv|">n 24>/asm-frv/mach-f="driv|">n 24>/asm-g/spaic/mach-f="driv|">n 24>/asm-h8300/mach-f="driv|">n 24>/asm-i386/mach-f="driv|">n 24>/asm-ia64/mach-f="driv|">n 24>/asm-m32r/mach-f="driv|">n 24>/asm-m68k/mach-f="driv|">n 24>/asm-m68knhreu/mach-f="driv|">n 24>/asm-mips/mach-f="driv|">n 24>/asm-mips64/mach-f="driv|">n 24>/asm-f="isc/mach-f="driv|">n 24>/asm-fowerpc/mach-f="driv|">n 24>/asm-fpc/mach-f="driv|">n 24>/asm-s390/mach-f="driv|">n 24>/asm-sh/mach-f="driv|">n 24>/asm-sh64/mach-f="driv|">n 24>/asm-mt"rc/mach-f="driv|">n 24>/asm-st"rc64/mach-f="driv|">n 24>/asm-um/mach-f="driv|">n 24>/asm-v850/mach-f="driv|">n 24>/asm-x86/mach-f="driv|">n 24>/asm-x86_64/mach-f="driv|">n 24>/asm-xt70)a/mach-f="drivoduleparamal"drasm/mach-f="drivers/watchdog/wdt285.c#L23" idn L23" class="li3e" namon3L17">n 17>/a>>spa0 clas3="com37ef="include/linux/modulepa+ambig=">n 24>/asm-alpha/system_infoiv|">n 24>/asm-arm/system_infoiv|">n 24>/asm-avr32/system_infoiv|">n 24>/asm-black_fm/system_infoiv|">n 24>/asm-cris/system_infoiv|">n 24>/asm-frv/system_infoiv|">n 24>/asm-g/spaic/system_infoiv|">n 24>/asm-h8300/system_infoiv|">n 24>/asm-i386/system_infoiv|">n 24>/asm-ia64/system_infoiv|">n 24>/asm-m32r/system_infoiv|">n 24>/asm-m68k/system_infoiv|">n 24>/asm-m68knhreu/system_infoiv|">n 24>/asm-mips/system_infoiv|">n 24>/asm-mips64/system_infoiv|">n 24>/asm-f="isc/system_infoiv|">n 24>/asm-fowerpc/system_infoiv|">n 24>/asm-fpc/system_infoiv|">n 24>/asm-s390/system_infoiv|">n 24>/asm-sh/system_infoiv|">n 24>/asm-sh64/system_infoiv|">n 24>/asm-mt"rc/system_infoiv|">n 24>/asm-mt"rc64/system_infoiv|">n 24>/asm-um/system_infoiv|">n 24>/asm-v850/system_infoiv|">n 24>/asm-x86/system_infoiv|">n 24>/asm-x86_64/system_infoiv|">n 24>/asm-xt70)a/system_infoivoduleparamal"drasm/system_infoivers/watchdog/wdt285.c#L23" idn L23" class="li3e" namon3L18">n 18>/a>on 24>/asm-arm/hardr ve/dec/spa0iv|">n 24>/asm-avr32/hardr ve/dec/spa0iv|">n 24>/asm-black_fm/hardr ve/dec/spa0iv|">n 24>/asm-cris/hardr ve/dec/spa0iv|">n 24>/asm-frv/hardr ve/dec/spa0iv|">n 24>/asm-g/spaic/hardr ve/dec/spa0iv|">n 24>/asm-h8300/hardr ve/dec/spa0iv|">n 24>/asm-i386/hardr ve/dec/spa0iv|">n 24>/asm-ia64/hardr ve/dec/spa0iv|">n 24>/asm-m32r/hardr ve/dec/spa0iv|">n 24>/asm-m68k/hardr ve/dec/spa0iv|">n 24>/asm-m68knhreu/hardr ve/dec/spa0iv|">n 24>/asm-mips/hardr ve/dec/spa0iv|">n 24>/asm-mips64/hardr ve/dec/spa0iv|">n 24>/asm-f="isc/hardr ve/dec/spa0iv|">n 24>/asm-fowerpc/hardr ve/dec/spa0iv|">n 24>/asm-fpc/hardr ve/dec/spa0iv|">n 24>/asm-s390/hardr ve/dec/spa0iv|">n 24>/asm-sh/hardr ve/dec/spa0iv|">n 24>/asm-sh64/hardr ve/dec/spa0iv|">n 24>/asm-mt"rc/hardr ve/dec/spa0iv|">n 24>/asm-mt"rc64/hardr ve/dec/spa0iv|">n 24>/asm-um/hardr ve/dec/spa0iv|">n 24>/asm-v850/hardr ve/dec/spa0iv|">n 24>/asm-x86/hardr ve/dec/spa0iv|">n 24>/asm-x86_64/hardr ve/dec/spa0iv|">n 24>/asm-xt70)a/hardr ve/dec/spa0ivoduleparamal"drasm/hardr ve/dec/spa0ivers/watchdog/wdt285.c#L23" idn L23" class="li3e" namon3L19">n 19>/a>#definen>a3href=39watchdog/wdt285.c#L21" idn L21" class="li4e" namon4L20">n 20>/a>o *32on nnnnnnnnnnnnnnnvers/watchdog/wdt285.c#L2" idn L2" class="line4e" namon4L21">n 21>/a>#include &4t; *>/spa0/on 22>/a>#include &4t; *32on nThis program is ers/watchdog/wdt285.c#L18" idn L18" class="li4" namon 4L3">n n3>/a>>spa0 class4t;fmt>ONLY_TESTINGon n4>/a>>spa0 class=t;n 15>/a>>spa0 clas4="com45watcalt="& unsigned intlass="sref">fmt>stri_margino&= 60;Reserved.>/ *32on nnnnnnnnnnnnnnnve in secondss ers/watchdog/wdt285.c#L18" idn L18" class="li4e" namon4L16">n 16>/a>>spa0 clas4="com46watcalt="& unsigned intlass="sref">fmt>reloadon 17>/a>>spa0 clas4="com47watcalt="& unsigned longoass="sref">fmt>timer_alc#Lon 18>/a>on 19>/a>#definen>a4href=49ef="infNUflass="sref">fmt>ONLY_TESTINGon 20>/a>o *32on nnnnnnnnnnnnnnnvers/watchdog/wdt285.c#L2" idn L2" class="line5e" namon5L21">n 21>/a>#include &5t; *>/spa0/on 22>/a>#include &5t; *32on nThis program is ers/watchdog/wdt285.c#L18" idn L18" class="li5" namon 5L3">n n3>/a>>spa0 class5t;fmt> idn L18_firdofmt>irqofmt>dev_idon n4>/a>>spa0 class5t;n n5>/a>>spa0 class=="com55watcerved.>/ class="sref">pr_fcri>/a>(>a href="+codecri>t" clauot;: ">/spa0/n>a hreWould Reboot\n"+code=fmt" c)chdog/wdt285.c#L23" idn L23" class="li5e" namon5L16">n 16>/a>>spa0 clas5="com56watcerved.>/*ass="sref">fmt>CSR_TIMER4_CNTL/a>(>a href="+cCSR_TIMER4_CNTLng">&= 0chdog/wdt285.c#L23" idn L23" class="li5e" namon5L17">n 17>/a>>spa0 clas5="com57watcerved.>/*ass="sref">fmt>CSR_TIMER4_CLR/a>(>a href="+cCSR_TIMER4_CLRng">&= 0chdog/wdt285.c#L23" idn L23" class="li5e" namon5L18">n 18>/a>on 19>/a>#definen>a5href=59ef="iendifhdog/wdt285.c#L6" idn L6" class="line"e" namon6L20">n 20>/a>on 21>/a>#include &6t;/*>/spa0/on 22>/a>#include &6t; *32on nThis program is free sRefrdrhour .timerers/watchdog/wdt285.c#L16" idn L16" class="li6" namon 6L3">n n3>/a>>spa0 class6t; *32on nmodify it under ers/watchdog/wdt285.c#L18" idn L18" class="li6" namon 6L4">n n4>/a>>spa0 class6t;fmt> idn L18_ppa0/n n5>/a>>spa0 class6="com65watc{hdog/wdt285.c#L18" idn L18" class="li6" namon LL6">n n6>/a>>spa0 class=="com66watcerved.>/*ass="sref">fmt>CSR_TIMER4_LOAD/a>(>a href="+cCSR_TIMER4_LOADng">&= ass="sref">fmt>reloadon 17>/a>>spa0 clas6="com67watc}hdog/wdt285.c#L23" idn L23" class="li6e" namon6L18">n 18>/a>on 19>/a>#definen>a6href=6ent"> *32on n(c) Copyright vers/watchdog/wdt285.c#L2" idn L2" class="line7e" namon7L20">n 20>/a>o *32on nnnnnnnnnnnnnnnnnnnnnnnAllow only omt"pL2"hn 21>/a>#include &7t; *>/spa0/on 22>/a>#include &7t;fmt> idn L18_opee/fmt>infmto&*ass="sref">fmt>infmto, >/suctlass="sref">fmt>ass=o&*ass="sref">fmt>ass=oDhdog/wdt285.c#L18" idn L18" class="li7" namon 7L3">n n3>/a>>spa0 class7t;n n4>/a>>spa0 class7t;/intlass="sref">fmt>re>/a>(>a href="+cre>watcchdog/wdt285.c#L23" idn L23" class="li7" namon 7L5">n n5>/a>>spa0 class7="com75watchdog/wdt285.c#L21" idn L21" class="li7" namon 7L6">n n6>/a>>spa0 class7="com76watcerved.>/if (*ass="sref">fmt>CSR_SA110_CNTL/a>(>a href="+cCSR_SA110_CNTLwatce& (1linuxinux 13)Dhdog/wdt285.c#L18" idn L18" class="li7" namon LL7">n n7>/a>>spa0 class=="com77watcerved.>/////////t typon-ass="sref">fmt>EBUSY/a>(>a href="+cEBUSYwatcchdog/wdt285.c#L23" idn L23" class="li7e" namon7L18">n 18>/a>on 19>/a>#definen>a7href=79watcerved.>/if (ass="sref">fmt>test_and_set_bi>/a>(>a href="+ctest_and_set_bi>rs cl1,e&ass="sref">fmt>timer_alc#Lon 20>/a>ofmt>EBUSY/a>(>a href="+cEBUSYwatcchdog/wdt285.c#L23" idn L23" class="li8e" namon8L21">n 21>/a>#include &8t;n 22>/a>#include &8t;/ class="sref">preloadofmt>stri_margino&* (ass="sref">fmt>mem_fclk_/spa0o&/ 256)chdog/wdt285.c#L23" idn L23" class="li8" namon 8L3">n n3>/a>>spa0 class8t;n n4>/a>>spa0 class8t;/*ass="sref">fmt>CSR_TIMER4_CLR/a>(>a href="+cCSR_TIMER4_CLRng">&= 0chdog/wdt285.c#L23" idn L23" class="li8" nam8if (*ass="sref">fmt>CSR87="co8om55watcerved.>/ class="srefmt> idn L18_ppa0/n n6>/a>>spa0 cl8ss7="8om56watcerved.>/*ass="sref">fmt>CSR_TIMER4_CNTL/a>(>a href="+cCSR_TIMER4_CNTLng">>/*ass="sref">fSR_TIER4_C_ENABLILD_MODNAME>/a> SR_TIER4_C_ENABLINTLng|>>/*ass="sref">fSR_TIER4_C_AUTORER4_LOAD/a>(>a href=SR_TIER4_C_AUTORER4_L 83watchdog/wdt285.c#L19" idn L19" class="li7" nam8n LL7">n n7>/a>>spa0 cl8ss=="8om77watcerved.>//////|>>/*ass="sref">fSR_TIER4_C_DIV2mon5L16">n  href=SR_TIER4_C_DIV2moUSYwatcchdog/wdt285.c#L23" idn L23" class="ine" namoon L8">n n8>/a>>spa0 cla="7ri8er7/watchdog/wdt285.c#L19" idn L19" class=8li7e" na8on7L19">n 19>/a>#define8>a7hr8f=49ef="infNUflass="sref">fmt>ONLY_TESTINGon 20>/a>o>re>/a>(>a href="+cre>wg">&= ass="sref">fmtqu+ctemt>irqofIRQCSR_TIMirqofmt> idn L18_firdo": ">/spa0/n>a ive idn t\n"+code=fmtg"idlass="sref">fNULCNTL/a>(>a href=NULCc#Lwaatcchdog/wdt285.c#L23" idn L23" class=9li8e" na9on8L21">n 21>/a>#includ9 &8t;91=79watcerved.>/if (ass="sref">f">>re>/a>(>a href="+cre>w) atc{hdog/wdt285.c#L18" idn L18" class=9li8e" na9on8L22">n 22>/a>#includ9 &8t;92m77watcerved.>//////.>/*ass="sref">fmt>CSR_TIMER4_CNTL/a>(>a href="+cCSR_TIMER4_CNTLng">&= 0chdog/wdt285.c#L23" idn L23" class=9li8" nam9n 8L3">n n3>/a>>spa0 cl9ss8t;93m77watcerved.>//////>/*ass="sref">fclearset_bi>/a>(>a href=clearset_bi>rs cl1,e&ass="sref">fmt>timer_alc#Lon n4>/a>>spa0 cl9ss8t;9a 84watcervedatc}hdog/wdt285.c#L23" idn L23" class=9li8" nam9if (*ass="sref">fmt>CSR97="co9om25efelsetc}hdog/wdt285.c#L23" idn L23" class=9li7" nam9n 7L6">n n6>/a>>spa0 cl9ss7="9om56watcervedt"> *32on n(c) Copyright vers/watchdog/wdt285.c#L2" idn L2" class="l9li7" nam9n LL7">n n7>/a>>spa0 cl9ss=="9omment"> */>/spa0/on n8>/a>>spa0 cl9="7ri9omment"> *>/spa0/on n9>/a>>spa0 cla>a7hr9omment"> *32on n(c) Copyrigh.>//////.rivers/watchdog/wdt285.c#L18" idn L18" class="0line" namoon L10">n 326.a>>spa0 cla="8rla=m56watcerved.>/*ass="sref">fmt>CSR_SA110_CNTL/a>(>a href="+cCSR_SA110_CNTLwa|= ; (1linuxinux= 0chdog/wdt285.c#L23" idn L23" class=10line" nam0on L11">n 11>/a>>spa0 cl01"8rlaa 81watchdog/wdt285.c#L19" idn L19" class=10line" nam0on L12">n 12>/a>>spa0 cl02"8rlaa 82watcerved.>/ class="sref">>re>/a>(>a href="+cre>wg">&= 0chdog/wdt285.c#L23" idn L23" class=10line" nam0on L13">n 13>/a>>spa0 cl03"8rla3=59ef="iendifhdog/wdt285.c#L6" idn L6" class="l10line" nam0on L14">n 14>/a>>spa0 cl04"8rla4 82watcerved.>/ class="srefnonseekableL18_opee/fmt>infmto&*ass="sref">fmt>ass=on 15>/a>>spa0 cl05"8rlaom55watcerved///t tyntlass="sref">fmt>re>/a>(>a href="+cre>watcchdog/wdt285.c#L23" idn L23" class=10line" nam0on L16">n 16>/a>>spa0 cl06"8rla6m67watc}hdog/wdt285.c#L23" idn L23" class=10line" nam0on L17">n 17>/a>>spa0 cl07"8rla7 81watchdog/wdt285.c#L19" idn L19" class=10line" nam0on L18">n 18>/a>o *>/spa0/on 19>/a>#definen09"8rlaomment"> *32on n(c) Copyright 1996 Shut offdrhour .timerers/watchdog/wdt285.c#L16" idn L16" class=1"line" nammon L10">n 326.a>>spa0 cllass=1comment"> *32on nnnnnnnnnnnnnnnnnnnnNote:d.>/wed//ctualhave enabledtopour .on 11>/a>>spa0 cla1"8rlcomment"> *>/spa0/on 12>/a>>spa0 cllass=1comment"> *32on nThis program rivers/watchdog/wdt285.c#L18" idn L18" class=""line" nammon L13">n 13>/a>>spa0 cllass=11a 53watcalt="& intlass="sref">fmt> idn Lreleasfirdofmt>infmto&*ass="sref">fmt>infmto, >/suctlass="sref">fmt>ass=o&*ass="sref">fmt>ass=oDhdog/wdt285.c#L18" idn L18" class=1"line" nammon L14">n 14>/a>>spa0 cllass=11a 54watc{hdog/wdt285.c#L18" idn L18" class=1"line" nammon L15">n 15>/a>>spa0 cllass=115=49ef="infNUflass="sref">fmt>ONLY_TESTINGon 16>/a>>spa0 cllass=116 82watcerved.>/ class="srefca0 emt>irqofIRQCSR_TIMirqofNULCNTL/a>(>a href=NULCc#Lwaatcchdog/wdt285.c#L23" idn L23" class=1"line" nammon L17">n 17>/a>>spa0 cllass=117 82watcerved.>/ class="srefclearset_bi>/a>(>a href=clearset_bi>rs cl1,e&ass="sref">fmt>timer_alc#Lon 18>/a>on 19>/a>#definenn>a h119m55watcerved///t ty&= 0chdog/wdt285.c#L23" idn L23" class=1"line" na1mon L20">n 20>/a>on 21>/a>#includ1e <12a 81watchdog/wdt285.c#L19" idn L19" class=12line" namoon L12">n 12>/a>>spa0 claass=12a 72watcalt=&= ass="sref">fmsize__bi>/a>(>a href=msize__m55wantlass="sref">fmt> idn Lwritfirdofmt>ass=o&*ass="sref">fmt>ass=of__userss=o&*ass="sref">fdata_idon 23>/a>#includ1e <123m77watcerved.>//////cerved.>//////>/*ass="sref">fsize__bi>/a>(>a href=mize__m55wantlass="sref">fl_opee/floff__bi>/a>(>a href=loff__ss=ng">&*ass="sref">fpposbi>/a>(>a href=pposss=ng">Dhdog/wdt285.c#L18" idn L18" class=1"line" na1mon L24">n 24>/a>#includ1e <12a 54watc{hdog/wdt285.c#L18" idn L18" class=1"line" na1mon2L15">n 15>/a>>spa0 c1las2=12om55watcerved."> *>/spa0/on 16>/a>>spa0 c1las2=12omment"> *>/spa0/on 17>/a>>spa0 c1las2=12omment"> */>/spa0/on 18>/a>ofl_opee/Dhdog/wdt285.c#L18" idn L18" class=1"line" nammon2L19">n 19>/a>#define1n>a2h129m77watcerved.>//////.>/ class="srefmt> idn L18_ppa0/n 20>/a>on 21>/a>#includ1e &3t131m55watcerved///t tyf (ass="sref">fl_opee/n 22>/a>#includ1e &3t1n 13>/a>>spa0 cla <13a 83watchdog/wdt285.c#L19" idn L19" class=1"li3e" na1mon3L24">n 24>/a>#includ1e &3t13a 64watcalt=const  cl>/suctlass="sref">five idn Lem_ipa0/fidhrefmtoatc{hdog/wdt285.c#L18" idn L18" class=1"li3e" na1mon3L15">n 15>/a>>spa0 c1las3=13om55watcerved.ntlass="sref">fersionsbi>/a>(>a href=ersionsm55watcerved">&= ass="sref">fWDIOF_SETSR_TOUTbi>/a>(>a href=WDIOF_SETSR_TOUTss=n,atchdog/wdt285.c#L19" idn L19" class=1"li3e" na1mon3L16">n 16>/a>>spa0 c1las3=136m55watcerved.ntlass="sref">fidhreityfmto": ">/spa0/n>a Footbridgspa0/on 17>/a>>spa0 c1las3=1com37e}56)chdog/wdt285.c#L23" idn L23" class=1"line" na1mon3L18">n 18>/a>on 19>/a>#define1n>a3h1ef=39watcalt=ed longoass="sref">five idn Leoctlpa0/fmt>ass=o&*ass="sref">fmt>ass=ofcmloadon 20>/a>ofarppa0/Dhdog/wdt285.c#L18" idn L18" class=1ine4e" na1mon4L21">n 21>/a>#includ1e &4t1n 22>/a>#includ1e &4t14a 82watcerved"& unsigned intlass="sref">fnewtri_marginon n3>/a>>spa0 cl1ass4t143m77watcerveded intlass="sref">f__userss=o&*ass="sref">fed _arppa0/" clintlass="sref">f__userss=ofarppa0/n 14>/a>>spa0 cla &3t14a 74watcerved.>/intlass="sref">fmt>re>/a>(>a href="+cre>wg">pon-ass="sref">fmNOTTBUSY/a>(>a href="NOTTB=fmt56)chdog/wdt285.c#L23" idn L23" class=1"li3e" na1mon4L15">n 15>/a>>spa0 c1las4=14om75watchdog/wdt285.c#L21" idn L21" class=1"li4e" na1mon4L16">n 16>/a>>spa0 c1las4=146m55watcervedswi" i/if (ass="sref">fcmloadon 17>/a>>spa0 c1las4=147 82watcervedcas_fmt" class="srefWDIOC_GETSUPPORTbi>/a>(>a href=WDIOC_GETSUPPORT 82w:tc{hdog/wdt285.c#L18" idn L18" class=1"line" na1mon4L18">n 18>/a>o>re>/a>(>a href="+cre>wg">&= 0chdog/wdt285.c#L23" idn L23" class=1"li4e" na1mon4L19">n 19>/a>#define1n>a4h149m77watcerved.>//////.>/if (ass="sref">fcopy_to_userss=of__userss=ofarppa0/fidhrefmtofmdhrefmton 20>/a>ofmt>re>/a>(>a href="+cre>wg">pon-ass="sref">fmFAULTbi>/a>(>a href=mFAULT=fmt56)chdog/wdt285.c#L23" idn L23" class=1ine5e" na1mon5L21">n 21>/a>#includ1e &5t151r80watcerved.>//////break56)chdog/wdt285.c#L23" idn L23" class=1ili4e" na1mon5L22">n 22>/a>#includ1e &5t1n n3>/a>>spa0 cl1ass5t153 82watcervedcas_fmt" class="srefWDIOC_GETSTATUSbi>/a>(>a href=WDIOC_GETSTATUS 82w:tc{hdog/wdt285.c#L18" idn L18" class=1"li5" nam1on 5L4">n n4>/a>>spa0 cl1ass5t154 82watcervedcas_fmt" class="srefWDIOC_GETBOOTSTATUSbi>/a>(>a href=WDIOC_GETBOOTSTATUS 82w:tc{hdog/wdt285.c#L18" idn L18" class=1"li3e" na1on LL5">n n5>/a>>spa0 cl1ass==1com55watcerved////////ntlass="sref">fmt>re>/a>(>a href="+cre>wg">>&*ass="sref">fput_userss=ofed _arppa0/n 16>/a>>spa0 c1las5=1com56watcerved.>//////break56)chdog/wdt285.c#L23" idn L23" class=1ili4e" na1mon5L17">n 17>/a>>spa0 c1las5=157 81watchdog/wdt285.c#L19" idn L19" class=1"li5e" na1mon5L18">n 18>/a>on 19>/a>#define1n>a5h159m77watcerved.>//////.>/ class="srefmt> idn L18_ppa0/n 20>/a>o>re>/a>(>a href="+cre>wg">&= 0chdog/wdt285.c#L23" idn L23" class=1"li6e" na1mon6L21">n 21>/a>#includ1e &6t161r80watcerved.>//////break56)chdog/wdt285.c#L23" idn L23" class=1ine6e" na1mon6L22">n 22>/a>#includ1e &6t16a 5en6)chdog/wdt285.c#L23" idn L23" class=1"li6" nam1on 6L3">n n3>/a>>spa0 cl1ass6t163 82watcervedcas_fmt" class="srefWDIOC_SETSR_TOUTbi>/a>(>a href=WDIOC_SETSR_TOUTss=n:tc{hdog/wdt285.c#L18" idn L18" class=1"li6" nam1on 6L4">n n4>/a>>spa0 cl1ass6t164m55watcerved////////ntlass="sref">fmt>re>/a>(>a href="+cre>wg">>&*ass="sref">fget_userss=ofnewtri_marginofed _arppa0/n n5>/a>>spa0 cl1ass6=16om55watcerved////////.>/if (ass="sref">f">>re>/a>(>a href="+cre>w)6)chdog/wdt285.c#L23" idn L23" class=1"line" namoon L16">n 16>/a>>spa0 claas5=16om56watcerved.>//////.>//////break56)chdog/wdt285.c#L23" idn L23" class=1ili4e" na1mon6L17">n 17>/a>>spa0 c1las6=167 81watchdog/wdt285.c#L19" idn L19" class=1"li6e" na1mon6L18">n 18>/a>on 19>/a>#define1n>a6h169m77watcerved.>//////.>/if (ass="sref">fnewtri_marginofnewtri_marginon 20>/a>ofmt>re>/a>(>a href="+cre>wg">pon-ass="sref">fmINVACNTL/a>(>a href=mINVAC=fmt56)chdog/wdt285.c#L23" idn L23" class=1"li7e" na1mon7L21">n 21>/a>#includ1e &7t171r80watcerved.>//////.>//////break56)chdog/wdt285.c#L23" idn L23" class=1"li7e" na1mon7L22">n 22>/a>#includ1e &7t172m77watcerved.>//////atc}hdog/wdt285.c#L23" idn L23" class=1"li7" nam1on 7L3">n n3>/a>>spa0 cl1ass7t17a 83watchdog/wdt285.c#L19" idn L19" class=1"li7" nam1on 7L4">n n4>/a>>spa0 cl1ass7t174m55watcerved////////ntlass="sref">fmt>stri_marginontlass="sref">fnewtri_marginon n5>/a>>spa0 cl1ass7=17om55watcerved////////ntlass="sref">fmtpreloadofmt>stri_margino&* (ass="sref">fmt>mem_fclk_/spa0o&/ 256)chdog/wdt285.c#L23" idn L23" class=1"li7" nam1on 7L6">n n6>/a>>spa0 cl1ass7=17om56watcerved.>//////.>/ class="srefmt> idn L18_ppa0/n n7>/a>>spa0 cl1ass==1com77watcerved.>//////.>/ *32on nnnnnnnnnnnnnnnFallndss ers/watchdog/wdt285.c#L18" idn L18" class=1"li7e" na1mon7L18">n 18>/a>on 19>/a>#define1n>a7h179m77watcerved.>//////.>/ class="srefmt>re>/a>(>a href="+cre>wg">>&*ass="sref">fput_userss=ofmt>stri_marginofed _arppa0/n 20>/a>on 21>/a>#includ1e &8t181r80watcervedatc}hdog/wdt285.c#L23" idn L23" class=1"li8e" na1mon8L22">n 22>/a>#includ1e &8t1fmt>re>/a>(>a href="+cre>watcchdog/wdt285.c#L23" idn L23" class=1"li8" nam1on 8L3">n n3>/a>>spa0 cl1ass8t1n n4>/a>>spa0 cl1ass8t18a 44watchdog/wdt285.c#L21" idn L21" class=1"li8" nam18if (*ass="sref">fmt>CSR187="c18om45watcalt=const  cl>/suctlass="sref">f clasoperasionsbi>/a>(>a href= clasoperasionsm55wantlass="sref">five idn L1opsbi>/a>(>a href=ive idn L1opsre>wg">atc{hdog/wdt285.c#L18" idn L18" class=1"li7" nam18n 7L6">n n6>/a>>spa0 cl18ss7=186m55watcerved.ntlass="sref">fownerss=o>/*ass="sref">fSHISclasULILD_MODNAME>/a> SHISclasULIss=n,atchdog/wdt285.c#L19" idn L19" class=1"li7" nam18n LL7">n n7>/a>>spa0 cl18ss==18om77watcerved.ntlass="sref">fllseekpee/ntlass="sref">fno_llseekpee/n 18>/a>ofwritfirdo>/*ass="sref">fmt> idn Lwritfirdon 19>/a>#define18>a7h189m77watcerved.ntlass="sref">funlockedLeoctlpa0/>&*ass="sref">five idn Leoctlpa0/n 20>/a>ofer_opee/>/*ass="sref">fmt> idn L18_opee/n 21>/a>#includ19 &8t191=79watcerved.ntlass="sref">freleasfirdo>/*ass="sref">fmt> idn Lreleasfirdon 22>/a>#includ19 &8t192m77w}56)chdog/wdt285.c#L23" idn L23" class=19li8" nam19n 8L3">n n3>/a>>spa0 cl19ss8t19a 83watchdog/wdt285.c#L19" idn L19" class=19li8" nam19n 8L4">n n4>/a>>spa0 cl19ss8t19a 64watcalt= cl>/suctlass="sref">ft;ofive idn Li;oatc{hdog/wdt285.c#L18" idn L18" class=19li8" nam19if (*ass="sref">fmt>CSR197="c19om55watcerved.ntlass="sref">fminorss=o>/*ass="sref">fWATCHDOG_MINO_CLR/a>(>a href=WATCHDOG_MINO_peer,atchdog/wdt285.c#L19" idn L19" class=19li7" nam19n 7L6">n n6>/a>>spa0 cl19ss7=196m55watcerved.ntlass="sref">fspa0pee/>>": ">/spa0/n>a ive idn t\n"+code=fmtgatchdog/wdt285.c#L19" idn L19" class=19li7" nam19n LL7">n n7>/a>>spa0 cl19ss==19om77watcerved.ntlass="sref">f1opsbi>/a>(>a href=1opsre>wgatcerved.>">1,e&ass="sref">five idn L1opsbi>/a>(>a href=ive idn L1opsre>wgatchdog/wdt285.c#L19" idn L19" class=19line" nam9on L8">n n8>/a>>spa0 cl19="7r19ommen}56)chdog/wdt285.c#L23" idn L23" class=19line" namoon L19">n 19>/a>#definen>>a7h19f=39watchdog/wdt285.c#L21" idn L21" class=20line" na2oon L10">n 326.a>>spa0 c2a="8r2a=m56watcalt="& intlass="sref">f__t;oiss=offootbridgs_ive idn Lemoiss=on 11>/a>>spa0 c201"8r20a 4enatc{hdog/wdt285.c#L18" idn L18" class=20line" na20on L12">n 12>/a>>spa0 c202"8r2aa 82watcerved.>/intlass="sref">fmt>valpa0/n 13>/a>>spa0 c203"8r20a 83watchdog/wdt285.c#L19" idn L19" class=20line" na20on L14">n 14>/a>>spa0 c204"8r2a4 82watcerved.>/if (ass="sref">fr .mach_is_netwihe Gss=ofmt>CSR205"8r20om55watcerved///////////t typon-ass="sref">fmNODEVUSY/a>(>a href="NODEVre>watcchdog/wdt285.c#L23" idn L23" class=20line" nam0on L16">n 16>/a>>spa0 c206"8r2a6m67wtcchdog/wdt285.c#L23" idn L23" class=20line" nam0on L17">n 17>/a>>spa0 c207"8r207 82watcerved.>/ class="srefmt>valpa0/>/*ass="sref">fi;ofive idn Li;on 18>/a>o//////.>/if (ass="sref">fmt>valpa0/n 19>/a>#define209"8r209m77watcerved.>/////////t tyntlass="sref">fmt>valpa0/n 326.a>>spa0 c2lass=21ers/watchdog/wdt285.c#L21" idn L21" class="lline" namoon L21">n 21>/a>#include 1"8r211 82watcerved.>/ class="srefprLem_ipa0/n 12>/a>>spa0 c2lass=212m77watcerved.>//////&= ass="sref">fmt>stri_marginon 13>/a>>spa0 c2lass=21a 83watchdog/wdt285.c#L19" idn L19" class=2"line" na2mon L14">n 14>/a>>spa0 c2lass=214 82watcerved.>/if (ass="sref">fr .mach_is_catsbi>/a>(>a href=r .mach_is_catspa0t"2oidDhdog/wdt285.c#L18" idn L18" class=2"line" na2mon L15">n 15>/a>>spa0 c2lass=21om55watcerved////////ntlass="sref">fprLwarrginon 16>/a>>spa0 c2lass=216 82watcerved///t ty&= 0chdog/wdt285.c#L23" idn L23" class=2"line" na2mon L17">n 17>/a>>spa0 c2lass=21om67watc}hdog/wdt285.c#L23" idn L23" class=2"line" na2mon L18">n 18>/a>on 19>/a>#define2n>a h21f=39watcalt="& voidlass="sref">f__exoiss=offootbridgs_ive idn Lexoiss=on 20>/a>on 21>/a>#includ2e <221 82watcerved.>/ class="srefm;ofive idn Li;on 12>/a>>spa0 c2aass=22a 3reatc}hdog/wdt285.c#L23" idn L23" class=22line" na2mon L23">n 23>/a>#includ2e <22a 83watchdog/wdt285.c#L19" idn L19" class=2"line" na2mon L24">n 24>/a>#includ2e <22a 54wmp;ass="sref">flasULI_AUTHO_CLR/a>(>a href=lasULI_AUTHO_peers&>": ">/spa0/n>a Phil Bl="i ll>(1lipb@nexus.co.uk(glit\n"+code=fmt" c)chdog/wdt285.c#L23" idn L23" class=2"line" na2mon2L15">n 15>/a>>spa0 c2las2=22om55wmp;ass="sref">flasULI_DESCRIPTIONCLR/a>(>a href=lasULI_DESCRIPTIONpeers&>": ">/spa0/n>a Footbridgsp23" idn  t285.ct\n"+code=fmt" c)chdog/wdt285.c#L23" idn L23" class=2"line" na2mon2L16">n 16>/a>>spa0 c2las2=22ommentp;ass="sref">flasULI_LICENSILD_MODNAME>/a> lasULI_LICENSIpeers&>": ">/spa0/n>a GPLt\n"+code=fmt" c)chdog/wdt285.c#L23" idn L23" class=2"line" na2mon2L17">n 17>/a>>spa0 c2las2=22ommentp;ass="sref">flasULI_ALIAS_MISCDEVUSY/a>(>a href=lasULI_ALIAS_MISCDEVpeers&= ass="sref">fWATCHDOG_MINO_CLR/a>(>a href=WATCHDOG_MINO_peer" c)chdog/wdt285.c#L23" idn L23" class=2"line" na2mon2L18">n 18>/a>on 19>/a>#define2n>a2h229m77w.>/ class="srefmodule_paramss=ofmt>stri_marginon 20>/a>oflasULI_PARM_DESCUSY/a>(>a href=lasULI_PARM_DESCpeers&= ass="sref">fmt>stri_margino": ">/spa0/n>a Wa" idn  r .toutnve in secot\n"+code=fmt" c)chdog/wdt285.c#L23" idn L23" class=2"li3e" na2mon3L21">n 21>/a>#includ2e &3t23a 81watchdog/wdt285.c#L19" idn L19" class=2"line" na2mon3L22">n 22>/a>#includ2e &3t2/ class="srefmodule_emoiss=offootbridgs_ive idn Lemoiss=on 13>/a>>spa0 c2a <23a 83w.>/ class="srefmodule_exoiss=offootbridgs_ive idn Lexoiss=on 24>/a>#includ2e &3t23a 64w


n foot Gs> The orimaral LXR ivesardr bytopou)chdog/wdhttp://sourceforge.net/projects/lxGs>LXR nnnnunitym55w,"hgis experinnnnal 5.c#iL2"byt)chdog/wdmailto:lxG@24>ux.no">lxG@24>ux.nom55w. n subfoot Gs> lxG.24>ux.no kindualhost d"byt)chdog/wdhttp://www.redpill-24>pro.no">Redpill L4>pro ASm55w,"provie G of L4>ux=consulbootiand operasions inrcddrs ii_pe 1995.