linux/drivers/rapidio/rio-scan.c
<<
>>
Prefs
v2.6.32.8 search_results" class="search_results" > L"search">
ion="ajax+*" method="post"#L1sults"L1su i9esudiv idL1s>cla1"ajaPrefs comm > /*lookup" y
ion="ajax+*" method="post"#L2sults"L2su i9esudiv idL2s>cla2"ajaPrefs comm > * R+*" IO enumeravers/and disco="ay supportlookup" y ion="ajax+*" method="post"#L3sults"L3su i9esudiv idL3s>cla3"ajaPrefs comm > *lookup" y ion="ajax+*" method="post"#L4sults"L4su i9esudiv idL4s>cla4"ajaPrefs comm > * Copyrn do 2005 M ion="ajax+*" method="post"#L5sults"L5su i9esudiv idL5s>cla5"ajaPrefs comm > * Matt Porter <mporter@kernel.crash <.org> lookup" y ion="ajax+*" method="post"#L6sults"L6su i9esudiv idL6s>cla6"ajaPrefs comm > *lookup" y ion="ajax+*" method="post"#L7sults"L7su i9esudiv idL7s>cla7"ajaPrefs comm > * Copyrn do 2009 Integraved Device Technology, Inc.lookup" y ion="ajax+*" method="post"#L8sults"L8su i9esudiv idL8s>cla8"ajaPrefs comm > * Alex Bouni9e <alexandre.bouni9e@idt.com> lookup" y ion="ajax+*" method="post"#L9sults"L9su i9esudiv idL9s>cla9"ajaPrefs comm > * - A d Port-Write/Error Managem > initializavers/and hand i9glookup" y ion="ajax+*" method="post"#L10sults"L10su i9esudiv idL10s>clon> jaPrefs comm > *lookup" y ion="ajax+*" method="post"#L11sults"L11su i9esudiv idL11s>cl11"ajaPrefs comm > * Copyrn do 2009 Sysgo AGlookup" y ion="ajax+*" method="post"#L12sults"L12su i9esudiv idL12s>cl12"ajaPrefs comm > * Thomas M lookup" y ion="ajax+*" method="post"#L13sults"L13su i9esudiv idL13s>cl13"ajaPrefs comm > * - A d I ion="ajax+*" method="post"#L14sults"L14su i9esudiv idL14s>cl14"ajaPrefs comm > *lookup" y ion="ajax+*" method="post"#L15sults"L15su i9esudiv idL15s>cl15"ajaPrefs comm > * Ton program n free software; you pos redistri="re it/and/or modify itlookup" y ion="ajax+*" method="post"#L16sults"L16su i9esudiv idL16s>cl16"ajaPrefs comm > * under the terms of the GNU Generalddeubret License as pubresh d by thelookup" y ion="ajax+*" method="post"#L17sults"L17su i9esudiv idL17s>cl17"ajaPrefs comm > * Free Software Foundavers; either ="ajers/2 of the License, or (at yourlookup" y ion="ajax+*" method="post"#L18sults"L18su i9esudiv idL18s>cl18"ajaPrefs comm > * rc="..)/any later ="ajers.lookup" y ion="ajax+*" method="post"#L19sults"L19su i9esudiv idL19s>cl19"ajaPrefs comm > */lookup" y ion="ajax+*" method="post"#L20sults"L20su i9esudiv idL20s>cl2n> ja y ion="ajax+*" method="post"#L21sults"L21su i9esudiv idL21s>cl21"aja#i="rude <y i="rudeclass=/iv> s.hsu fref">lass=/iv> s.h"aja> y ion="ajax+*" method="post"#L22sults"L22su i9esudiv idL22s>cl22"aja#i="rude <y i="rudeclass=/kernel.hsu fref">lass=/kernel.h"aja> y ion="ajax+*" method="post"#L23sults"L23su i9esudiv idL23s>cl23> ja y ion="ajax+*" method="post"#L24sults"L24su i9esudiv idL24s>cl24"aja#i="rude <y i="rudeclass=/delay.hsu fref">lass=/delay.h"aja> y ion="ajax+*" method="post"#L25sults"L25su i9esudiv idL25s>cl25"aja#i="rude <y i="rudeclass=/dma-mapp <.hsu fref">lass=/dma-mapp <.h"aja> y ion="ajax+*" method="post"#L26sults"L26su i9esudiv idL26s>cl26"aja#i="rude <y i="rudeclass=/init.hsu fref">lass=/init.h"aja> y ion="ajax+*" method="post"#L27sults"L27su i9esudiv idL27s>cl27"aja#i="rude <y i="rudeclass=/hod.hsu fref">lass=/hod.h"aja> y ion="ajax+*" method="post"#L28sults"L28su i9esudiv idL28s>cl28"aja#i="rude <y i="rudeclass=/hod_drv.hsu fref">lass=/hod_drv.h"aja> y ion="ajax+*" method="post"#L29sults"L29su i9esudiv idL29s>cl29"aja#i="rude <y i="rudeclass=/hod_ids.hsu fref">lass=/hod_ids.h"aja> y ion="ajax+*" method="post"#L30sults"L30su i9esudiv idL30s>cl30"aja#i="rude <y i="rudeclass=/hod_regs.hsu fref">lass=/hod_regs.h"aja> y ion="ajax+*" method="post"#L31sults"L31su i9esudiv idL31s>cl31"aja#i="rude <y i="rudeclass=/module.hsu fref">lass=/module.h"aja> y ion="ajax+*" method="post"#L32sults"L32su i9esudiv idL32s>cl32"aja#i="rude <y i="rudeclass=/sp lock.hsu fref">lass=/sp lock.h"aja> y ion="ajax+*" method="post"#L33sults"L33su i9esudiv idL33s>cl33"aja#i="rude <y i="rudeclass=/iimer.hsu fref">lass=/iimer.h"aja> y ion="ajax+*" method="post"#L34sults"L34su i9esudiv idL34s>cl34"aja#i="rude <y i="rudeclass=/sch d.hsu fref">lass=/sch d.h"aja> y ion="ajax+*" method="post"#L35sults"L35su i9esudiv idL35s>cl35"aja#i="rude <y i="rudeclass=/jiffi s.hsu fref">lass=/jiffi s.h"aja> y ion="ajax+*" method="post"#L36sults"L36su i9esudiv idL36s>cl36"aja#i="rude <y i="rudeclass=/slab.hsu fref">lass=/slab.h"aja> y ion="ajax+*" method="post"#L37sults"L37su i9esudiv idL37s>cl37> ja y ion="ajax+*" method="post"#L38sults"L38su i9esudiv idL38s>cl38"aja#i="rude "y ion="ajax+*" method.hsu fref">hod.h"aja>quot; y ion="ajax+*" method="post"#L39sults"L39su i9esudiv idL39s>cl39> ja y ion="ajax+*" method="post"#L40sults"L40su i9esudiv idL40s>cl40"ajaubmit= void code=hod_init_em6.32.8hod_init_em"aja(struct code=hod_dev6.32.8hod_dev"aja *l code=hdev6.32.8hdev"aja); y ion="ajax+*" method="post"#L41sults"L41su i9esudiv idL41s>cl41> ja y ion="ajax+*" method="post"#L42sults"L42su i9esudiv idL42s>cl42"ajaubmit= int code=next_destid6.32.8next_destid"aja = 0; y ion="ajax+*" method="post"#L43sults"L43su i9esudiv idL43s>cl43"ajaubmit= int code=next_comptag6.32.8next_comptag"aja = 1; y ion="ajax+*" method="post"#L44sults"L44su i9esudiv idL44s>cl44> ja y ion="ajax+*" method="post"#L45sults"L45su i9esudiv idL45s>cl45"ajaubmit= int code=hod_mport_phys_table6.32.8hod_mport_phys_table"aja[] = { y ion="ajax+*" method="post"#L46sults"L46su i9esudiv idL46s>cl46"aja code=RIO_EFB_PAR_EP_ID6.32.8RIO_EFB_PAR_EP_ID"aja, y ion="ajax+*" method="post"#L47sults"L47su i9esudiv idL47s>cl47"aja code=RIO_EFB_PAR_EP_REC_ID6.32.8RIO_EFB_PAR_EP_REC_ID"aja, y ion="ajax+*" method="post"#L48sults"L48su i9esudiv idL48s>cl48"aja code=RIO_EFB_SER_EP_ID6.32.8RIO_EFB_SER_EP_ID"aja, y ion="ajax+*" method="post"#L49sults"L49su i9esudiv idL49s>cl49"aja code=RIO_EFB_SER_EP_REC_ID6.32.8RIO_EFB_SER_EP_REC_ID"aja, y ion="ajax+*" method="post"#L50sults"L50su i9esudiv idL50s>cl50"aja -1, y ion="ajax+*" method="post"#L51sults"L51su i9esudiv idL51s>cl51> ja}; y ion="ajax+*" method="post"#L52sults"L52su i9esudiv idL52s>cl52> ja y ion="ajax+*" method="post"#L53sults"L53su i9esudiv idL53s>cl53> ja y ion="ajax+*" method="post"#L54sults"L54su i9esudiv idL54s>cl54"ajaPrefs comm > /**lookup" y ion="ajax+*" method="post"#L55sults"L55su i9esudiv idL55s>cl55"ajaPrefs comm > * hod_destid_h(loc - A(locate next available destID for gn="n networklookup" y ion="ajax+*" method="post"#L56sults"L56su i9esudiv idL56s>cl56"ajaPrefs comm > * @net: RIO networklookup" y ion="ajax+*" method="post"#L57sults"L57su i9esudiv idL57s>cl57"ajaPrefs comm > *lookup" y ion="ajax+*" method="post"#L58sults"L58su i9esudiv idL58s>cl58"ajaPrefs comm > * Rgbotts next available device destinavers/ID for the specifi d RIO network.lookup" y ion="ajax+*" method="post"#L59sults"L59su i9esudiv idL59s>cl59"ajaPrefs comm > * Marksch(locaved ID as one in use.lookup" y ion="ajax+*" method="post"#L60sults"L60su i9esudiv idL60s>cl6n> jaPrefs comm > * Rgbotts RIO_INVALID_DESTID if new destID is not available.lookup" y ion="ajax+*" method="post"#L61sults"L61su i9esudiv idL61s>cl61"ajaPrefs comm > */lookup" y ion="ajax+*" method="post"#L62sults"L62su i9esudiv idL62s>cl62"ajaubmit= code=u16su pref">u16"aja code=hod_destid_h(loc6.32.8hod_destid_h(loc"aja(struct code=hod_nspan32.8hod_nsp"aja *l code=nspan32.8nsp"aja) y ion="ajax+*" method="post"#L63sults"L63su i9esudiv idL63s>cl63> ja{ y ion="ajax+*" method="post"#L64sults"L64su i9esudiv idL64s>cl64"aja int code=destid6.32.8destid"aja; y ion="ajax+*" method="post"#L65sults"L65su i9esudiv idL65s>cl65"aja struct code=hod_id_table6.32.8hod_id_table"aja *l code=idtab6.32.8idtab"aja = &l code=nspan32.8nsp"aja-> l code=destid_table6.32.8destid_table"aja; y ion="ajax+*" method="post"#L66sults"L66su i9esudiv idL66s>cl66> ja y ion="ajax+*" method="post"#L67sults"L67su i9esudiv idL67s>cl67"aja code=sp _lock6.32.8sp _lock"aja(&l code=idtab6.32.8idtab"aja-> l code=lock6.32.8lock"aja); y ion="ajax+*" method="post"#L68sults"L68su i9esudiv idL68s>cl68"aja code=destid6.32.8destid"aja = code=find_first_zero_bipan32.8find_first_zero_bip"aja(l code=idtab6.32.8idtab"aja-> l code=table6.32.8table"aja, code=idtab6.32.8idtab"aja-> l code=max6.32.8max"aja); y ion="ajax+*" method="post"#L69sults"L69su i9esudiv idL69s>cl69> ja y ion="ajax+*" method="post"#L70sults"L70su i9esudiv idL70s>cl70"aja if (l code=destid6.32.8destid"aja < code=idtab6.32.8idtab"aja-> l code=max6.32.8max"aja) { y ion="ajax+*" method="post"#L71sults"L71su i9esudiv idL71s>cl71"aja code=set_bipan32.8set_bip"aja(l code=destid6.32.8destid"aja, code=idtab6.32.8idtab"aja-> l code=table6.32.8table"aja); y ion="ajax+*" method="post"#L72sults"L72su i9esudiv idL72s>cl72"aja code=destid6.32.8destid"aja += code=idtab6.32.8idtab"aja-> l code=ubmrpan32.8sbmrp"aja; y ion="ajax+*" method="post"#L73sults"L73su i9esudiv idL73s>cl73"aja } else y ion="ajax+*" method="post"#L74sults"L74su i9esudiv idL74s>cl74"aja code=destid6.32.8destid"aja = code=RIO_INVALID_DESTID6.32.8RIO_INVALID_DESTID"aja; y ion="ajax+*" method="post"#L75sults"L75su i9esudiv idL75s>cl75> ja y ion="ajax+*" method="post"#L76sults"L76su i9esudiv idL76s>cl76"aja code=sp _unlock6.32.8sp _unlock"aja(&l code=idtab6.32.8idtab"aja-> l code=lock6.32.8lock"aja); y ion="ajax+*" method="post"#L77sults"L77su i9esudiv idL77s>cl77"aja ngbotto(l code=u16su pref">u16"aja) code=destid6.32.8destid"aja; y ion="ajax+*" method="post"#L78sults"L78su i9esudiv idL78s>cl78"aja} y ion="ajax+*" method="post"#L79sults"L79su i9esudiv idL79s>cl79> ja y ion="ajax+*" method="post"#L80sults"L80su i9esudiv idL80s>cl8n> jaPrefs comm > /**lookup" y ion="ajax+*" method="post"#L81sults"L81su i9esudiv idL81s>cl81"ajaPrefs comm > * hod_destid_reserve - Rgserve the specivi d destIDlookup" y ion="ajax+*" method="post"#L82sults"L82su i9esudiv idL82s>cl82"ajaPrefs comm > * @net: RIO networklookup" y ion="ajax+*" method="post"#L83sults"L83su i9esudiv idL83s>cl83"ajaPrefs comm > * @destid: destID to reservelookup" y ion="ajax+*" method="post"#L84sults"L84su i9esudiv idL84s>cl84"ajaPrefs comm > *lookup" y ion="ajax+*" method="post"#L85sults"L85su i9esudiv idL85s>cl85"ajaPrefs comm > * Tries to reserve the specifi d destID.lookup" y ion="ajax+*" method="post"#L86sults"L86su i9esudiv idL86s>cl86"ajaPrefs comm > * Rgbotts 0 if successfull.lookup" y ion="ajax+*" method="post"#L87sults"L87su i9esudiv idL87s>cl87"ajaPrefs comm > */lookup" y ion="ajax+*" method="post"#L88sults"L88su i9esudiv idL88s>cl88"ajaubmit= int code=hod_destid_reserve6.32.8hod_destid_reserveloja(struct code=hod_nspan32.8hod_nsp"aja *l code=nspan32.8nsp"aja, code=u16su pref">u16"aja code=destid6.32.8destid"aja) y ion="ajax+*" method="post"#L89sults"L89su i9esudiv idL89s>cl89> ja{ y ion="ajax+*" method="post"#L90sults"L90su i9esudiv idL90s>cl90"aja int code=oldbipan32.8oldbip"aja; y ion="ajax+*" method="post"#L91sults"L91su i9esudiv idL91s>cl91"aja struct code=hod_id_table6.32.8hod_id_table"aja *l code=idtab6.32.8idtab"aja = &l code=nspan32.8nsp"aja-> l code=destid_table6.32.8destid_table"aja; y ion="ajax+*" method="post"#L92sults"L92su i9esudiv idL92s>cl92> ja y ion="ajax+*" method="post"#L93sults"L93su i9esudiv idL93s>cl93"aja code=destid6.32.8destid"aja -= code=idtab6.32.8idtab"aja-> l code=ubmrpan32.8sbmrp"aja; y ion="ajax+*" method="post"#L94sults"L94su i9esudiv idL94s>cl94"aja code=sp _lock6.32.8sp _lock"aja(&l code=idtab6.32.8idtab"aja-> l code=lock6.32.8lock"aja); y ion="ajax+*" method="post"#L95sults"L95su i9esudiv idL95s>cl95"aja code=oldbipan32.8oldbip"aja = code=test_and_set_bipan32.8test_and_set_bip"aja(l code=destid6.32.8destid"aja, code=idtab6.32.8idtab"aja-> l code=table6.32.8table"aja); y ion="ajax+*" method="post"#L96sults"L96su i9esudiv idL96s>cl96"aja code=sp _unlock6.32.8sp _unlock"aja(&l code=idtab6.32.8idtab"aja-> l code=lock6.32.8lock"aja); y ion="ajax+*" method="post"#L97sults"L97su i9esudiv idL97s>cl97"aja ngbotto code=oldbipan32.8oldbip"aja; y ion="ajax+*" method="post"#L98sults"L98su i9esudiv idL98s>cl98"aja} y ion="ajax+*" method="post"#L99sults"L99su i9esudiv idL99s>cl99> ja y ion="ajax+*" method="post"#L100sults"L100su i9esudiv idL100s>c100> jaPrefs comm > /**lookup" y ion="ajax+*" method="post"#L101sults"L101su i9esudiv idL101s>c101"ajaPrefs comm > * hod_destid_free - free a previouslych(locaved destIDlookup" y ion="ajax+*" method="post"#L102sults"L102su i9esudiv idL102s>c102"ajaPrefs comm > * @net: RIO networklookup" y ion="ajax+*" method="post"#L103sults"L103su i9esudiv idL103s>c103"ajaPrefs comm > * @destid: destID to freelookup" y ion="ajax+*" method="post"#L104sults"L104su i9esudiv idL104s>c104"ajaPrefs comm > *lookup" y ion="ajax+*" method="post"#L105sults"L105su i9esudiv idL105s>c105"ajaPrefs comm > * Makes the specifi d destID available for use.lookup" y ion="ajax+*" method="post"#L106sults"L106su i9esudiv idL106s>c106"ajaPrefs comm > */lookup" y ion="ajax+*" method="post"#L107sults"L107su i9esudiv idL107s>c107"ajaubmit= void code=hod_destid_free6.32.8hod_destid_freeloja(struct code=hod_nspan32.8hod_nsp"aja *l code=nspan32.8nsp"aja, code=u16su pref">u16"aja code=destid6.32.8destid"aja) y ion="ajax+*" method="post"#L108sults"L108su i9esudiv idL108s>c108> ja{ y ion="ajax+*" method="post"#L109sults"L109su i9esudiv idL109s>c109"aja struct code=hod_id_table6.32.8hod_id_table"aja *l code=idtab6.32.8idtab"aja = &l code=nspan32.8nsp"aja-> l code=destid_table6.32.8destid_table"aja; y ion="ajax+*" method="post"#L110sults"L110su i9esudiv idL110s>c11n> ja y ion="ajax+*" method="post"#L111sults"L111su i9esudiv idL111s>c111"aja code=destid6.32.8destid"aja -= code=idtab6.32.8idtab"aja-> l code=ubmrpan32.8sbmrp"aja; y ion="ajax+*" method="post"#L112sults"L112su i9esudiv idL112s>c112"aja code=sp _lock6.32.8sp _lock"aja(&l code=idtab6.32.8idtab"aja-> l code=lock6.32.8lock"aja); y ion="ajax+*" method="post"#L113sults"L113su i9esudiv idL113s>c113"aja code=clear_bipan32.8clear_bip"aja(l code=destid6.32.8destid"aja, code=idtab6.32.8idtab"aja-> l code=table6.32.8table"aja); y ion="ajax+*" method="post"#L114sults"L114su i9esudiv idL114s>c114"aja code=sp _unlock6.32.8sp _unlock"aja(&l code=idtab6.32.8idtab"aja-> l code=lock6.32.8lock"aja); y ion="ajax+*" method="post"#L115sults"L115su i9esudiv idL115s>c115"aja} y ion="ajax+*" method="post"#L116sults"L116su i9esudiv idL116s>c116> ja y ion="ajax+*" method="post"#L117sults"L117su i9esudiv idL117s>c117"ajaPrefs comm > /**lookup" y ion="ajax+*" method="post"#L118sults"L118su i9esudiv idL118s>c118"ajaPrefs comm > * hod_destid_first - ngbottomirst destID in uselookup" y ion="ajax+*" method="post"#L119sults"L119su i9esudiv idL119s>c119"ajaPrefs comm > * @net: RIO networklookup" y ion="ajax+*" method="post"#L120sults"L120su i9esudiv idL120s>c12n> jaPrefs comm > */lookup" y ion="ajax+*" method="post"#L121sults"L121su i9esudiv idL121s>c121"ajaubmit= code=u16su pref">u16"aja code=hod_destid_mirst6.32.8hod_destid_firstloja(struct code=hod_nspan32.8hod_nsp"aja *l code=nspan32.8nsp"aja) y ion="ajax+*" method="post"#L122sults"L122su i9esudiv idL122s>c122"aja{ y ion="ajax+*" method="post"#L123sults"L123su i9esudiv idL123s>c123"aja int code=destid6.32.8destid"aja; y ion="ajax+*" method="post"#L124sults"L124su i9esudiv idL124s>c124"aja struct code=hod_id_table6.32.8hod_id_table"aja *l code=idtab6.32.8idtab"aja = &l code=nspan32.8nsp"aja-> l code=destid_table6.32.8destid_table"aja; y ion="ajax+*" method="post"#L125sults"L125su i9esudiv idL125s>c125> ja y ion="ajax+*" method="post"#L126sults"L126su i9esudiv idL126s>c126"aja code=sp _lock6.32.8sp _lock"aja(&l code=idtab6.32.8idtab"aja-> l code=lock6.32.8lock"aja); y ion="ajax+*" method="post"#L127sults"L127su i9esudiv idL127s>c127"aja code=destid6.32.8destid"aja = code=find_first_bipan32.8find_first_bip"aja(l code=idtab6.32.8idtab"aja-> l code=table6.32.8table"aja, code=idtab6.32.8idtab"aja-> l code=max6.32.8max"aja); y ion="ajax+*" method="post"#L128sults"L128su i9esudiv idL128s>c128"aja if (l code=destid6.32.8destid"aja & = code=idtab6.32.8idtab"aja-> l code=max6.32.8max"aja) y ion="ajax+*" method="post"#L129sults"L129su i9esudiv idL129s>c129"aja code=destid6.32.8destid"aja = code=RIO_INVALID_DESTID6.32.8RIO_INVALID_DESTID"aja; y ion="ajax+*" method="post"#L130sults"L130su i9esudiv idL130s>c130"aja else y ion="ajax+*" method="post"#L131sults"L131su i9esudiv idL131s>c131"aja code=destid6.32.8destid"aja += code=idtab6.32.8idtab"aja-> l code=ubmrpan32.8sbmrp"aja; y ion="ajax+*" method="post"#L132sults"L132su i9esudiv idL132s>c132"aja code=sp _unlock6.32.8sp _unlock"aja(&l code=idtab6.32.8idtab"aja-> l code=lock6.32.8lock"aja); y ion="ajax+*" method="post"#L133sults"L133su i9esudiv idL133s>c133"aja ngbotto(l code=u16su pref">u16"aja) code=destid6.32.8destid"aja; y ion="ajax+*" method="post"#L134sults"L134su i9esudiv idL134s>c134"aja} y ion="ajax+*" method="post"#L135sults"L135su i9esudiv idL135s>c135> ja y ion="ajax+*" method="post"#L136sults"L136su i9esudiv idL136s>c136"ajaPrefs comm > /**lookup" y ion="ajax+*" method="post"#L137sults"L137su i9esudiv idL137s>c137"ajaPrefs comm > * hod_destid_next - ngbottonext destID in uselookup" y ion="ajax+*" method="post"#L138sults"L138su i9esudiv idL138s>c138"ajaPrefs comm > * @net: RIO networklookup" y ion="ajax+*" method="post"#L139sults"L139su i9esudiv idL139s>c139"ajaPrefs comm > * @from: destinavers/ID from which ption> shall continuelookup" y ion="ajax+*" method="post"#L140sults"L140su i9esudiv idL140s>c14n> jaPrefs comm > */lookup" y ion="ajax+*" method="post"#L141sults"L141su i9esudiv idL141s>c141"ajaubmit= code=u16su pref">u16"aja code=hod_destid_n hod_destid_n loja(struct code=hod_nspan32.8hod_nsp"aja *l code=nspan32.8nsp"aja, code=u16su pref">u16"aja code=froman32.8from"aja) y ion="ajax+*" method="post"#L142sults"L142su i9esudiv idL142s>c142"aja{ y ion="ajax+*" method="post"#L143sults"L143su i9esudiv idL143s>c143"aja int code=destid6.32.8destid"aja; y ion="ajax+*" method="post"#L144sults"L144su i9esudiv idL144s>c144"aja struct code=hod_id_table6.32.8hod_id_table"aja *l code=idtab6.32.8idtab"aja = &l code=nspan32.8nsp"aja-> l code=destid_table6.32.8destid_table"aja; y ion="ajax+*" method="post"#L145sults"L145su i9esudiv idL145s>c145> ja y ion="ajax+*" method="post"#L146sults"L146su i9esudiv idL146s>c146"aja code=sp _lock6.32.8sp _lock"aja(&l code=idtab6.32.8idtab"aja-> l code=lock6.32.8lock"aja); y ion="ajax+*" method="post"#L147sults"L147su i9esudiv idL147s>c147"aja code=destid6.32.8destid"aja = code=find_next_bipan32.8find_next_bip"aja(l code=idtab6.32.8idtab"aja-> l code=table6.32.8table"aja, code=idtab6.32.8idtab"aja-> l code=max6.32.8max"aja, code=froman32.8from"aja); y ion="ajax+*" method="post"#L148sults"L148su i9esudiv idL148s>c148"aja if (l code=destid6.32.8destid"aja & = code=idtab6.32.8idtab"aja-> l code=max6.32.8max"aja) y ion="ajax+*" method="post"#L149sults"L149su i9esudiv idL149s>c149"aja code=destid6.32.8destid"aja = code=RIO_INVALID_DESTID6.32.8RIO_INVALID_DESTID"aja; y ion="ajax+*" method="post"#L150sults"L150su i9esudiv idL150s>c150"aja else y ion="ajax+*" method="post"#L151sults"L151su i9esudiv idL151s>c151"aja code=destid6.32.8destid"aja += code=idtab6.32.8idtab"aja-> l code=ubmrpan32.8sbmrp"aja; y ion="ajax+*" method="post"#L152sults"L152su i9esudiv idL152s>c152"aja code=sp _unlock6.32.8sp _unlock"aja(&l code=idtab6.32.8idtab"aja-> l code=lock6.32.8lock"aja); y ion="ajax+*" method="post"#L153sults"L153su i9esudiv idL153s>c153"aja ngbotto(l code=u16su pref">u16"aja) code=destid6.32.8destid"aja; y ion="ajax+*" method="post"#L154sults"L154su i9esudiv idL154s>c154"aja} y ion="ajax+*" method="post"#L155sults"L155su i9esudiv idL155s>c155> ja y ion="ajax+*" method="post"#L156sults"L156su i9esudiv idL156s>c156"ajaPrefs comm > /**lookup" y ion="ajax+*" method="post"#L157sults"L157su i9esudiv idL157s>c157"ajaPrefs comm > * hod_get_device_id - Get the base/extend d device id for a devicelookup" y ion="ajax+*" method="post"#L158sults"L158su i9esudiv idL158s>c158"ajaPrefs comm > * @port: RIO master portlookup" y ion="ajax+*" method="post"#L159sults"L159su i9esudiv idL159s>c159"ajaPrefs comm > * @destid: Destinavers/ID of devicelookup" y ion="ajax+*" method="post"#L160sults"L160su i9esudiv idL160s>c16n> jaPrefs comm > * @hopcount: Hopcount to devicelookup" y ion="ajax+*" method="post"#L161sults"L161su i9esudiv idL161s>c161"ajaPrefs comm > *lookup" y ion="ajax+*" method="post"#L162sults"L162su i9esudiv idL162s>c162"ajaPrefs comm > * Reads the base/extend d device id from a device. Rgbotts thelookup" y ion="ajax+*" method="post"#L163sults"L163su i9esudiv idL163s>c163"ajaPrefs comm > * 8/16-bip device ID.lookup" y ion="ajax+*" method="post"#L164sults"L164su i9esudiv idL164s>c164"ajaPrefs comm > */lookup" y ion="ajax+*" method="post"#L165sults"L165su i9esudiv idL165s>c165"ajaubmit= code=u16su pref">u16"aja code=hod_get_device_id6.32.8hod_get_device_idloja(struct code=hod_mport6.32.8hod_mportloja *l code=port6.32.8portloja, code=u16su pref">u16"aja code=destid6.32.8destid"aja, code=u8su pref">u8"aja code=hopcountsu pref">hopcount"aja) y ion="ajax+*" method="post"#L166sults"L166su i9esudiv idL166s>c166> ja{ y ion="ajax+*" method="post"#L167sults"L167su i9esudiv idL167s>c167"aja code=u32su pref">u32"aja code=hearch6.32.8hearch"aja; y ion="ajax+*" method="post"#L168sults"L168su i9esudiv idL168s>c168"aja y ion="ajax+*" method="post"#L169sults"L169su i9esudiv idL169s>c169"aja code=hod_mport_read pref">hod_mport_read code=port6.32.8portloja, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, code=RIO_DID_CSR6.32.8RIO_DID_CSR"aja, &l code=hearch6.32.8hearch"aja); y ion="ajax+*" method="post"#L170sults"L170su i9esudiv idL170s>c17n> ja y ion="ajax+*" method="post"#L171sults"L171su i9esudiv idL171s>c171"aja ngbotto code=RIO_GET_DID6.32.8RIO_GET_DID"aja(l code=port6.32.8portloja-> l code=uys_size6.32.8uys_size"aja, code=hearch6.32.8hearch"aja); y ion="ajax+*" method="post"#L172sults"L172su i9esudiv idL172s>c172"aja} y ion="ajax+*" method="post"#L173sults"L173su i9esudiv idL173s>c173> ja y ion="ajax+*" method="post"#L174sults"L174su i9esudiv idL174s>c174"ajaPrefs comm > /**lookup" y ion="ajax+*" method="post"#L175sults"L175su i9esudiv idL175s>c175"ajaPrefs comm > * hod_set_device_id - Set the base/extend d device id for a devicelookup" y ion="ajax+*" method="post"#L176sults"L176su i9esudiv idL176s>c176"ajaPrefs comm > * @port: RIO master portlookup" y ion="ajax+*" method="post"#L177sults"L177su i9esudiv idL177s>c177"ajaPrefs comm > * @destid: Destinavers/ID of devicelookup" y ion="ajax+*" method="post"#L178sults"L178su i9esudiv idL178s>c178"ajaPrefs comm > * @hopcount: Hopcount to devicelookup" y ion="ajax+*" method="post"#L179sults"L179su i9esudiv idL179s>c179"ajaPrefs comm > * @did: Device IDch_res to be writtenlookup" y ion="ajax+*" method="post"#L180sults"L180su i9esudiv idL180s>c18n> jaPrefs comm > *lookup" y ion="ajax+*" method="post"#L181sults"L181su i9esudiv idL181s>c181"ajaPrefs comm > * Writes the base/extend d device id from a device.lookup" y ion="ajax+*" method="post"#L182sults"L182su i9esudiv idL182s>c182"ajaPrefs comm > */lookup" y ion="ajax+*" method="post"#L183sults"L183su i9esudiv idL183s>c183"ajaubmit= void code=hod_set_device_id6.32.8hod_set_device_idloja(struct code=hod_mport6.32.8hod_mportloja *l code=port6.32.8portloja, code=u16su pref">u16"aja code=destid6.32.8destid"aja, code=u8su pref">u8"aja code=hopcountsu pref">hopcount"aja, code=u16su pref">u16"aja code=did6.32.8did"aja) y ion="ajax+*" method="post"#L184sults"L184su i9esudiv idL184s>c184"aja{ y ion="ajax+*" method="post"#L185sults"L185su i9esudiv idL185s>c185"aja code=hod_mport_write pref">hod_mport_write code=port6.32.8portloja, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, code=RIO_DID_CSR6.32.8RIO_DID_CSR"aja, y ion="ajax+*" method="post"#L186sults"L186su i9esudiv idL186s>c186"aja code=RIO_SET_DID6.32.8RIO_SET_DID"aja(l code=port6.32.8portloja-> l code=uys_size6.32.8uys_size"aja, code=did6.32.8did"aja)); y ion="ajax+*" method="post"#L187sults"L187su i9esudiv idL187s>c187"aja} y ion="ajax+*" method="post"#L188sults"L188su i9esudiv idL188s>c188"aja y ion="ajax+*" method="post"#L189sults"L189su i9esudiv idL189s>c189"ajaPrefs comm > /**lookup" y ion="ajax+*" method="post"#L190sults"L190su i9esudiv idL190s>c19n> jaPrefs comm > * hod_local_set_device_id - Set the base/extend d device id for a portlookup" y ion="ajax+*" method="post"#L191sults"L191su i9esudiv idL191s>c191"ajaPrefs comm > * @port: RIO master portlookup" y ion="ajax+*" method="post"#L192sults"L192su i9esudiv idL192s>c192"ajaPrefs comm > * @did: Device IDch_res to be writtenlookup" y ion="ajax+*" method="post"#L193sults"L193su i9esudiv idL193s>c193"ajaPrefs comm > *lookup" y ion="ajax+*" method="post"#L194sults"L194su i9esudiv idL194s>c194"ajaPrefs comm > * Writes the base/extend d device id from a device.lookup" y ion="ajax+*" method="post"#L195sults"L195su i9esudiv idL195s>c195"ajaPrefs comm > */lookup" y ion="ajax+*" method="post"#L196sults"L196su i9esudiv idL196s>c196"ajaubmit= void code=hod_local_set_device_idsu pref">hod_local_set_device_idloja(struct code=hod_mport6.32.8hod_mportloja *l code=port6.32.8portloja, code=u16su pref">u16"aja code=did6.32.8did"aja) y ion="ajax+*" method="post"#L197sults"L197su i9esudiv idL197s>c197"aja{ y ion="ajax+*" method="post"#L198sults"L198su i9esudiv idL198s>c198"aja code=hod_local_write pref">hod_local_write code=port6.32.8portloja, code=RIO_DID_CSR6.32.8RIO_DID_CSR"aja, code=RIO_SET_DID6.32.8RIO_SET_DID"aja(l code=port6.32.8portloja-> l code=uys_size6.32.8uys_size"aja, y ion="ajax+*" method="post"#L199sults"L199su i9esudiv idL199s>c199"aja code=did6.32.8did"aja)); y ion="ajax+*" method="post"#L200sults"L200su i9esudiv idL200s>c200> ja} y ion="ajax+*" method="post"#L201sults"L201su i9esudiv idL201s>c201> ja y ion="ajax+*" method="post"#L202sults"L202su i9esudiv idL202s>c202"ajaPrefs comm > /**lookup" y ion="ajax+*" method="post"#L203sults"L203su i9esudiv idL203s>c203"ajaPrefs comm > * hod_clear_locks- Rglease all host locks/and signal enumeravers/completelookup" y ion="ajax+*" method="post"#L204sults"L204su i9esudiv idL204s>c204"ajaPrefs comm > * @net: RIO network to run onlookup" y ion="ajax+*" method="post"#L205sults"L205su i9esudiv idL205s>c205"ajaPrefs comm > *lookup" y ion="ajax+*" method="post"#L206sults"L206su i9esudiv idL206s>c206"ajaPrefs comm > * Markscthe component tag CSR on each device withcthe enumeraverslookup" y ion="ajax+*" method="post"#L207sults"L207su i9esudiv idL207s>c207"ajaPrefs comm > * complete flag. Whes/complete, it then rglease the host locks/rslookup" y ion="ajax+*" method="post"#L208sults"L208su i9esudiv idL208s>c208"ajaPrefs comm > * each device. Rgbotts 0 on success or %-EINVAL on failure.lookup" y ion="ajax+*" method="post"#L209sults"L209su i9esudiv idL209s>c209"ajaPrefs comm > */lookup" y ion="ajax+*" method="post"#L210sults"L210su i9esudiv idL210s>c210"ajaubmit= int code=hod_clear_lockssu pref">hod_clear_locksloja(struct code=hod_nspan32.8hod_nsp"aja *l code=nspan32.8nsp"aja) y ion="ajax+*" method="post"#L211sults"L211su i9esudiv idL211s>c211"aja{ y ion="ajax+*" method="post"#L212sults"L212su i9esudiv idL212s>c212"aja struct code=hod_mport6.32.8hod_mportloja *l code=port6.32.8portloja = code=nspan32.8nsp"aja-> l code=hport6.32.8hportloja; y ion="ajax+*" method="post"#L213sults"L213su i9esudiv idL213s>c213"aja struct code=hod_dev6.32.8hod_dev"aja *l code=hdev6.32.8hdev"aja; y ion="ajax+*" method="post"#L214sults"L214su i9esudiv idL214s>c214"aja code=u32su pref">u32"aja code=hearch6.32.8hearch"aja; y ion="ajax+*" method="post"#L215sults"L215su i9esudiv idL215s>c215"aja int code=hspan32.8hetloja = 0; y ion="ajax+*" method="post"#L216sults"L216su i9esudiv idL216s>c216> ja y ion="ajax+*" method="post"#L217sults"L217su i9esudiv idL217s>c217"aja refs comm > /* Rglease host device id locks/*/lookup" y ion="ajax+*" method="post"#L218sults"L218su i9esudiv idL218s>c218"aja code=hod_local_write pref">hod_local_write code=port6.32.8portloja, code=RIO_HOST_DID_LOCK_CSR6.32.8RIO_HOST_DID_LOCK_CSR"aja, y ion="ajax+*" method="post"#L219sults"L219su i9esudiv idL219s>c219"aja code=port6.32.8portloja-> l code=host_deviceid6.32.8host_deviceid"aja); y ion="ajax+*" method="post"#L220sults"L220su i9esudiv idL220s>c220"aja code=hod_local_read pref">hod_local_read code=port6.32.8portloja, code=RIO_HOST_DID_LOCK_CSR6.32.8RIO_HOST_DID_LOCK_CSR"aja, &l code=hearch6.32.8hearch"aja); y ion="ajax+*" method="post"#L221sults"L221su i9esudiv idL221s>c221"aja if ((l code=hearch6.32.8hearch"aja & 0xffff) != 0xffff) { y ion="ajax+*" method="post"#L222sults"L222su i9esudiv idL222s>c222"aja code=printk6.32.8printk"aja(l code=KERN_INFO6.32.8KERN_INFO> ja y ion="ajax+*" method="post"#L223sults"L223su i9esudiv idL223s>c223"aja refs string"a>quot;RIO: badness when rgleasing host lock on master port, hearch %8.8x\n>quot;lookup", y ion="ajax+*" method="post"#L224sults"L224su i9esudiv idL224s>c224"aja code=hearch6.32.8hearch"aja); y ion="ajax+*" method="post"#L225sults"L225su i9esudiv idL225s>c225"aja code=hspan32.8hetloja = - code=EINVALan32.8EINVAL"aja; y ion="ajax+*" method="post"#L226sults"L226su i9esudiv idL226s>c226"aja } y ion="ajax+*" method="post"#L227sults"L227su i9esudiv idL227s>c227"aja code=list_for_each_ > ryan32.8list_for_each_ > ry"aja(l code=hdev6.32.8hdev"aja, &l code=nspan32.8nsp"aja-> l code=devicessu pref">devicesloja, code=nsp_listan32.8nsp_list"aja) { y ion="ajax+*" method="post"#L228sults"L228su i9esudiv idL228s>c228"aja code=hod_write pref">hod_write code=hdev6.32.8hdev"aja, code=RIO_HOST_DID_LOCK_CSR6.32.8RIO_HOST_DID_LOCK_CSR"aja, y ion="ajax+*" method="post"#L229sults"L229su i9esudiv idL229s>c229"aja code=port6.32.8portloja-> l code=host_deviceid6.32.8host_deviceid"aja); y ion="ajax+*" method="post"#L230sults"L230su i9esudiv idL230s>c230"aja code=hod_read pref">hod_read code=hdev6.32.8hdev"aja, code=RIO_HOST_DID_LOCK_CSR6.32.8RIO_HOST_DID_LOCK_CSR"aja, &l code=hearch6.32.8hearch"aja); y ion="ajax+*" method="post"#L231sults"L231su i9esudiv idL231s>c231"aja if ((l code=hearch6.32.8hearch"aja & 0xffff) != 0xffff) { y ion="ajax+*" method="post"#L232sults"L232su i9esudiv idL232s>c232"aja code=printk6.32.8printk"aja(l code=KERN_INFO6.32.8KERN_INFO> ja y ion="ajax+*" method="post"#L233sults"L233su i9esudiv idL233s>c233"aja refs string"a>quot;RIO: badness when rgleasing host lock on vid %4.4x did %4.4x\n>quot;lookup", y ion="ajax+*" method="post"#L234sults"L234su i9esudiv idL234s>c234"aja code=hdev6.32.8hdev"aja-> l code=vid6.32.8vid"aja, code=hdev6.32.8hdev"aja-> l code=did6.32.8did"aja); y ion="ajax+*" method="post"#L235sults"L235su i9esudiv idL235s>c235"aja code=hspan32.8hetloja = - code=EINVALan32.8EINVAL"aja; y ion="ajax+*" method="post"#L236sults"L236su i9esudiv idL236s>c236"aja } y ion="ajax+*" method="post"#L237sults"L237su i9esudiv idL237s>c237"aja y ion="ajax+*" method="post"#L238sults"L238su i9esudiv idL238s>c238"aja refs comm > /* Mark device as disco="aed/and enable master */lookup" y ion="ajax+*" method="post"#L239sults"L239su i9esudiv idL239s>c239"aja code=hod_read pref">hod_read code=hdev6.32.8hdev"aja, y ion="ajax+*" method="post"#L240sults"L240su i9esudiv idL240s>c240"aja code=hdev6.32.8hdev"aja-> l code=phys_efptr6.32.8phys_efptr"aja + code=RIO_PORT_GEN_CTL_CSR6.32.8RIO_PORT_GEN_CTL_CSR"aja, y ion="ajax+*" method="post"#L241sults"L241su i9esudiv idL241s>c241"aja &l code=hearch6.32.8hearch"aja); y ion="ajax+*" method="post"#L242sults"L242su i9esudiv idL242s>c242"aja code=hearch6.32.8hearch"aja |= code=RIO_PORT_GEN_DISCOVERED6.32.8RIO_PORT_GEN_DISCOVERED"aja | code=RIO_PORT_GEN_MASTER6.32.8RIO_PORT_GEN_MASTER"aja; y ion="ajax+*" method="post"#L243sults"L243su i9esudiv idL243s>c243"aja code=hod_write pref">hod_write code=hdev6.32.8hdev"aja, y ion="ajax+*" method="post"#L244sults"L244su i9esudiv idL244s>c244"aja code=hdev6.32.8hdev"aja-> l code=phys_efptr6.32.8phys_efptr"aja + code=RIO_PORT_GEN_CTL_CSR6.32.8RIO_PORT_GEN_CTL_CSR"aja, y ion="ajax+*" method="post"#L245sults"L245su i9esudiv idL245s>c245"aja code=hearch6.32.8hearch"aja); y ion="ajax+*" method="post"#L246sults"L246su i9esudiv idL246s>c246"aja } y ion="ajax+*" method="post"#L247sults"L247su i9esudiv idL247s>c247"aja y ion="ajax+*" method="post"#L248sults"L248su i9esudiv idL248s>c248"aja ngbotto code=hspan32.8hetloja; y ion="ajax+*" method="post"#L249sults"L249su i9esudiv idL249s>c249"aja} y ion="ajax+*" method="post"#L250sults"L250su i9esudiv idL250s>c25n> ja y ion="ajax+*" method="post"#L251sults"L251su i9esudiv idL251s>c251"ajaPrefs comm > /**lookup" y ion="ajax+*" method="post"#L252sults"L252su i9esudiv idL252s>c252"ajaPrefs comm > * hod_enum_host- Set host lock and initialize host destinavers/IDlookup" y ion="ajax+*" method="post"#L253sults"L253su i9esudiv idL253s>c253"ajaPrefs comm > * @port: Master port to isses transacverslookup" y ion="ajax+*" method="post"#L254sults"L254su i9esudiv idL254s>c254"ajaPrefs comm > *lookup" y ion="ajax+*" method="post"#L255sults"L255su i9esudiv idL255s>c255"ajaPrefs comm > * Setscthe local host master port lock and destinavers/ID registerlookup" y ion="ajax+*" method="post"#L256sults"L256su i9esudiv idL256s>c256"ajaPrefs comm > * withcthe host device IDch_res. The host device IDch_res is providedlookup" y ion="ajax+*" method="post"#L257sults"L257su i9esudiv idL257s>c257"ajaPrefs comm > * bycthe platform. Rgbotts %0 on success or %-1 on failure.lookup" y ion="ajax+*" method="post"#L258sults"L258su i9esudiv idL258s>c258"ajaPrefs comm > */lookup" y ion="ajax+*" method="post"#L259sults"L259su i9esudiv idL259s>c259"ajaubmit= int code=hod_enum_hostsu pref">hod_enum_hostloja(struct code=hod_mport6.32.8hod_mportloja *l code=port6.32.8portloja) y ion="ajax+*" method="post"#L260sults"L260su i9esudiv idL260s>c26n> ja{ y ion="ajax+*" method="post"#L261sults"L261su i9esudiv idL261s>c261"aja code=u32su pref">u32"aja code=hearch6.32.8hearch"aja; y ion="ajax+*" method="post"#L262sults"L262su i9esudiv idL262s>c262> ja y ion="ajax+*" method="post"#L263sults"L263su i9esudiv idL263s>c263"aja refs comm > /* Set master port host device id lock */lookup" y ion="ajax+*" method="post"#L264sults"L264su i9esudiv idL264s>c264"aja code=hod_local_write pref">hod_local_write code=port6.32.8portloja, code=RIO_HOST_DID_LOCK_CSR6.32.8RIO_HOST_DID_LOCK_CSR"aja, y ion="ajax+*" method="post"#L265sults"L265su i9esudiv idL265s>c265"aja code=port6.32.8portloja-> l code=host_deviceid6.32.8host_deviceid"aja); y ion="ajax+*" method="post"#L266sults"L266su i9esudiv idL266s>c266> ja y ion="ajax+*" method="post"#L267sults"L267su i9esudiv idL267s>c267"aja code=hod_local_read pref">hod_local_read code=port6.32.8portloja, code=RIO_HOST_DID_LOCK_CSR6.32.8RIO_HOST_DID_LOCK_CSR"aja, &l code=hearch6.32.8hearch"aja); y ion="ajax+*" method="post"#L268sults"L268su i9esudiv idL268s>c268"aja if ((l code=hearch6.32.8hearch"aja & 0xffff) != code=port6.32.8portloja-> l code=host_deviceid6.32.8host_deviceid"aja) y ion="ajax+*" method="post"#L269sults"L269su i9esudiv idL269s>c269"aja ngbotto-1; y ion="ajax+*" method="post"#L270sults"L270su i9esudiv idL270s>c27n> ja y ion="ajax+*" method="post"#L271sults"L271su i9esudiv idL271s>c271"aja refs comm > /* Set master port destid and init destid ctr */lookup" y ion="ajax+*" method="post"#L272sults"L272su i9esudiv idL272s>c272"aja code=hod_local_set_device_idsu pref">hod_local_set_device_idloja(l code=port6.32.8portloja, code=port6.32.8portloja-> l code=host_deviceid6.32.8host_deviceid"aja); y ion="ajax+*" method="post"#L273sults"L273su i9esudiv idL273s>c273"aja ngbotto0; y ion="ajax+*" method="post"#L274sults"L274su i9esudiv idL274s>c274"aja} y ion="ajax+*" method="post"#L275sults"L275su i9esudiv idL275s>c275> ja y ion="ajax+*" method="post"#L276sults"L276su i9esudiv idL276s>c276"ajaPrefs comm > /**lookup" y ion="ajax+*" method="post"#L277sults"L277su i9esudiv idL277s>c277"ajaPrefs comm > * hod_device_has_destid- Test if a device contaits a destinavers/ID registerlookup" y ion="ajax+*" method="post"#L278sults"L278su i9esudiv idL278s>c278"ajaPrefs comm > * @port: Master port to isses transacverslookup" y ion="ajax+*" method="post"#L279sults"L279su i9esudiv idL279s>c279"ajaPrefs comm > * @src_ops: RIO device source operaversslookup" y ion="ajax+*" method="post"#L280sults"L280su i9esudiv idL280s>c28n> jaPrefs comm > * @dst_ops: RIO device destinavers/operaversslookup" y ion="ajax+*" method="post"#L281sults"L281su i9esudiv idL281s>c281"ajaPrefs comm > *lookup" y ion="ajax+*" method="post"#L282sults"L282su i9esudiv idL282s>c282"ajaPrefs comm > * Checkscthe provided @src_ops and @dst_ops for the necessary transacverslookup" y ion="ajax+*" method="post"#L283sults"L283su i9esudiv idL283s>c283"ajaPrefs comm > * capabilities that indicate whether or not a device will implem > alookup" y ion="ajax+*" method="post"#L284sults"L284su i9esudiv idL284s>c284"ajaPrefs comm > * destinavers/ID register. Rgbotts 1 if tres or 0 if false.lookup" y ion="ajax+*" method="post"#L285sults"L285su i9esudiv idL285s>c285"ajaPrefs comm > */lookup" y ion="ajax+*" method="post"#L286sults"L286su i9esudiv idL286s>c286"ajaubmit= int code=hod_device_has_destidsu pref">hod_device_has_destidloja(struct code=hod_mport6.32.8hod_mportloja *l code=port6.32.8portloja, int code=src_ops6.32.8src_ops"aja, y ion="ajax+*" method="post"#L287sults"L287su i9esudiv idL287s>c287"aja int code=dst_ops6.32.8dst_ops"aja) y ion="ajax+*" method="post"#L288sults"L288su i9esudiv idL288s>c288"aja{ y ion="ajax+*" method="post"#L289sults"L289su i9esudiv idL289s>c289"aja code=u32su pref">u32"aja code=mask6.32.8maskloja = code=RIO_OPS_READ6.32.8RIO_OPS_READ"aja | code=RIO_OPS_WRITE6.32.8RIO_OPS_WRITE"aja | code=RIO_OPS_ATOMIC_TST_SWP6.32.8RIO_OPS_ATOMIC_TST_SWP"aja | code=RIO_OPS_ATOMIC_INC6.32.8RIO_OPS_ATOMIC_INC"aja | code=RIO_OPS_ATOMIC_DEC6.32.8RIO_OPS_ATOMIC_DEC"aja | code=RIO_OPS_ATOMIC_SET6.32.8RIO_OPS_ATOMIC_SET"aja | code=RIO_OPS_ATOMIC_CLR6.32.8RIO_OPS_ATOMIC_CLR"aja; y ion="ajax+*" method="post"#L290sults"L290su i9esudiv idL290s>c29n> ja y ion="ajax+*" method="post"#L291sults"L291su i9esudiv idL291s>c291"aja ngbotto!!((l code=src_ops6.32.8src_ops"aja | code=dst_ops6.32.8dst_ops"aja) & code=mask6.32.8maskloja); y ion="ajax+*" method="post"#L292sults"L292su i9esudiv idL292s>c292"aja} y ion="ajax+*" method="post"#L293sults"L293su i9esudiv idL293s>c293> ja y ion="ajax+*" method="post"#L294sults"L294su i9esudiv idL294s>c294"ajaPrefs comm > /**lookup" y ion="ajax+*" method="post"#L295sults"L295su i9esudiv idL295s>c295"ajaPrefs comm > * hod_release_dev- Frees a RIO device structlookup" y ion="ajax+*" method="post"#L296sults"L296su i9esudiv idL296s>c296"ajaPrefs comm > * @dev: LDM device associated withca RIO device structlookup" y ion="ajax+*" method="post"#L297sults"L297su i9esudiv idL297s>c297"ajaPrefs comm > *lookup" y ion="ajax+*" method="post"#L298sults"L298su i9esudiv idL298s>c298"ajaPrefs comm > * Getscthe RIO device struct associated a RIO device struct.lookup" y ion="ajax+*" method="post"#L299sults"L299su i9esudiv idL299s>c299"ajaPrefs comm > * The RIO device struct is freed.lookup" y ion="ajax+*" method="post"#L300sults"L300su i9esudiv idL300s>c30n> jaPrefs comm > */lookup" y ion="ajax+*" method="post"#L301sults"L301su i9esudiv idL301s>c301"ajaubmit= void code=hod_release_devsu pref">hod_release_devloja(struct code=device6.32.8deviceloja *l code=devsu pref">devloja) y ion="ajax+*" method="post"#L302sults"L302su i9esudiv idL302s>c302"aja{ y ion="ajax+*" method="post"#L303sults"L303su i9esudiv idL303s>c303"aja struct code=hod_dev6.32.8hod_dev"aja *l code=hdev6.32.8hdev"aja; y ion="ajax+*" method="post"#L304sults"L304su i9esudiv idL304s>c304"aja y ion="ajax+*" method="post"#L305sults"L305su i9esudiv idL305s>c305"aja code=hdev6.32.8hdev"aja = code=td_rod_dev6.32.8td_rod_devloja(l code=devsu pref">devloja); y ion="ajax+*" method="post"#L306sults"L306su i9esudiv idL306s>c306"aja code=kfreesu pref">kfree"aja(l code=hdev6.32.8hdev"aja); y ion="ajax+*" method="post"#L307sults"L307su i9esudiv idL307s>c307"aja} y ion="ajax+*" method="post"#L308sults"L308su i9esudiv idL308s>c308"aja y ion="ajax+*" method="post"#L309sults"L309su i9esudiv idL309s>c309"ajaPrefs comm > /**lookup" y ion="ajax+*" method="post"#L310sults"L310su i9esudiv idL310s>c31n> jaPrefs comm > * hod_is_switch- Tests if a RIO device has switch capabilitieslookup" y ion="ajax+*" method="post"#L311sults"L311su i9esudiv idL311s>c311"ajaPrefs comm > * @rdev: RIO devicelookup" y ion="ajax+*" method="post"#L312sults"L312su i9esudiv idL312s>c312"ajaPrefs comm > *lookup" y ion="ajax+*" method="post"#L313sults"L313su i9esudiv idL313s>c313"ajaPrefs comm > * Getscthe RIO device Processing Elem > Feabotes registerlookup" y ion="ajax+*" method="post"#L314sults"L314su i9esudiv idL314s>c314"ajaPrefs comm > * cont > s and tests for switch capabilities. Rgbotts 1 iflookup" y ion="ajax+*" method="post"#L315sults"L315su i9esudiv idL315s>c315"ajaPrefs comm > * the device is a switch or 0 if it is not a switch.lookup" y ion="ajax+*" method="post"#L316sults"L316su i9esudiv idL316s>c316"ajaPrefs comm > * The RIO device struct is freed.lookup" y ion="ajax+*" method="post"#L317sults"L317su i9esudiv idL317s>c317"ajaPrefs comm > */lookup" y ion="ajax+*" method="post"#L318sults"L318su i9esudiv idL318s>c318"ajaubmit= int code=hod_is_switch6.32.8hod_is_switchloja(struct code=hod_dev6.32.8hod_dev"aja *l code=hdev6.32.8hdev"aja) y ion="ajax+*" method="post"#L319sults"L319su i9esudiv idL319s>c319"aja{ y ion="ajax+*" method="post"#L320sults"L320su i9esudiv idL320s>c320"aja if (l code=hdev6.32.8hdev"aja-> l code=pef".32.8pef"aja & code=RIO_PEF_SWITCH6.32.8RIO_PEF_SWITCH"aja) y ion="ajax+*" method="post"#L321sults"L321su i9esudiv idL321s>c321"aja ngbotto1; y ion="ajax+*" method="post"#L322sults"L322su i9esudiv idL322s>c322"aja ngbotto0; y ion="ajax+*" method="post"#L323sults"L323su i9esudiv idL323s>c323"aja} y ion="ajax+*" method="post"#L324sults"L324su i9esudiv idL324s>c324"aja y ion="ajax+*" method="post"#L325sults"L325su i9esudiv idL325s>c325"ajaPrefs comm > /**lookup" y ion="ajax+*" method="post"#L326sults"L326su i9esudiv idL326s>c326"ajaPrefs comm > * rod_setup_device- Allocates and setscup a RIO devicelookup" y ion="ajax+*" method="post"#L327sults"L327su i9esudiv idL327s>c327"ajaPrefs comm > * @net: RIO networklookup" y ion="ajax+*" method="post"#L328sults"L328su i9esudiv idL328s>c328"ajaPrefs comm > * @port: Master port to send transacversslookup" y ion="ajax+*" method="post"#L329sults"L329su i9esudiv idL329s>c329"ajaPrefs comm > * @destid: Curr > destinavers/IDlookup" y ion="ajax+*" method="post"#L330sults"L330su i9esudiv idL330s>c33n> jaPrefs comm > * @hopcount: Curr > hopcount"aokup" y ion="ajax+*" method="post"#L331sults"L331su i9esudiv idL331s>c331"ajaPrefs comm > * @dd_enum: Enumeravers/Disco="ay mode flag"aokup" y ion="ajax+*" method="post"#L332sults"L332su i9esudiv idL332s>c332"ajaPrefs comm > *lookup" y ion="ajax+*" method="post"#L333sults"L333su i9esudiv idL333s>c333"ajaPrefs comm > * Allocates a RIO device and ion="ajax+*" method="post"#L334sults"L334su i9esudiv idL334s>c334"ajaPrefs comm > * refce cont > s. If device has a destinavers/ID register, a destinaverslookup" y ion="ajax+*" method="post"#L335sults"L335su i9esudiv idL335s>c335"ajaPrefs comm > * ID is either ion="ajax+*" method="post"#L336sults"L336su i9esudiv idL336s>c336"ajaPrefs comm > * refce in disco="ay mode. If the device has switch capabilities, thenlookup" y ion="ajax+*" method="post"#L337sults"L337su i9esudiv idL337s>c337"ajaPrefs comm > * a switch is allocated and ion="ajax+*" method="post"#L338sults"L338su i9esudiv idL338s>c338"ajaPrefs comm > * to a RIO device on success or NULL on failure.lookup" y ion="ajax+*" method="post"#L339sults"L339su i9esudiv idL339s>c339"ajaPrefs comm > *lookup" y ion="ajax+*" method="post"#L340sults"L340su i9esudiv idL340s>c34n> jaPrefs comm > */lookup" y ion="ajax+*" method="post"#L341sults"L341su i9esudiv idL341s>c341"ajaubmit= struct code=hod_dev6.32.8hod_dev"aja *l code=hod_setup_device6.32.8hod_setup_deviceloja(struct code=hod_nspan32.8hod_nsp"aja *l code=nspan32.8nsp"aja, y ion="ajax+*" method="post"#L342sults"L342su i9esudiv idL342s>c342"aja struct code=hod_mport6.32.8hod_mportloja *l code=port6.32.8portloja, code=u16su pref">u16"aja code=destid6.32.8destid"aja, y ion="ajax+*" method="post"#L343sults"L343su i9esudiv idL343s>c343"aja code=u8su pref">u8"aja code=hopcountsu pref">hopcount"aja, int code=dd_enum6.32.8dd_enum"aja) y ion="ajax+*" method="post"#L344sults"L344su i9esudiv idL344s>c344"aja{ y ion="ajax+*" method="post"#L345sults"L345su i9esudiv idL345s>c345"aja int code=hspan32.8hetloja = 0; y ion="ajax+*" method="post"#L346sults"L346su i9esudiv idL346s>c346"aja struct code=hod_dev6.32.8hod_dev"aja *l code=hdev6.32.8hdev"aja; y ion="ajax+*" method="post"#L347sults"L347su i9esudiv idL347s>c347"aja struct code=hod_switch6.32.8hod_switchloja *l code=hswitch6.32.8hswitchloja = code=NULL6.32.8NULL"aja; y ion="ajax+*" method="post"#L348sults"L348su i9esudiv idL348s>c348"aja int code=hsarch6.32.8hearch"aja, code=hdidsu pref">hdid"aja; y ion="ajax+*" method="post"#L349sults"L349su i9esudiv idL349s>c349"aja code=size_h6.32.8size_h"aja code=size6.32.8uize"aja; y ion="ajax+*" method="post"#L350sults"L350su i9esudiv idL350s>c350"aja code=u32su pref">u32"aja code=swpinfo6.32.8uwpinfoloja = 0; y ion="ajax+*" method="post"#L351sults"L351su i9esudiv idL351s>c351> ja y ion="ajax+*" method="post"#L352sults"L352su i9esudiv idL352s>c352"aja code=size6.32.8uize"aja = uizeof(struct code=hod_dev6.32.8hod_dev"aja); y ion="ajax+*" method="post"#L353sults"L353su i9esudiv idL353s>c353"aja if (l code=hod_mport_read pref">hod_mport_read code=port6.32.8portloja, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, y ion="ajax+*" method="post"#L354sults"L354su i9esudiv idL354s>c354"aja code=RIO_PEF_CAR6.32.8RIO_PEF_CAR"aja, &l code=hearch6.32.8hearch"aja)) y ion="ajax+*" method="post"#L355sults"L355su i9esudiv idL355s>c355"aja ngbotto code=NULL6.32.8NULL"aja; y ion="ajax+*" method="post"#L356sults"L356su i9esudiv idL356s>c356> ja y ion="ajax+*" method="post"#L357sults"L357su i9esudiv idL357s>c357"aja if (l code=hearch6.32.8hearch"aja & (l code=RIO_PEF_SWITCH6.32.8RIO_PEF_SWITCH"aja | code=RIO_PEF_MULTIPORT6.32.8RIO_PEF_MULTIPORT"aja)) { y ion="ajax+*" method="post"#L358sults"L358su i9esudiv idL358s>c358"aja code=hod_mport_read pref">hod_mport_read code=port6.32.8portloja, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, y ion="ajax+*" method="post"#L359sults"L359su i9esudiv idL359s>c359"aja code=RIO_SWP_INFO_CAR6.32.8RIO_SWP_INFO_CAR"aja, &l code=swpinfo6.32.8uwpinfoloja); y ion="ajax+*" method="post"#L360sults"L360su i9esudiv idL360s>c360"aja if (l code=hearch6.32.8hearch"aja & code=RIO_PEF_SWITCH6.32.8RIO_PEF_SWITCH"aja) { y ion="ajax+*" method="post"#L361sults"L361su i9esudiv idL361s>c361"aja code=size6.32.8uize"aja += (l code=RIO_GET_TOTAL_PORTS6.32.8RIO_GET_TOTAL_PORTS"aja(l code=swpinfo6.32.8uwpinfoloja) * y ion="ajax+*" method="post"#L362sults"L362su i9esudiv idL362s>c362"aja uizeof(l code=hswitch6.32.8hswitchloja-> l code=nextdev6.32.8nextdevloja[0])) + uizeof(*l code=hswitch6.32.8hswitchloja); y ion="ajax+*" method="post"#L363sults"L363su i9esudiv idL363s>c363"aja } y ion="ajax+*" method="post"#L364sults"L364su i9esudiv idL364s>c364"aja } y ion="ajax+*" method="post"#L365sults"L365su i9esudiv idL365s>c365> ja y ion="ajax+*" method="post"#L366sults"L366su i9esudiv idL366s>c366"aja code=hdev6.32.8hdev"aja = code=kzallocsu pref">kzalloc"aja(l code=size6.32.8uize"aja, code=GFP_KERNEL6.32.8GFP_KERNELloja); y ion="ajax+*" method="post"#L367sults"L367su i9esudiv idL367s>c367"aja if (!l code=hdev6.32.8hdev"aja) y ion="ajax+*" method="post"#L368sults"L368su i9esudiv idL368s>c368"aja ngbotto code=NULL6.32.8NULL"aja; y ion="ajax+*" method="post"#L369sults"L369su i9esudiv idL369s>c369"aja y ion="ajax+*" method="post"#L370sults"L370su i9esudiv idL370s>c370"aja code=hdev6.32.8hdev"aja-> l code=nspan32.8nsp"aja = code=nspan32.8nsp"aja; y ion="ajax+*" method="post"#L371sults"L371su i9esudiv idL371s>c371"aja code=hdev6.32.8hdev"aja-> l code=pef".32.8pef"aja = code=hearch6.32.8hearch"aja; y ion="ajax+*" method="post"#L372sults"L372su i9esudiv idL372s>c372"aja code=hdev6.32.8hdev"aja-> l code=swpinfo6.32.8uwpinfoloja = l code=swpinfo6.32.8uwpinfoloja; y ion="ajax+*" method="post"#L373sults"L373su i9esudiv idL373s>c373"aja code=hod_mport_read pref">hod_mport_read code=port6.32.8portloja, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, code=RIO_DEV_ID_CAR6.32.8RIO_DEV_ID_CAR"aja, y ion="ajax+*" method="post"#L374sults"L374su i9esudiv idL374s>c374"aja &l code=hearch6.32.8hearch"aja); y ion="ajax+*" method="post"#L375sults"L375su i9esudiv idL375s>c375"aja code=hdev6.32.8hdev"aja-> l code=did6.32.8did"aja = code=hearch6.32.8hearch"aja > > 16; y ion="ajax+*" method="post"#L376sults"L376su i9esudiv idL376s>c376"aja code=hdev6.32.8hdev"aja-> l code=vid6.32.8vid"aja = code=hearch6.32.8hearch"aja >amp; 0xffff; y ion="ajax+*" method="post"#L377sults"L377su i9esudiv idL377s>c377"aja code=hod_mport_read pref">hod_mport_read code=port6.32.8portloja, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, code=RIO_DEV_INFO_CAR6.32.8RIO_DEV_INFO_CAR"aja, y ion="ajax+*" method="post"#L378sults"L378su i9esudiv idL378s>c378"aja &l code=hdev6.32.8hdev"aja-> l code=device_revsu pref">device_rev"aja); y ion="ajax+*" method="post"#L379sults"L379su i9esudiv idL379s>c379"aja code=hod_mport_read pref">hod_mport_read code=port6.32.8portloja, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, code=RIO_ASM_ID_CAR6.32.8RIO_ASM_ID_CAR"aja, y ion="ajax+*" method="post"#L380sults"L380su i9esudiv idL380s>c380"aja &l code=hearch6.32.8hearch"aja); y ion="ajax+*" method="post"#L381sults"L381su i9esudiv idL381s>c381"aja code=hdev6.32.8hdev"aja-> l code=asm_did6.32.8asm_did"aja = code=hearch6.32.8hearch"aja > > 16; y ion="ajax+*" method="post"#L382sults"L382su i9esudiv idL382s>c382"aja code=hdev6.32.8hdev"aja-> l code=asm_vid6.32.8asm_vid"aja = code=hearch6.32.8hearch"aja >amp; 0xffff; y ion="ajax+*" method="post"#L383sults"L383su i9esudiv idL383s>c383"aja code=hod_mport_read pref">hod_mport_read code=port6.32.8portloja, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, code=RIO_ASM_INFO_CAR6.32.8RIO_ASM_INFO_CAR"aja, y ion="ajax+*" method="post"#L384sults"L384su i9esudiv idL384s>c384"aja &l code=hearch6.32.8hearch"aja); y ion="ajax+*" method="post"#L385sults"L385su i9esudiv idL385s>c385"aja code=hdev6.32.8hdev"aja-> l code=asm_revsu pref">asm_rev"aja = code=hearch6.32.8hearch"aja > > 16; y ion="ajax+*" method="post"#L386sults"L386su i9esudiv idL386s>c386"aja if (l code=hdev6.32.8hdev"aja-> l code=pef".32.8pef"aja & code=RIO_PEF_EXT_FEATURES6.32.8RIO_PEF_EXT_FEATURES"aja) { y ion="ajax+*" method="post"#L387sults"L387su i9esudiv idL387s>c387"aja l code=hdev6.32.8hdev"aja-> l code=efptr6.32.8efptr"aja = code=hearch6.32.8hearch"aja >amp; 0xffff; y ion="ajax+*" method="post"#L388sults"L388su i9esudiv idL388s>c388"aja code=hdev6.32.8hdev"aja-> l code=phys_efptr6.32.8phys_efptr"aja = code=hod_mport_get_physefbsu pref">hod_mport_get_physefb"aja(l code=port6.32.8portloja, 0, code=destid6.32.8destid"aja, y ion="ajax+*" method="post"#L389sults"L389su i9esudiv idL389s>c389"aja code=hopcountsu pref">hopcount"aja); y ion="ajax+*" method="post"#L390sults"L390su i9esudiv idL390s>c39n> ja y ion="ajax+*" method="post"#L391sults"L391su i9esudiv idL391s>c391"aja l code=hdev6.32.8hdev"aja-> l code=em_efptr6.32.8em_efptr"aja = code=hod_mport_get_feabotesu pref">hod_mport_get_feabote"aja(l code=port6.32.8portloja, 0, code=destid6.32.8destid"aja, y ion="ajax+*" method="post"#L392sults"L392su i9esudiv idL392s>c392"aja code=hopcountsu pref">hopcount"aja, code=RIO_EFB_ERR_MGMNT6.32.8RIO_EFB_ERR_MGMNT"aja); y ion="ajax+*" method="post"#L393sults"L393su i9esudiv idL393s>c393"aja } y ion="ajax+*" method="post"#L394sults"L394su i9esudiv idL394s>c394"aja y ion="ajax+*" method="post"#L395sults"L395su i9esudiv idL395s>c395"aja code=hod_mport_read pref">hod_mport_read code=port6.32.8portloja, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, code=RIO_SRC_OPS_CAR6.32.8RIO_SRC_OPS_CAR"aja, y ion="ajax+*" method="post"#L396sults"L396su i9esudiv idL396s>c396"aja &l code=hdev6.32.8hdev"aja-> l code=src_ops6.32.8src_ops"aja); y ion="ajax+*" method="post"#L397sults"L397su i9esudiv idL397s>c397"aja code=hod_mport_read pref">hod_mport_read code=port6.32.8portloja, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, code=RIO_DST_OPS_CAR6.32.8RIO_DST_OPS_CAR"aja, y ion="ajax+*" method="post"#L398sults"L398su i9esudiv idL398s>c398"aja &l code=hdev6.32.8hdev"aja-> l code=dst_ops6.32.8dst_ops"aja); y ion="ajax+*" method="post"#L399sults"L399su i9esudiv idL399s>c399"aja y ion="ajax+*" method="post"#L400sults"L400su i9esudiv idL400s>c400"aja if (l code=dd_enum6.32.8dd_enum"aja) { y ion="ajax+*" method="post"#L401sults"L401su i9esudiv idL401s>c401"aja lrefs comm > /* A tag to device */lookup" y ion="ajax+*" method="post"#L402sults"L402su i9esudiv idL402s>c402"aja if (l code=next_comptagan32.8nsxt_comptag"aja > = 0x10000) { y ion="ajax+*" method="post"#L403sults"L403su i9esudiv idL403s>c403"aja l code=pr_err6.32.8pr_err"aja(lrefs string"a>quot;RIO: Compon > Tag Counter O="aflow\n>quot;lookup"); y ion="ajax+*" method="post"#L404sults"L404su i9esudiv idL404s>c404"aja goto l code=cleanup6.32.8cleanuploja; y ion="ajax+*" method="post"#L405sults"L405su i9esudiv idL405s>c405"aja } y ion="ajax+*" method="post"#L406sults"L406su i9esudiv idL406s>c406"aja code=hod_mport_write pref">hod_mport_write code=port6.32.8portloja, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, y ion="ajax+*" method="post"#L407sults"L407su i9esudiv idL407s>c407"aja code=RIO_COMPONENT_TAG_CSR6.32.8RIO_COMPONENT_TAG_CSR"aja, code=next_comptagan32.8nsxt_comptag"aja); y ion="ajax+*" method="post"#L408sults"L408su i9esudiv idL408s>c408"aja code=hdev6.32.8hdev"aja-> l code=comp_tagan32.8comp_tag"aja = code=next_comptagan32.8nsxt_comptag"aja++; y ion="ajax+*" method="post"#L409sults"L409su i9esudiv idL409s>c409"aja } else { y ion="ajax+*" method="post"#L410sults"L410su i9esudiv idL410s>c410"aja code=hod_mport_read pref">hod_mport_read code=port6.32.8portloja, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, y ion="ajax+*" method="post"#L411sults"L411su i9esudiv idL411s>c411"aja code=RIO_COMPONENT_TAG_CSR6.32.8RIO_COMPONENT_TAG_CSR"aja, y ion="ajax+*" method="post"#L412sults"L412su i9esudiv idL412s>c412"aja &l code=hdev6.32.8hdev"aja-> l code=comp_tagan32.8comp_tag"aja); y ion="ajax+*" method="post"#L413sults"L413su i9esudiv idL413s>c413"aja } y ion="ajax+*" method="post"#L414sults"L414su i9esudiv idL414s>c414"aja y ion="ajax+*" method="post"#L415sults"L415su i9esudiv idL415s>c415"aja if (l code=hod_device_has_destidsu pref">hod_device_has_destidloja(l code=port6.32.8portloja, code=hdev6.32.8hdev"aja-> l code=src_ops6.32.8src_ops"aja, code=hdev6.32.8hdev"aja-> l code=dst_ops6.32.8dst_ops"aja)) { y ion="ajax+*" method="post"#L416sults"L416su i9esudiv idL416s>c416"aja if (l code=dd_enum6.32.8dd_enum"aja) { y ion="ajax+*" method="post"#L417sults"L417su i9esudiv idL417s>c417"aja l code=hod_set_device_idsu pref">hod_set_device_idloja(l code=port6.32.8portloja, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, code=nsxt_destid6.32.8nsxt_destid"aja); y ion="ajax+*" method="post"#L418sults"L418su i9esudiv idL418s>c418"aja l code=hdev6.32.8hdev"aja-> l code=destid6.32.8destid"aja = code=next_destid6.32.8nsxt_destid"aja; y ion="ajax+*" method="post"#L419sults"L419su i9esudiv idL419s>c419"aja code=next_destid6.32.8nsxt_destid"aja = code=hod_destid_allocsu pref">hod_destid_allocloja(l code=nspan32.8nsp"aja); y ion="ajax+*" method="post"#L420sults"L420su i9esudiv idL420s>c420"aja } else y ion="ajax+*" method="post"#L421sults"L421su i9esudiv idL421s>c421"aja l code=hdev6.32.8hdev"aja-> l code=destid6.32.8destid"aja = code=hod_get_device_idsu pref">hod_get_device_idloja(l code=port6.32.8portloja, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja); y ion="ajax+*" method="post"#L422sults"L422su i9esudiv idL422s>c422> ja y ion="ajax+*" method="post"#L423sults"L423su i9esudiv idL423s>c423"aja l code=hdev6.32.8hdev"aja-> l code=hopcountsu pref">hopcount"aja = 0xff; y ion="ajax+*" method="post"#L424sults"L424su i9esudiv idL424s>c424"aja } else { y ion="ajax+*" method="post"#L425sults"L425su i9esudiv idL425s>c425"aja refs comm > /* Switch device has an associated destID whichlookup" y ion="ajax+*" method="post"#L426sults"L426su i9esudiv idL426s>c426"ajaPrefs comm > * will be adjusted laterlookup" y ion="ajax+*" method="post"#L427sults"L427su i9esudiv idL427s>c427"ajaPrefs comm > */lookup" y ion="ajax+*" method="post"#L428sults"L428su i9esudiv idL428s>c428"aja code=hdev6.32.8hdev"aja-> l code=destid6.32.8destid"aja = code=destid6.32.8destid"aja; y ion="ajax+*" method="post"#L429sults"L429su i9esudiv idL429s>c429"aja l code=hdev6.32.8hdev"aja-> l code=hopcountsu pref">hopcount"aja = l code=hopcountsu pref">hopcount"aja; y ion="ajax+*" method="post"#L430sults"L430su i9esudiv idL430s>c430"aja } y ion="ajax+*" method="post"#L431sults"L431su i9esudiv idL431s>c431> ja y ion="ajax+*" method="post"#L432sults"L432su i9esudiv idL432s>c432"aja refs comm > /* If a PE has both switch and other funcverss, show it as a switch */lookup" y ion="ajax+*" method="post"#L433sults"L433su i9esudiv idL433s>c433"aja if (l code=hod_is_switch6.32.8hod_is_switchloja(l code=hdev6.32.8hdev"aja)) { y ion="ajax+*" method="post"#L434sults"L434su i9esudiv idL434s>c434"aja l code=hswitch6.32.8hswitchloja = code=hdev6.32.8hdev"aja-> l code=hswitch6.32.8hswitchloja; y ion="ajax+*" method="post"#L435sults"L435su i9esudiv idL435s>c435"aja code=hswitch6.32.8hswitchloja-> l code=switchid6.32.8switchidloja = code=hdev6.32.8hdev"aja-> l code=comp_tagan32.8comp_tag"aja & code=RIO_CTAG_UDEVID6.32.8RIO_CTAG_UDEVIDloja; y ion="ajax+*" method="post"#L436sults"L436su i9esudiv idL436s>c436"aja code=hswitch6.32.8hswitchloja-> l code=port_ok6.32.8port_ok"aja = 0; y ion="ajax+*" method="post"#L437sults"L437su i9esudiv idL437s>c437"aja l code=hswitch6.32.8hswitchloja-> l code=route_tablesu pref">houte_tableloja = code=kzallocsu pref">kzalloc"aja(uizeof(l code=u8su pref">u8"aja)* y ion="ajax+*" method="post"#L438sults"L438su i9esudiv idL438s>c438"aja l code=RIO_MAX_ROUTE_ENTRIES6.32.8RIO_MAX_ROUTE_ENTRIESloja(l code=port6.32.8portloja-> l code=sys_size6.32.8uys_size"aja), y ion="ajax+*" method="post"#L439sults"L439su i9esudiv idL439s>c439"aja l code=GFP_KERNEL6.32.8GFP_KERNELloja); y ion="ajax+*" method="post"#L440sults"L440su i9esudiv idL440s>c440"aja if (!l code=hswitch6.32.8hswitchloja-> l code=route_tablesu pref">houte_tableloja) y ion="ajax+*" method="post"#L441sults"L441su i9esudiv idL441s>c441"aja goto l code=cleanup6.32.8cleanuploja; y ion="ajax+*" method="post"#L442sults"L442su i9esudiv idL442s>c442"aja refs comm > /* Initialize switch houte table */lookup" y ion="ajax+*" method="post"#L443sults"L443su i9esudiv idL443s>c443"aja for (l code=hdidsu pref">hdid"aja = 0; code=hdidsu pref">hdid"aja < code=RIO_MAX_ROUTE_ENTRIES6.32.8RIO_MAX_ROUTE_ENTRIESloja(l code=port6.32.8portloja-> l code=sys_size6.32.8uys_size"aja); y ion="ajax+*" method="post"#L444sults"L444su i9esudiv idL444s>c444"aja code=hdidsu pref">hdid"aja++) y ion="ajax+*" method="post"#L445sults"L445su i9esudiv idL445s>c445"aja code=hswitch6.32.8hswitchloja-> l code=route_tablesu pref">houte_tableloja[ code=hdidsu pref">hdid"aja] = code=RIO_INVALID_ROUTE6.32.8RIO_INVALID_ROUTEloja; y ion="ajax+*" method="post"#L446sults"L446su i9esudiv idL446s>c446"aja code=dev_set_div 6.32.8dev_set_div loja(&l code=hdev6.32.8hdev"aja-> l code=dev6.32.8dev"aja, refs string"a>quot;%02x:s:%04x>quot;lookup", code=hdev6.32.8hdev"aja-> l code=nspan32.8nsp"aja-> l code=idsu pref">id"aja, y ion="ajax+*" method="post"#L447sults"L447su i9esudiv idL447s>c447"aja code=hswitch6.32.8hswitchloja-> l code=switchid6.32.8switchidloja); y ion="ajax+*" method="post"#L448sults"L448su i9esudiv idL448s>c448"aja code=hod_switch_initsu pref">hod_switch_initloja(l code=hdev6.32.8hdev"aja, code=dd_enum6.32.8dd_enum"aja); y ion="ajax+*" method="post"#L449sults"L449su i9esudiv idL449s>c449"aja y ion="ajax+*" method="post"#L450sults"L450su i9esudiv idL450s>c450"aja if (l code=dd_enum6.32.8dd_enum"aja && code=hswitch6.32.8hswitchloja-> l code=clr_tablesu pref">clr_tableloja) y ion="ajax+*" method="post"#L451sults"L451su i9esudiv idL451s>c451"aja l code=hswitch6.32.8hswitchloja-> l code=clr_tablesu pref">clr_tableloja(l code=port6.32.8portloja, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, y ion="ajax+*" method="post"#L452sults"L452su i9esudiv idL452s>c452"aja code=RIO_GLOBAL_TABLE6.32.8RIO_GLOBAL_TABLE"aja); y ion="ajax+*" method="post"#L453sults"L453su i9esudiv idL453s>c453> ja y ion="ajax+*" method="post"#L454sults"L454su i9esudiv idL454s>c454"aja code=list_add_tail6.32.8list_add_tailloja(&l code=hswitch6.32.8hswitchloja-> l code=nodean32.8node"aja, &l code=nspan32.8nsp"aja-> l code=switches6.32.8switches"aja); y ion="ajax+*" method="post"#L455sults"L455su i9esudiv idL455s>c455> ja y ion="ajax+*" method="post"#L456sults"L456su i9esudiv idL456s>c456"aja } else { y ion="ajax+*" method="post"#L457sults"L457su i9esudiv idL457s>c457"aja if (l code=dd_enum6.32.8dd_enum"aja) y ion="ajax+*" method="post"#L458sults"L458su i9esudiv idL458s>c458"aja refs comm > /*Enable Input Output Port (transmitter revie="a)*/lookup" y ion="ajax+*" method="post"#L459sults"L459su i9esudiv idL459s>c459"aja code=hod_enable_rx_tx_port6.32.8hod_enable_rx_tx_portloja(l code=port6.32.8portloja, 0, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, 0); y ion="ajax+*" method="post"#L460sults"L460su i9esudiv idL460s>c46n> ja y ion="ajax+*" method="post"#L461sults"L461su i9esudiv idL461s>c461"aja code=dev_set_div 6.32.8dev_set_div loja(&l code=hdev6.32.8hdev"aja-> l code=dev6.32.8dev"aja, refs string"a>quot;%02x:e:%04x>quot;lookup", code=hdev6.32.8hdev"aja-> l code=nspan32.8nsp"aja-> l code=idsu pref">id"aja, y ion="ajax+*" method="post"#L462sults"L462su i9esudiv idL462s>c462"aja code=hdev6.32.8hdev"aja-> l code=destid6.32.8destid"aja); y ion="ajax+*" method="post"#L463sults"L463su i9esudiv idL463s>c463"aja } y ion="ajax+*" method="post"#L464sults"L464su i9esudiv idL464s>c464"aja y ion="ajax+*" method="post"#L465sults"L465su i9esudiv idL465s>c465"aja code=hod_attach_device6.32.8hod_attach_deviceloja(l code=hdev6.32.8hdev"aja); y ion="ajax+*" method="post"#L466sults"L466su i9esudiv idL466s>c466> ja y ion="ajax+*" method="post"#L467sults"L467su i9esudiv idL467s>c467"aja code=device_initialize6.32.8device_initializeloja(&l code=hdev6.32.8hdev"aja-> l code=dev6.32.8dev"aja); y ion="ajax+*" method="post"#L468sults"L468su i9esudiv idL468s>c468"aja l code=hdev6.32.8hdev"aja-> l code=dev6.32.8dev"aja.l code=helease6.32.8heleaseloja = code=hod_helease_dev6.32.8hod_helease_devloja; y ion="ajax+*" method="post"#L469sults"L469su i9esudiv idL469s>c469"aja code=hod_dev_gspan32.8hod_dev_gsploja(l code=hdev6.32.8hdev"aja); y ion="ajax+*" method="post"#L470sults"L470su i9esudiv idL470s>c47n> ja y ion="ajax+*" method="post"#L471sults"L471su i9esudiv idL471s>c471"aja code=hdev6.32.8hdev"aja-> l code=dma_mask6.32.8dma_maskloja = code=DMA_BIT_MASK6.32.8DMA_BIT_MASKloja(32); y ion="ajax+*" method="post"#L472sults"L472su i9esudiv idL472s>c472"aja code=hdev6.32.8hdev"aja-> l code=dev6.32.8dev"aja.l code=dma_mask6.32.8dma_maskloja = &l code=hdev6.32.8hdev"aja-> l code=dma_mask6.32.8dma_maskloja; y ion="ajax+*" method="post"#L473sults"L473su i9esudiv idL473s>c473"aja code=hdev6.32.8hdev"aja-> l code=dev6.32.8dev"aja.l code=coher > _dma_mask6.32.8coher > _dma_maskloja = code=DMA_BIT_MASK6.32.8DMA_BIT_MASKloja(32); y ion="ajax+*" method="post"#L474sults"L474su i9esudiv idL474s>c474"aja y ion="ajax+*" method="post"#L475sults"L475su i9esudiv idL475s>c475"aja if (l code=hdev6.32.8hdev"aja-> l code=dst_ops6.32.8dst_ops"aja & code=RIO_DST_OPS_DOORBELL6.32.8RIO_DST_OPS_DOORBELL"aja) y ion="ajax+*" method="post"#L476sults"L476su i9esudiv idL476s>c476"aja code=hod_init_dbell_hes6.32.8hod_init_dbell_hesloja(&l code=hdev6.32.8hdev"aja-> l code=hodhes6.32.8hodhesloja[ code=RIO_DOORBELL_RESOURCE6.32.8RIO_DOORBELL_RESOURCE"aja], y ion="ajax+*" method="post"#L477sults"L477su i9esudiv idL477s>c477"aja 0, 0xffff); y ion="ajax+*" method="post"#L478sults"L478su i9esudiv idL478s>c478"aja y ion="ajax+*" method="post"#L479sults"L479su i9esudiv idL479s>c479"aja code=hspan32.8hetloja = code=hod_add_device6.32.8hod_add_deviceloja(l code=hdev6.32.8hdev"aja); y ion="ajax+*" method="post"#L480sults"L480su i9esudiv idL480s>c480"aja if (l code=hspan32.8hetloja) y ion="ajax+*" method="post"#L481sults"L481su i9esudiv idL481s>c481"aja goto l code=cleanup6.32.8cleanuploja; y ion="ajax+*" method="post"#L482sults"L482su i9esudiv idL482s>c482> ja y ion="ajax+*" method="post"#L483sults"L483su i9esudiv idL483s>c483"aja ngbotto code=hdev6.32.8hdev"aja; y ion="ajax+*" method="post"#L484sults"L484su i9esudiv idL484s>c484"aja y ion="ajax+*" method="post"#L485sults"L485su i9esudiv idL485s>c485"ajal code=cleanup6.32.8cleanuploja: y ion="ajax+*" method="post"#L486sults"L486su i9esudiv idL486s>c486"aja if (l code=hswitch6.32.8hswitchloja) y ion="ajax+*" method="post"#L487sults"L487su i9esudiv idL487s>c487"aja l code=kfree6.32.8kfreeloja(l code=hswitch6.32.8hswitchloja-> l code=route_tablesu pref">houte_tableloja); y ion="ajax+*" method="post"#L488sults"L488su i9esudiv idL488s>c488"aja y ion="ajax+*" method="post"#L489sults"L489su i9esudiv idL489s>c489"aja code=kfree6.32.8kfreeloja(l code=hdev6.32.8hdev"aja); y ion="ajax+*" method="post"#L490sults"L490su i9esudiv idL490s>c490"aja ngbotto code=NULL6.32.8NULL"aja; y ion="ajax+*" method="post"#L491sults"L491su i9esudiv idL491s>c491"aja} y ion="ajax+*" method="post"#L492sults"L492su i9esudiv idL492s>c492> ja y ion="ajax+*" method="post"#L493sults"L493su i9esudiv idL493s>c493"aja refs comm > /**lookup" y ion="ajax+*" method="post"#L494sults"L494su i9esudiv idL494s>c494"ajaPrefs comm > * hod_sport_is_actn="- Tests if a switch port has an actn=" connecvers.lookup" y ion="ajax+*" method="post"#L495sults"L495su i9esudiv idL495s>c495"ajaPrefs comm > * @port: Master port to send transacverslookup" y ion="ajax+*" method="post"#L496sults"L496su i9esudiv idL496s>c496"ajaPrefs comm > * @destid: A ion="ajax+*" method="post"#L497sults"L497su i9esudiv idL497s>c497"ajaPrefs comm > * @hopcount: Hopcount to reach switchlookup" y ion="ajax+*" method="post"#L498sults"L498su i9esudiv idL498s>c498"ajaPrefs comm > * @sport: Switch port numberlookup" y ion="ajax+*" method="post"#L499sults"L499su i9esudiv idL499s>c499"ajaPrefs comm > *lookup" y ion="ajax+*" method="post"#L500sults"L500su i9esudiv idL500s>c500"ajaPrefs comm > * Reads the port error status CSR for a particular switch port tolookup" y ion="ajax+*" method="post"#L501sults"L501su i9esudiv idL501s>c501"ajaPrefs comm > * determi9e if the port has an actn=" i9k. Rebottslookup" y ion="ajax+*" method="post"#L502sults"L502su i9esudiv idL502s>c502"ajaPrefs comm > * %RIO_PORT_N_ERR_STS_PORT_OK if the port is actn=" or %0 if it islookup" y ion="ajax+*" method="post"#L503sults"L503su i9esudiv idL503s>c503"aja refs comm > * inactn=".lookup" y ion="ajax+*" method="post"#L504sults"L504su i9esudiv idL504s>c504"ajaPrefs comm > */lookup" y ion="ajax+*" method="post"#L505sults"L505su i9esudiv idL505s>c505"ajastatic int y ion="ajax+*" method="post"#L506sults"L506su i9esudiv idL506s>c506"aja code=hod_sport_is_actn="6.32.8hod_sport_is_actn="loja(struct code=hod_mport6.32.8hod_mportloja *l code=port6.32.8portloja, code=u16su pref">u16"aja code=destid6.32.8destid"aja, code=u8su pref">u8"aja code=hopcountsu pref">hopcount"aja, int code=sport6.32.8sportloja) y ion="ajax+*" method="post"#L507sults"L507su i9esudiv idL507s>c507"aja{ y ion="ajax+*" method="post"#L508sults"L508su i9esudiv idL508s>c508"aja l code=u32su pref">u32"aja l code=hsarch6.32.8hearch"aja = 0; y ion="ajax+*" method="post"#L509sults"L509su i9esudiv idL509s>c509"aja code=u32su pref">u32"aja l code=sxt_ftr_ptr6.32.8ext_ftr_ptr"aja; y ion="ajax+*" method="post"#L510sults"L510su i9esudiv idL510s>c51n> ja y ion="ajax+*" method="post"#L511sults"L511su i9esudiv idL511s>c511"aja code=sxt_ftr_ptr6.32.8ext_ftr_ptr"aja = code=hod_mport_get_efbsu pref">hod_mport_get_efb"aja(l code=port6.32.8portloja, 0, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, 0); y ion="ajax+*" method="post"#L512sults"L512su i9esudiv idL512s>c512> ja y ion="ajax+*" method="post"#L513sults"L513su i9esudiv idL513s>c513"aja while (l code=sxt_ftr_ptr6.32.8ext_ftr_ptr"aja) { y ion="ajax+*" method="post"#L514sults"L514su i9esudiv idL514s>c514"aja l code=hod_mport_read pref">hod_mport_read code=port6.32.8portloja, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, y ion="ajax+*" method="post"#L515sults"L515su i9esudiv idL515s>c515"aja l code=sxt_ftr_ptr6.32.8ext_ftr_ptr"aja, &l code=hearch6.32.8hearch"aja); y ion="ajax+*" method="post"#L516sults"L516su i9esudiv idL516s>c516"aja l code=hsarch6.32.8hearch"aja = code=RIO_GET_BLOCK_ID6.32.8RIO_GET_BLOCK_IDloja(l code=hearch6.32.8hearch"aja); y ion="ajax+*" method="post"#L517sults"L517su i9esudiv idL517s>c517"aja if ((l code=hearch6.32.8hearch"aja == code=RIO_EFB_SER_EP_FREE_ID6.32.8RIO_EFB_SER_EP_FREE_ID"aja) || y ion="ajax+*" method="post"#L518sults"L518su i9esudiv idL518s>c518"aja (l code=hearch6.32.8hearch"aja == code=RIO_EFB_SER_EP_FREE_ID_V13P6.32.8RIO_EFB_SER_EP_FREE_ID_V13P"aja) || y ion="ajax+*" method="post"#L519sults"L519su i9esudiv idL519s>c519"aja (l code=hearch6.32.8hearch"aja == code=RIO_EFB_SER_EP_FREC_ID6.32.8RIO_EFB_SER_EP_FREC_ID"aja)) y ion="ajax+*" method="post"#L520sults"L520su i9esudiv idL520s>c520"aja break; y ion="ajax+*" method="post"#L521sults"L521su i9esudiv idL521s>c521> ja y ion="ajax+*" method="post"#L522sults"L522su i9esudiv idL522s>c522"aja code=sxt_ftr_ptr6.32.8ext_ftr_ptr"aja = code=hod_mport_get_efbsu pref">hod_mport_get_efb"aja(l code=port6.32.8portloja, 0, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, y ion="ajax+*" method="post"#L523sults"L523su i9esudiv idL523s>c523"aja l code=sxt_ftr_ptr6.32.8ext_ftr_ptr"aja); y ion="ajax+*" method="post"#L524sults"L524su i9esudiv idL524s>c524"aja } y ion="ajax+*" method="post"#L525sults"L525su i9esudiv idL525s>c525> ja y ion="ajax+*" method="post"#L526sults"L526su i9esudiv idL526s>c526"aja if (l code=sxt_ftr_ptr6.32.8ext_ftr_ptr"aja) y ion="ajax+*" method="post"#L527sults"L527su i9esudiv idL527s>c527"aja l code=hod_mport_read pref">hod_mport_read code=port6.32.8portloja, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, y ion="ajax+*" method="post"#L528sults"L528su i9esudiv idL528s>c528"aja l code=sxt_ftr_ptr6.32.8ext_ftr_ptr"aja + y ion="ajax+*" method="post"#L529sults"L529su i9esudiv idL529s>c529"aja l code=RIO_PORT_N_ERR_STS_CSR6.32.8RIO_PORT_N_ERR_STS_CSR"aja(l code=sport6.32.8sportloja), y ion="ajax+*" method="post"#L530sults"L530su i9esudiv idL530s>c530"aja &l code=hearch6.32.8hearch"aja); y ion="ajax+*" method="post"#L531sults"L531su i9esudiv idL531s>c531> ja y ion="ajax+*" method="post"#L532sults"L532su i9esudiv idL532s>c532"aja ngbotto code=hearch6.32.8hearch"aja >amp; l code=RIO_PORT_N_ERR_STS_PORT_OK6.32.8RIO_PORT_N_ERR_STS_PORT_OK"aja; y ion="ajax+*" method="post"#L533sults"L533su i9esudiv idL533s>c533"aja} y ion="ajax+*" method="post"#L534sults"L534su i9esudiv idL534s>c534"aja y ion="ajax+*" method="post"#L535sults"L535su i9esudiv idL535s>c535"ajaPrefs comm > /**lookup" y ion="ajax+*" method="post"#L536sults"L536su i9esudiv idL536s>c536"ajaPrefs comm > * hod_lock_device - Acquihea host device lock for specified devicelookup" y ion="ajax+*" method="post"#L537sults"L537su i9esudiv idL537s>c537"ajaPrefs comm > * @port: Master port to send transacverslookup" y ion="ajax+*" method="post"#L538sults"L538su i9esudiv idL538s>c538"ajaPrefs comm > * @destid: Destinavers ID for device/switchlookup" y ion="ajax+*" method="post"#L539sults"L539su i9esudiv idL539s>c539"ajaPrefs comm > * @hopcount: Hopcount to reach switchlookup" y ion="ajax+*" method="post"#L540sults"L540su i9esudiv idL540s>c540"ajaPrefs comm > * @wait_ms: Max wait time in msec (0 = no timeout)lookup" y ion="ajax+*" method="post"#L541sults"L541su i9esudiv idL541s>c541"ajaPrefs comm > *lookup" y ion="ajax+*" method="post"#L542sults"L542su i9esudiv idL542s>c542"ajaPrefs comm > * Attepts to acquihe host device lock for specified devicelookup" y ion="ajax+*" method="post"#L543sults"L543su i9esudiv idL543s>c543"aja refs comm > * Rebotts 0 if device lock acquihed or EINVAL if timeout expihea.lookup" y ion="ajax+*" method="post"#L544sults"L544su i9esudiv idL544s>c544"ajaPrefs comm > */lookup" y ion="ajax+*" method="post"#L545sults"L545su i9esudiv idL545s>c545"ajastatic int y ion="ajax+*" method="post"#L546sults"L546su i9esudiv idL546s>c546"aja code=hod_lock_devicesu pref">hod_lock_deviceloja(struct code=hod_mport6.32.8hod_mportloja *l code=port6.32.8portloja, code=u16su pref">u16"aja code=destid6.32.8destid"aja, code=u8su pref">u8"aja code=hopcountsu pref">hopcount"aja, int code=wait_mssu pref">wait_ms"aja) y ion="ajax+*" method="post"#L547sults"L547su i9esudiv idL547s>c547"aja{ y ion="ajax+*" method="post"#L548sults"L548su i9esudiv idL548s>c548"aja l code=u32su pref">u32"aja l code=hsarch6.32.8hearch"aja; y ion="ajax+*" method="post"#L549sults"L549su i9esudiv idL549s>c549"aja int code=tcntsu pref">tcnt"aja = 0; y ion="ajax+*" method="post"#L550sults"L550su i9esudiv idL550s>c55n> ja y ion="ajax+*" method="post"#L551sults"L551su i9esudiv idL551s>c551"aja lrefs comm > /* Attempt to acquihe device lock */lookup" y ion="ajax+*" method="post"#L552sults"L552su i9esudiv idL552s>c552"aja code=hod_mport_write pref">hod_mport_write code=port6.32.8portloja, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, y ion="ajax+*" method="post"#L553sults"L553su i9esudiv idL553s>c553"aja l code=RIO_HOST_DID_LOCK_CSR6.32.8RIO_HOST_DID_LOCK_CSR"aja, code=port6.32.8portloja-> l code=host_deviceid6.32.8host_deviceid"aja); y ion="ajax+*" method="post"#L554sults"L554su i9esudiv idL554s>c554"aja l code=hod_mport_read pref">hod_mport_read code=port6.32.8portloja, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, y ion="ajax+*" method="post"#L555sults"L555su i9esudiv idL555s>c555"aja l code=RIO_HOST_DID_LOCK_CSR6.32.8RIO_HOST_DID_LOCK_CSR"aja, &l code=hearch6.32.8hearch"aja); y ion="ajax+*" method="post"#L556sults"L556su i9esudiv idL556s>c556> ja y ion="ajax+*" method="post"#L557sults"L557su i9esudiv idL557s>c557"aja while (l code=hearch6.32.8hearch"aja != code=port6.32.8portloja-> l code=host_deviceid6.32.8host_deviceid"aja) { y ion="ajax+*" method="post"#L558sults"L558su i9esudiv idL558s>c558"aja if (l code=wait_mssu pref">wait_ms"aja != 0 && code=tcntsu pref">tcnt"aja == code=wait_mssu pref">wait_ms"aja) { y ion="ajax+*" method="post"#L559sults"L559su i9esudiv idL559s>c559"aja code=pr_debugan32.8pr_debug"aja(lrefs string"a>quot;RIO: timeout when locking device %x:%x\n>quot;lookup", y ion="ajax+*" method="post"#L560sults"L560su i9esudiv idL560s>c560"aja code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja); y ion="ajax+*" method="post"#L561sults"L561su i9esudiv idL561s>c561"aja ngbotto- code=EINVALsu pref">EINVAL"aja; y ion="ajax+*" method="post"#L562sults"L562su i9esudiv idL562s>c562"aja } y ion="ajax+*" method="post"#L563sults"L563su i9esudiv idL563s>c563> ja y ion="ajax+*" method="post"#L564sults"L564su i9esudiv idL564s>c564"aja lrefs comm > /* Delay a bit */lookup" y ion="ajax+*" method="post"#L565sults"L565su i9esudiv idL565s>c565"aja code=mdelaysu pref">mdelay"aja(1); y ion="ajax+*" method="post"#L566sults"L566su i9esudiv idL566s>c566"aja l code=tcntsu pref">tcnt"aja++; y ion="ajax+*" method="post"#L567sults"L567su i9esudiv idL567s>c567"aja lrefs comm > /* Try to acquihe device lock again */lookup" y ion="ajax+*" method="post"#L568sults"L568su i9esudiv idL568s>c568"aja code=hod_mport_write pref">hod_mport_write code=port6.32.8portloja, code=destid6.32.8destid"aja, y ion="ajax+*" method="post"#L569sults"L569su i9esudiv idL569s>c569"aja code=hopcountsu pref">hopcount"aja, y ion="ajax+*" method="post"#L570sults"L570su i9esudiv idL570s>c570"aja l code=RIO_HOST_DID_LOCK_CSR6.32.8RIO_HOST_DID_LOCK_CSR"aja, y ion="ajax+*" method="post"#L571sults"L571su i9esudiv idL571s>c571"aja l code=port6.32.8portloja-> l code=host_deviceid6.32.8host_deviceid"aja); y ion="ajax+*" method="post"#L572sults"L572su i9esudiv idL572s>c572"aja code=hod_mport_read pref">hod_mport_read code=port6.32.8portloja, code=destid6.32.8destid"aja, y ion="ajax+*" method="post"#L573sults"L573su i9esudiv idL573s>c573"aja code=hopcountsu pref">hopcount"aja, y ion="ajax+*" method="post"#L574sults"L574su i9esudiv idL574s>c574"aja l code=RIO_HOST_DID_LOCK_CSR6.32.8RIO_HOST_DID_LOCK_CSR"aja, &l code=hearch6.32.8hearch"aja); y ion="ajax+*" method="post"#L575sults"L575su i9esudiv idL575s>c575"aja } y ion="ajax+*" method="post"#L576sults"L576su i9esudiv idL576s>c576> ja y ion="ajax+*" method="post"#L577sults"L577su i9esudiv idL577s>c577"aja ngbotto0; y ion="ajax+*" method="post"#L578sults"L578su i9esudiv idL578s>c578"aja} y ion="ajax+*" method="post"#L579sults"L579su i9esudiv idL579s>c579"aja y ion="ajax+*" method="post"#L580sults"L580su i9esudiv idL580s>c580"ajaPrefs comm > /**lookup" y ion="ajax+*" method="post"#L581sults"L581su i9esudiv idL581s>c581"ajaPrefs comm > * hod_unlock_device - Releasea host device lock for specified devicelookup" y ion="ajax+*" method="post"#L582sults"L582su i9esudiv idL582s>c582"ajaPrefs comm > * @port: Master port to send transacverslookup" y ion="ajax+*" method="post"#L583sults"L583su i9esudiv idL583s>c583"aja refs comm > * @destid: Destinavers ID for device/switchlookup" y ion="ajax+*" method="post"#L584sults"L584su i9esudiv idL584s>c584"ajaPrefs comm > * @hopcount: Hopcount to reach switchlookup" y ion="ajax+*" method="post"#L585sults"L585su i9esudiv idL585s>c585"ajaPrefs comm > *lookup" y ion="ajax+*" method="post"#L586sults"L586su i9esudiv idL586s>c586"ajaPrefs comm > * Rebotts 0 if device lock heleased or EINVAL if faila.lookup" y ion="ajax+*" method="post"#L587sults"L587su i9esudiv idL587s>c587"ajaPrefs comm > */lookup" y ion="ajax+*" method="post"#L588sults"L588su i9esudiv idL588s>c588"ajastatic int y ion="ajax+*" method="post"#L589sults"L589su i9esudiv idL589s>c589"aja code=hod_unlock_devicesu pref">hod_unlock_deviceloja(struct code=hod_mport6.32.8hod_mportloja *l code=port6.32.8portloja, code=u16su pref">u16"aja code=destid6.32.8destid"aja, code=u8su pref">u8"aja code=hopcountsu pref">hopcount"aja) y ion="ajax+*" method="post"#L590sults"L590su i9esudiv idL590s>c590"aja{ y ion="ajax+*" method="post"#L591sults"L591su i9esudiv idL591s>c591"aja code=u32su pref">u32"aja l code=hsarch6.32.8hearch"aja; y ion="ajax+*" method="post"#L592sults"L592su i9esudiv idL592s>c592> ja y ion="ajax+*" method="post"#L593sults"L593su i9esudiv idL593s>c593"aja refs comm > /* Release device lock */lookup" y ion="ajax+*" method="post"#L594sults"L594su i9esudiv idL594s>c594"aja l code=hod_mport_write pref">hod_mport_write code=port6.32.8portloja, code=destid6.32.8destid"aja, y ion="ajax+*" method="post"#L595sults"L595su i9esudiv idL595s>c595"aja code=hopcountsu pref">hopcount"aja, y ion="ajax+*" method="post"#L596sults"L596su i9esudiv idL596s>c596"aja l code=RIO_HOST_DID_LOCK_CSR6.32.8RIO_HOST_DID_LOCK_CSR"aja, y ion="ajax+*" method="post"#L597sults"L597su i9esudiv idL597s>c597"aja l code=port6.32.8portloja-> l code=host_deviceid6.32.8host_deviceid"aja); y ion="ajax+*" method="post"#L598sults"L598su i9esudiv idL598s>c598"aja l code=hod_mport_read pref">hod_mport_read code=port6.32.8portloja, code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja, y ion="ajax+*" method="post"#L599sults"L599su i9esudiv idL599s>c599"aja l code=RIO_HOST_DID_LOCK_CSR6.32.8RIO_HOST_DID_LOCK_CSR"aja, &l code=hearch6.32.8hearch"aja); y ion="ajax+*" method="post"#L600sults"L600su i9esudiv idL600s>c600"aja if ((l code=hearch6.32.8hearch"aja & 0xffff) != 0xffff) { y ion="ajax+*" method="post"#L601sults"L601su i9esudiv idL601s>c601"aja code=pr_debugan32.8pr_debug"aja(lrefs string"a>quot;RIO: badness when heleasing device lock %x:%x\n>quot;lookup", y ion="ajax+*" method="post"#L602sults"L602su i9esudiv idL602s>c602"aja code=destid6.32.8destid"aja, code=hopcountsu pref">hopcount"aja); y ion="ajax+*" method="post"#L603sults"L603su i9esudiv idL603s>c603"aja ngbotto- code=EINVALsu pref">EINVAL"aja; y ion="ajax+*" method="post"#L604sults"L604su i9esudiv idL604s>c604"aja } y ion="ajax+*" method="post"#L605sults"L605su i9esudiv idL605s>c605> ja y ion="ajax+*" method="post"#L606sults"L606su i9esudiv idL606s>c606"aja ngbotto0; y ion="ajax+*" method="post"#L607sults"L607su i9esudiv idL607s>c607"aja} y ion="ajax+*" method="post"#L608sults"L608su i9esudiv idL608s>c608"aja y ion="ajax+*" method="post"#L609sults"L609su i9esudiv idL609s>c609"ajaPrefs comm > /**lookup" y ion="ajax+*" method="post"#L610sults"L610su i9esudiv idL610s>c610"ajaPrefs comm > * hod_houte_add_ > ry- Add a houte > ry to a switch houting tablelookup" y ion="ajax+*" method="post"#L611sults"L611su i9esudiv idL611s>c611"ajaPrefs comm > * @hdev: RIO devicelookup" y ion="ajax+*" method="post"#L612sults"L612su i9esudiv idL612s>c612"ajaPrefs comm > * @table: Routing table ID"aokup" y ion="ajax+*" method="post"#L613sults"L613su i9esudiv idL613s>c613"aja refs comm > * @houte_destid: Destinavers ID to be houted"aokup" y ion="ajax+*" method="post"#L614sults"L614su i9esudiv idL614s>c614"ajaPrefs comm > * @houte_port: Port number to be houted"aokup" y ion="ajax+*" method="post"#L615sults"L615su i9esudiv idL615s>c615"ajaPrefs comm > * @lock: lock switch device flag"aokup" y ion="ajax+*" method="post"#L616sults"L616su i9esudiv idL616s>c616"ajaPrefs comm > *"aokup" y ion="ajax+*" method="post"#L617sults"L617su i9esudiv idL617s>c617"ajaPrefs comm > * Calls the switch specific add_ > ry() method to add a houte > ry"aokup" y ion="ajax+*" method="post"#L618sults"L618su i9esudiv idL618s>c618"ajaPrefs comm > * rs a switch. The houte table pos be specified using the @tablelookup" y ion="ajax+*" method="post"#L619sults"L619su i9esudiv idL619s>c619"ajaPrefs comm > * argum > if a switch has per port houting tables or the normallookup" y ion="ajax+*" method="post"#L620sults"L620su i9esudiv idL620s>c620"ajaPrefs comm > * use is to specific all tables (or the global table) by p ion="ajax+*" method="post"#L621sults"L621su i9esudiv idL621s>c621"ajaPrefs comm > * %RIO_GLOBAL_TABLE in @table. Rebotts %0 rs success or %-EINVAL"aokup" y ion="ajax+*" method="post"#L622sults"L622su i9esudiv idL622s>c622"ajaPrefs comm > * rs failur".lookup" y ion="ajax+*" method="post"#L623sults"L623su i9esudiv idL623s>c623"aja refs comm > */lookup" y ion="ajax+*" method="post"#L624sults"L624su i9esudiv idL624s>c624"ajastatic int y ion="ajax+*" method="post"#L625sults"L625su i9esudiv idL625s>c625"ajal code=hod_houte_add_ > rysu pref">hod_houte_add_ > ryloja(struct code=hod_dev6.32.8hod_dev"aja *l code=hdev6.32.8hdev"aja, y ion="ajax+*" method="post"#L626sults"L626su i9esudiv idL626s>c626"aja code=u16su pref">u16"aja code=tablesu pref">tableloja, code=u16su pref">u16"aja code=houte_destid6.32.8houte_destid"aja, code=u8su pref">u8"aja code=houte_port6.32.8houte_portloja, int code=lock6.32.8lock"aja) y ion="ajax+*" method="post"#L627sults"L627su i9esudiv idL627s>c627"aja{ y ion="ajax+*" method="post"#L628sults"L628su i9esudiv idL628s>c628"aja int code=rc6.32.8hc"aja; y ion="ajax+*" method="post"#L629sults"L629su i9esudiv idL629s>c629"aja y ion="ajax+*" method="post"#L630sults"L630su i9esudiv idL630s>c630"aja if (l code=lock6.32.8lock"aja) { y ion="ajax+*" method="post"#L631sults"L631su i9esudiv idL631s>c631"aja code=rc6.32.8hc"aja = code=hod_lock_devicesu pref">hod_lock_deviceloja(l code=hdev6.32.8hdev"aja-> l code=nspan32.8nsp"aja-> l code=hport6.32.8hportloja, code=hdev6.32.8hdev"aja-> l code=destid6.32.8destid"aja, y ion="ajax+*" method="post"#L632sults"L632su i9esudiv idL632s>c632"aja code=rdev6.32.8hdev"aja-> l code=hopcountsu pref">hopcount"aja, 1000); y ion="ajax+*" method="post"#L633sults"L633su i9esudiv idL633s>c633"aja if (l code=hc6.32.8hc"aja) y ion="ajax+*" method="post"#L634sults"L634su i9esudiv idL634s>c634"aja ngbotto code=hc6.32.8hc"aja; y ion="ajax+*" method="post"#L635sults"L635su i9esudiv idL635s>c635"aja } y ion="ajax+*" method="post"#L636sults"L636su i9esudiv idL636s>c636> ja y ion="ajax+*" method="post"#L637sults"L637su i9esudiv idL637s>c637"aja code=rc6.32.8hc"aja = code=hdev6.32.8hdev"aja-> l code=hswitch6.32.8hswitchloja-> l code=add_ > rysu pref">add_ > ryloja(l code=hdev6.32.8hdev"aja-> l code=nspan32.8nsp"aja-> l code=hport6.32.8hportloja, code=hdev6.32.8hdev"aja-> l code=destid6.32.8destid"aja, y ion="ajax+*" method="post"#L638sults"L638su i9esudiv idL638s>c638"aja code=rdev6.32.8hdev"aja-> l code=hopcountsu pref">hopcount"aja, code=tablesu pref">tableloja, y ion="ajax+*" method="post"#L639sults"L639su i9esudiv idL639s>c639"aja code=houte_destid6.32.8houte_destid"aja, code=houte_port6.32.8houte_portloja); y ion="ajax+*" method="post"#L640sults"L640su i9esudiv idL640s>c640"aja if (l code=lock6.32.8lock"aja) y ion="ajax+*" method="post"#L641sults"L641su i9esudiv idL641s>c641"aja code=rod_unlock_devicesu pref">hod_unlock_deviceloja(l code=hdev6.32.8hdev"aja-> l code=nspan32.8nsp"aja-> l code=hport6.32.8hportloja, code=hdev6.32.8hdev"aja-> l code=destid6.32.8destid"aja, y ion="ajax+*" method="post"#L642sults"L642su i9esudiv idL642s>c642"aja code=rdev6.32.8hdev"aja-> l code=hopcountsu pref">hopcount"aja); y ion="ajax+*" method="post"#L643sults"L643su i9esudiv idL643s>c643> ja y ion="ajax+*" method="post"#L644sults"L644su i9esudiv idL644s>c644"aja ngbotto code=hc6.32.8hc"aja; y ion="ajax+*" method="post"#L645sults"L645su i9esudiv idL645s>c645"aja} y ion="ajax+*" method="post"#L646sults"L646su i9esudiv idL646s>c646> ja y ion="ajax+*" method="post"#L647sults"L647su i9esudiv idL647s>c647"ajaPrefs comm > /**lookup" y ion="ajax+*" method="post"#L648sults"L648su i9esudiv idL648s>c648"ajaPrefs comm > * hod_houte_get_e> ry- Read a houte > ry in a switch houting tablelookup" y ion="ajax+*" method="post"#L649sults"L649su i9esudiv idL649s>c649"ajaPrefs comm > * @hdev: RIO devicelookup" y ion="ajax+*" method="post"#L650sults"L650su i9esudiv idL650s>c650"ajaPrefs comm > * @table: Routing table ID"aokup" y ion="ajax+*" method="post"#L651sults"L651su i9esudiv idL651s>c651"ajaPrefs comm > * @houte_destid: Destinavers ID to be houted"aokup" y ion="ajax+*" method="post"#L652sults"L652su i9esudiv idL652s>c652"ajaPrefs comm > * @houte_port: Pointer to read port number intolookup" y ion="ajax+*" method="post"#L653sults"L653su i9esudiv idL653s>c653"aja refs comm > * @lock: lock switch device flag"aokup" y ion="ajax+*" method="post"#L654sults"L654su i9esudiv idL654s>c654"ajaPrefs comm > *"aokup" y ion="ajax+*" method="post"#L655sults"L655su i9esudiv idL655s>c655"ajaPrefs comm > * Calls the switch specific get_e> ry() method to read a houte > ry"aokup" y ion="ajax+*" method="post"#L656sults"L656su i9esudiv idL656s>c656"ajaPrefs comm > * is a switch. The houte table pos be specified using the @tablelookup" y ion="ajax+*" method="post"#L657sults"L657su i9esudiv idL657s>c657"ajaPrefs comm > * argum > if a switch has per port houting tables or the normallookup" y ion="ajax+*" method="post"#L658sults"L658su i9esudiv idL658s>c658"ajaPrefs comm > * use is to specific all tables (or the global table) by p ion="ajax+*" method="post"#L659sults"L659su i9esudiv idL659s>c659"ajaPrefs comm > * %RIO_GLOBAL_TABLE in @table. Rebotts %0 rs success or %-EINVAL"aokup" y ion="ajax+*" method="post"#L660sults"L660su i9esudiv idL660s>c660"ajaPrefs comm > * rs failur".lookup" y ion="ajax+*" method="post"#L661sults"L661su i9esudiv idL661s>c661"ajaPrefs comm > */lookup" y ion="ajax+*" method="post"#L662sults"L662su i9esudiv idL662s>c662"ajastatic int y ion="ajax+*" method="post"#L663sults"L663su i9esudiv idL663s>c663> jal code=hod_houte_get_e> rysu pref">hod_houte_get_e> ryloja(struct code=hod_dev6.32.8hod_dev"aja *l code=hdev6.32.8hdev"aja, code=u16su pref">u16"aja code=tablesu pref">tableloja, y ion="ajax+*" method="post"#L664sults"L664su i9esudiv idL664s>c664"aja code=u16su pref">u16"aja code=houte_destid6.32.8houte_destid"aja, code=u8su pref">u8"aja *l code=houte_port6.32.8houte_portloja, int code=lock6.32.8lock"aja) y ion="ajax+*" method="post"#L665sults"L665su i9esudiv idL665s>c665"aja{ y ion="ajax+*" method="post"#L666sults"L666su i9esudiv idL666s>c666"aja int code=rc6.32.8hc"aja; y ion="ajax+*" method="post"#L667sults"L667su i9esudiv idL667s>c667"aja y ion="ajax+*" method="post"#L668sults"L668su i9esudiv idL668s>c668"aja if (l code=lock6.32.8lock"aja) { y ion="ajax+*" method="post"#L669sults"L669su i9esudiv idL669s>c669"aja code=rc6.32.8hc"aja = code=hod_lock_devicesu pref">hod_lock_deviceloja(l code=hdev6.32.8hdev"aja-> l code=nspan32.8nsp"aja-> l code=hport6.32.8hportloja, code=hdev6.32.8hdev"aja-> l code=destid6.32.8destid"aja, y ion="ajax+*" method="post"#L670sults"L670su i9esudiv idL670s>c670"aja code=rdev6.32.8hdev"aja-> l code=hopcountsu pref">hopcount"aja, 1000); y ion="ajax+*" method="post"#L671sults"L671su i9esudiv idL671s>c671"aja if (l code=hc6.32.8hc"aja) y ion="ajax+*" method="post"#L672sults"L672su i9esudiv idL672s>c672"aja ngbotto code=hc6.32.8hc"aja; y ion="ajax+*" method="post"#L673sults"L673su i9esudiv idL673s>c673"aja } y ion="ajax+*" method="post"#L674sults"L674su i9esudiv idL674s>c674"aja y ion="ajax+*" method="post"#L675sults"L675su i9esudiv idL675s>c675"aja code=rc6.32.8hc"aja = code=hdev6.32.8hdev"aja-> l code=hswitch6.32.8hswitchloja-> l code=get_e> rysu pref">get_e> ryloja(l code=hdev6.32.8hdev"aja-> l code=nspan32.8nsp"aja-> l code=hport6.32.8hportloja, code=hdev6.32.8hdev"aja-> l code=destid6.32.8destid"aja, y ion="ajax+*" method="post"#L676sults"L676su i9esudiv idL676s>c676"aja code=rdev6.32.8hdev"aja-> l code=hopcountsu pref">hopcount"aja, code=tablesu pref">tableloja, y ion="ajax+*" method="post"#L677sults"L677su i9esudiv idL677s>c677"aja code=route_destid6.32.8houte_destid"aja, code=houte_port6.32.8houte_portloja); y ion="ajax+*" method="post"#L678sults"L678su i9esudiv idL678s>c678"aja if (l code=lock6.32.8lock"aja) y ion="ajax+*" method="post"#L679sults"L679su i9esudiv idL679s>c679"aja code=rod_unlock_devicesu pref">hod_unlock_deviceloja(l code=hdev6.32.8hdev"aja-> l code=nspan32.8nsp"aja-> l code=hport6.32.8hportloja, code=hdev6.32.8hdev"aja-> l code=destid6.32.8destid"aja, y ion="ajax+*" method="post"#L680sults"L680su i9esudiv idL680s>c680"aja code=rdev6.32.8hdev"aja-> l code=hopcountsu pref">hopcount"aja); y ion="ajax+*" method="post"#L681sults"L681su i9esudiv idL681s>c681> ja y ion="ajax+*" method="post"#L682sults"L682su i9esudiv idL682s>c682"aja ngbotto code=hc6.32.8hc"aja; y ion="ajax+*" method="post"#L683sults"L683su i9esudiv idL683s>c683"aja} y ion="ajax+*" method="post"#L684sults"L684su i9esudiv idL684s>c684"aja y ion="ajax+*" method="post"#L685sults"L685su i9esudiv idL685s>c685"ajaPrefs comm > /**lookup" y ion="ajax+*" method="post"#L686sults"L686su i9esudiv idL686s>c686"ajaPrefs comm > * hod_get_host_deviceid_lock- Reads the Host Device ID Lock CSR rs a devicelookup" y ion="ajax+*" method="post"#L687sults"L687su i9esudiv idL687s>c687"ajaPrefs comm > * @port: Master port to send transacverslookup" y ion="ajax+*" method="post"#L688sults"L688su i9esudiv idL688s>c688"ajaPrefs comm > * @hopcount: Number of hops to the devicelookup" y ion="ajax+*" method="post"#L689sults"L689su i9esudiv idL689s>c689"ajaPrefs comm > *lookup" y ion="ajax+*" method="post"#L690sults"L690su i9esudiv idL690s>c690"ajaPrefs comm > * Used during enumeravers to read the Host Device ID Lock CSR rs alookup" y ion="ajax+*" method="post"#L691sults"L691su i9esudiv idL691s>c691"ajaPrefs comm > * RIO device. Rebotts the value of the lock hegister.lookup" y ion="ajax+*" method="post"#L692sults"L692su i9esudiv idL692s>c692"ajaPrefs comm > */lookup" y ion="ajax+*" method="post"#L693sults"L693su i9esudiv idL693s>c693"ajastatic code=u16su pref">u16"aja code=hod_get_host_deviceid_locksu pref">hod_get_host_deviceid_lockloja(struct code=hod_mport6.32.8hod_mportloja *l code=port6.32.8portloja, code=u8su pref">u8"aja code=hopcountsu pref">hopcount"aja) y ion="ajax+*" method="post"#L694sults"L694su i9esudiv idL694s>c694"aja{ y ion="ajax+*" method="post"#L695sults"L695su i9esudiv idL695s>c695"aja code=u32su pref">u32"aja l code=hsarch6.32.8hearch"aja; y ion="ajax+*" method="post"#L696sults"L696su i9esudiv idL696s>c696> ja y ion="ajax+*" method="post"#L697sults"L697su i9esudiv idL697s>c697"aja code=rod_mport_read pref">hod_mport_read code=port6.32.8portloja, code=RIO_ANY_DESTID6.32.8RIO_ANY_DESTID"aja(l code=port6.32.8portloja-> l code=sys_sizesu pref">sys_size"aja), code=hopcountsu pref">hopcount"aja, y ion="ajax+*" method="post"#L698sults"L698su i9esudiv idL698s>c698"aja code=RIO_HOST_DID_LOCK_CSR6.32.8RIO_HOST_DID_LOCK_CSR"aja, &l code=hearch6.32.8hearch"aja); y ion="ajax+*" method="post"#L699sults"L699su i9esudiv idL699s>c699"aja y ion="ajax+*" method="post"#L700sults"L700su i9esudiv idL700s>c700"aja ngbotto(l code=u16su pref">u16"aja) (l code=hearch6.32.8hearch"aja & 0xffff); y ion="ajax+*" method="post"#L701sults"L701su i9esudiv idL701s>c701"aja} y ion="ajax+*" method="post"#L702sults"L702su i9esudiv idL702s>c702> ja y ion="ajax+*" method="post"#L703sults"L703su i9esudiv idL703s>c703"aja refs comm > /**lookup" y ion="ajax+*" method="post"#L704sults"L704su i9esudiv idL704s>c704"ajaPrefs comm > * hod_enum_peer- Recursn="ly enumerave a RIO network through a master portlookup" y ion="ajax+*" method="post"#L705sults"L705su i9esudiv idL705s>c705"ajaPrefs comm > * @net: RIO network being enumeraved"aokup" y ion="ajax+*" method="post"#L706sults"L706su i9esudiv idL706s>c706"ajaPrefs comm > * @port: Master port to send transacverss"aokup" y ion="ajax+*" method="post"#L707sults"L707su i9esudiv idL707s>c707"ajaPrefs comm > * @hopcount: Number of hops into the network"aokup" y ion="ajax+*" method="post"#L708sults"L708su i9esudiv idL708s>c708"ajaPrefs comm > * @prev: Previous RIO device ion="ajax+*" method="post"#L709sults"L709su i9esudiv idL709s>c709"ajaPrefs comm > * @prev_port: Port rs previous RIO devicelookup" y ion="ajax+*" method="post"#L710sults"L710su i9esudiv idL710s>c710"ajaPrefs comm > *lookup" y ion="ajax+*" method="post"#L711sults"L711su i9esudiv idL711s>c711"ajaPrefs comm > * Recursn="ly enumeraves a RIO network. Transacverss are sent via thelookup" y ion="ajax+*" method="post"#L712sults"L712su i9esudiv idL712s>c712"ajaPrefs comm > * master port p ion="ajax+*" method="post"#L713sults"L713su i9esudiv idL713s>c713"aja refs comm > */lookup" y ion="ajax+*" method="post"#L714sults"L714su i9esudiv idL714s>c714"ajastatic int code=rod_enum_peersu pref">hod_enum_peerloja(struct code=hod_nspan32.8hod_nsploja *l code=nspan32.8nsp"aja, struct code=hod_mport6.32.8hod_mportloja *l code=port6.32.8portloja, y ion="ajax+*" method="post"#L715sults"L715su i9esudiv idL715s>c715"aja code=u8su pref">u8"aja code=hopcountsu pref">hopcount"aja, struct code=hod_dev6.32.8hod_dev"aja *l code=prev6.32.8prev"aja, int code=prev_port6.32.8prev_portloja) y ion="ajax+*" method="post"#L716sults"L716su i9esudiv idL716s>c716"aja{ y ion="ajax+*" method="post"#L717sults"L717su i9esudiv idL717s>c717"aja struct code=hod_dev6.32.8hod_dev"aja *l code=hdev6.32.8hdev"aja; y ion="ajax+*" method="post"#L718sults"L718su i9esudiv idL718s>c718"aja l code=u32su pref">u32"aja l code=hsgval6.32.8hegval"aja; y ion="ajax+*" method="post"#L719sults"L719su i9esudiv idL719s>c719"aja int code=tmpsu pref">tmp"aja; y ion="ajax+*" method="post"#L720sults"L720su i9esudiv idL720s>c72n> ja y ion="ajax+*" method="post"#L721sults"L721su i9esudiv idL721s>c721"aja if (l code=hod_mport_chk_dev_accesssu pref">hod_mport_chk_dev_access"aja(l code=port6.32.8portloja, y ion="ajax+*" method="post"#L722sults"L722su i9esudiv idL722s>c722"aja code=RIO_ANY_DESTID6.32.8RIO_ANY_DESTID"aja(l code=port6.32.8portloja-> l code=sys_sizesu pref">sys_size"aja), code=hopcountsu pref">hopcount"aja)) { y ion="ajax+*" method="post"#L723sults"L723su i9esudiv idL723s>c723"aja code=pr_debugan32.8pr_debug"aja(lrefs string"a>quot;RIO: device access check failed\n>quot;lookup"); y ion="ajax+*" method="post"#L724sults"L724su i9esudiv idL724s>c724"aja ngbotto-1; y ion="ajax+*" method="post"#L725sults"L725su i9esudiv idL725s>c725"aja } y ion="ajax+*" method="post"#L726sults"L726su i9esudiv idL726s>c726> ja y ion="ajax+*" method="post"#L727sults"L727su i9esudiv idL727s>c727"aja if (l code=hod_get_host_deviceid_locksu pref">hod_get_host_deviceid_lockloja(l code=port6.32.8portloja, code=hopcountsu pref">hopcount"aja) == code=port6.32.8portloja-> l code=host_deviceid6.32.8host_deviceid"aja) { y ion="ajax+*" method="post"#L728sults"L728su i9esudiv idL728s>c728"aja code=pr_debugan32.8pr_debug"aja(lrefs string"a>quot;RIO: PE already disco="aed by thia host\n>quot;lookup"); y ion="ajax+*" method="post"#L729sults"L729su i9esudiv idL729s>c729"aja refs comm > /*lookup" y ion="ajax+*" method="post"#L730sults"L730su i9esudiv idL730s>c730"ajaPrefs comm > * Already disco="aed by thia host. Add it as anotherlookup" y ion="ajax+*" method="post"#L731sults"L731su i9esudiv idL731s>c731"ajaPrefs comm > * i9k to the existing device.lookup" y ion="ajax+*" method="post"#L732sults"L732su i9esudiv idL732s>c732"ajaPrefs comm > */lookup" y ion="ajax+*" method="post"#L733sults"L733su i9esudiv idL733s>c733"aja code=rod_mport_read pref">hod_mport_read code=port6.32.8portloja, code=RIO_ANY_DESTID6.32.8RIO_ANY_DESTID"aja(l code=port6.32.8portloja-> l code=sys_sizesu pref">sys_size"aja), y ion="ajax+*" method="post"#L734sults"L734su i9esudiv idL734s>c734"aja code=hopcountsu pref">hopcount"aja, code=RIO_COMPONENT_TAG_CSR6.32.8RIO_COMPONENT_TAG_CSR"aja, &l code=hegval6.32.8hegval"aja); y ion="ajax+*" method="post"#L735sults"L735su i9esudiv idL735s>c735> ja y ion="ajax+*" method="post"#L736sults"L736su i9esudiv idL736s>c736"aja if (l code=hegval6.32.8hegval"aja) { y ion="ajax+*" method="post"#L737sults"L737su i9esudiv idL737s>c737"aja l code=hdev6.32.8hdev"aja = code=hod_get_comptagan32.8hod_get_comptag"aja((l code=hegval6.32.8hegval"aja & 0xffff), code=NULLsu pref">NULL"aja); y ion="ajax+*" method="post"#L738sults"L738su i9esudiv idL738s>c738"aja y ion="ajax+*" method="post"#L739sults"L739su i9esudiv idL739s>c739"aja if (l code=hdev6.32.8hdev"aja && code=prev6.32.8prev"aja && code=hod_is_switch6.32.8hod_is_switch"aja(l code=prev6.32.8prev"aja)) { y ion="ajax+*" method="post"#L740sults"L740su i9esudiv idL740s>c740"aja code=pr_debugan32.8pr_debug"aja(lrefs string"a>quot;RIO: aedundant p th to %s\n>quot;lookup", y ion="ajax+*" method="post"#L741sults"L741su i9esudiv idL741s>c741"aja code=hod_niv an32.8hod_niv "aja(l code=hdev6.32.8hdev"aja)); y ion="ajax+*" method="post"#L742sults"L742su i9esudiv idL742s>c742"aja l code=prev6.32.8prev"aja-> l code=hswitch6.32.8hswitchloja-> l code=nextdev6.32.8nextdevloja[ code=prev_port6.32.8prev_portloja] = code=hdev6.32.8hdev"aja; y ion="ajax+*" method="post"#L743sults"L743su i9esudiv idL743s>c743"aja } y ion="ajax+*" method="post"#L744sults"L744su i9esudiv idL744s>c744"aja } y ion="ajax+*" method="post"#L745sults"L745su i9esudiv idL745s>c745> ja y ion="ajax+*" method="post"#L746sults"L746su i9esudiv idL746s>c746"aja ngbotto0; y ion="ajax+*" method="post"#L747sults"L747su i9esudiv idL747s>c747"aja } y ion="ajax+*" method="post"#L748sults"L748su i9esudiv idL748s>c748"aja y ion="ajax+*" method="post"#L749sults"L749su i9esudiv idL749s>c749"aja refs comm > /* Attempt to acquihe device lock */lookup" y ion="ajax+*" method="post"#L750sults"L750su i9esudiv idL750s>c750"aja code=rod_mport_write pref">hod_mport_write code=port6.32.8portloja, code=RIO_ANY_DESTID6.32.8RIO_ANY_DESTID"aja(l code=port6.32.8portloja-> l code=sys_sizesu pref">sys_size"aja), y ion="ajax+*" method="post"#L751sults"L751su i9esudiv idL751s>c751"aja code=hopcountsu pref">hopcount"aja, y ion="ajax+*" method="post"#L752sults"L752su i9esudiv idL752s>c752"aja code=RIO_HOST_DID_LOCK_CSR6.32.8RIO_HOST_DID_LOCK_CSR"aja, code=port6.32.8portloja-> l code=host_deviceid6.32.8host_deviceid"aja); y ion="ajax+*" method="post"#L753sults"L753su i9esudiv idL753s>c753"aja while ((l code=tmpsu pref">tmp"aja = code=hod_get_host_deviceid_locksu pref">hod_get_host_deviceid_lockloja(l code=port6.32.8portloja, code=hopcountsu pref">hopcount"aja)) y ion="ajax+*" method="post"#L754sults"L754su i9esudiv idL754s>c754"aja < code=port6.32.8portloja-> l code=host_deviceid6.32.8host_deviceid"aja) { y ion="ajax+*" method="post"#L755sults"L755su i9esudiv idL755s>c755"aja refs comm > /* Delay a bit */lookup" y ion="ajax+*" method="post"#L756sults"L756su i9esudiv idL756s>c756"aja l code=mdelay6.32.8mdelayloja(1); y ion="ajax+*" method="post"#L757sults"L757su i9esudiv idL757s>c757"aja refs comm > /* Attempt to acquihe device lock again */lookup" y ion="ajax+*" method="post"#L758sults"L758su i9esudiv idL758s>c758"aja code=rod_mport_write pref">hod_mport_write code=port6.32.8portloja, code=RIO_ANY_DESTID6.32.8RIO_ANY_DESTID"aja(l code=port6.32.8portloja-> l code=sys_sizesu pref">sys_size"aja), y ion="ajax+*" method="post"#L759sults"L759su i9esudiv idL759s>c759"aja code=hopcountsu pref">hopcount"aja, y ion="ajax+*" method="post"#L760sults"L760su i9esudiv idL760s>c760"aja code=RIO_HOST_DID_LOCK_CSR6.32.8RIO_HOST_DID_LOCK_CSR"aja, y ion="ajax+*" method="post"#L761sults"L761su i9esudiv idL761s>c761"aja code=port6.32.8portloja-> l code=host_deviceid6.32.8host_deviceid"aja); y ion="ajax+*" method="post"#L762sults"L762su i9esudiv idL762s>c762"aja } y ion="ajax+*" method="post"#L763sults"L763su i9esudiv idL763s>c763> ja y ion="ajax+*" method="post"#L764sults"L764su i9esudiv idL764s>c764"aja if (l code=hod_get_host_deviceid_locksu pref">hod_get_host_deviceid_lockloja(l code=port6.32.8portloja, code=hopcountsu pref">hopcount"aja) > code=port6.32.8portloja-> l code=host_deviceid6.32.8host_deviceid"aja) { y ion="ajax+*" method="post"#L765sults"L765su i9esudiv idL765s>c765"aja code=pr_debugan32.8pr_debug"aja( y ion="ajax+*" method="post"#L766sults"L766su i9esudiv idL766s>c766"aja lrefs string"a>quot;RIO: PE locked by quot;lookup"); y ion="ajax+*" method="post"#L767sults"L767su i9esudiv idL767s>c767"aja ngbotto-1; y ion="ajax+*" method="post"#L768sults"L768su i9esudiv idL768s>c768"aja } y ion="ajax+*" method="post"#L769sults"L769su i9esudiv idL769s>c769"aja y ion="ajax+*" method="post"#L770sults"L770su i9esudiv idL770s>c770"aja refs comm > /* Sgbop new RIO device */lookup" y ion="ajax+*" method="post"#L771sults"L771su i9esudiv idL771s>c771"aja l code=hdev6.32.8hdev"aja = code=hod_sgbop_devicesu pref">hod_sgbop_deviceloja(l code=nspan32.8nsp"aja, l code=port6.32.8portloja, code=RIO_ANY_DESTID6.32.8RIO_ANY_DESTID"aja(l code=port6.32.8portloja-> l code=sys_sizesu pref">sys_size"aja), y ion="ajax+*" method="post"#L772sults"L772su i9esudiv idL772s>c772"aja code=hopcountsu pref">hopcount"aja, 1); y ion="ajax+*" method="post"#L773sults"L773su i9esudiv idL773s>c773"aja if (l code=hdev6.32.8hdev"aja) { y ion="ajax+*" method="post"#L774sults"L774su i9esudiv idL774s>c774"aja refs comm > /* Add device to the global and bus/nsp specific list. */lookup" y ion="ajax+*" method="post"#L775sults"L775su i9esudiv idL775s>c775"aja code=list_add_tail6.32.8list_add_tail"aja(&l code=hdev6.32.8hdev"aja-> l code=nsp_listan32.8nsp_list"aja, &l code=nspan32.8nsp"aja-> l code=devicessu pref">devices"aja); y ion="ajax+*" method="post"#L776sults"L776su i9esudiv idL776s>c776"aja l code=hdev6.32.8hdev"aja-> l code=prev6.32.8prev"aja = code=prev6.32.8prev"aja; y ion="ajax+*" method="post"#L777sults"L777su i9esudiv idL777s>c777"aja if (l code=prev6.32.8prev"aja && code=hod_is_switch6.32.8hod_is_switch"aja(l code=prev6.32.8prev"aja)) y ion="ajax+*" method="post"#L778sults"L778su i9esudiv idL778s>c778"aja l code=prev6.32.8prev"aja-> l code=hswitch6.32.8hswitchloja-> l code=nextdev6.32.8nextdevloja[ code=prev_port6.32.8prev_portloja] = code=hdev6.32.8hdev"aja; y ion="ajax+*" method="post"#L779sults"L779su i9esudiv idL779s>c779"aja } else y ion="ajax+*" method="post"#L780sults"L780su i9esudiv idL780s>c780"aja ngbotto-1; y ion="ajax+*" method="post"#L781sults"L781su i9esudiv idL781s>c781> ja y ion="ajax+*" method="post"#L782sults"L782su i9esudiv idL782s>c782"aja if (l code=hod_is_switch6.32.8hod_is_switch"aja(l code=hdev6.32.8hdev"aja)) { y ion="ajax+*" method="post"#L783sults"L783su i9esudiv idL783s>c783"aja int code=sw_destid6.32.8sw_destid"aja; y ion="ajax+*" method="post"#L784sults"L784su i9esudiv idL784s>c784"aja int code=cur_destid6.32.8cur_destid"aja; y ion="ajax+*" method="post"#L785sults"L785su i9esudiv idL785s>c785"aja int code=sw_inport6.32.8sw_inport"aja; y ion="ajax+*" method="post"#L786sults"L786su i9esudiv idL786s>c786"aja l code=u16su pref">u16"aja code=destid6.32.8destid"aja; y ion="ajax+*" method="post"#L787sults"L787su i9esudiv idL787s>c787"aja int code=port_num6.32.8port_num"aja; y ion="ajax+*" method="post"#L788sults"L788su i9esudiv idL788s>c788"aja y ion="ajax+*" method="post"#L789sults"L789su i9esudiv idL789s>c789"aja code=sw_inport6.32.8sw_inport"aja = code=RIO_GET_PORT_NUM6.32.8RIO_GET_PORT_NUM"aja(l code=hdev6.32.8hdev"aja-> l code=swpinfo6.32.8swpinfo"aja); y ion="ajax+*" method="post"#L790sults"L790su i9esudiv idL790s>c790"aja l code=hod_houte_add_ > rysu pref">hod_houte_add_ > ryloja(l code=hdev6.32.8hdev"aja, code=RIO_GLOBAL_TABLE6.32.8RIO_GLOBAL_TABLE"aja, y ion="ajax+*" method="post"#L791sults"L791su i9esudiv idL791s>c791"aja code=port6.32.8portloja-> l code=host_deviceid6.32.8host_deviceid"aja, code=sw_inport6.32.8sw_inport"aja, 0); y ion="ajax+*" method="post"#L792sults"L792su i9esudiv idL792s>c792"aja l code=hdev6.32.8hdev"aja-> l code=hswitch6.32.8hswitchloja-> l code=houte_tablesu pref">houte_tableloja[ code=port6.32.8portloja-> l code=host_deviceid6.32.8host_deviceid"aja] = code=sw_inport6.32.8sw_inport"aja; y ion="ajax+*" method="post"#L793sults"L793su i9esudiv idL793s>c793> ja y ion="ajax+*" method="post"#L794sults"L794su i9esudiv idL794s>c794"aja code=destid6.32.8destid"aja = code=hod_destid_firstan32.8hod_destid_firstloja(l code=nspan32.8nsp"aja); y ion="ajax+*" method="post"#L795sults"L795su i9esudiv idL795s>c795"aja while ( code=destid6.32.8destid"aja != code=RIO_INVALID_DESTID6.32.8RIO_INVALID_DESTID"aja && code=destid6.32.8destid"aja < code=next_destid6.32.8next_destid"aja) { y ion="ajax+*" method="post"#L796sults"L796su i9esudiv idL796s>c796"aja if (l code=destid6.32.8destid"aja != code=port6.32.8portloja-> l code=host_deviceid6.32.8host_deviceid"aja) { y ion="ajax+*" method="post"#L797sults"L797su i9esudiv idL797s>c797"aja l code=hod_houte_add_ > rysu pref">hod_houte_add_ > ryloja(l code=hdev6.32.8hdev"aja, code=RIO_GLOBAL_TABLE6.32.8RIO_GLOBAL_TABLE"aja, y ion="ajax+*" method="post"#L798sults"L798su i9esudiv idL798s>c798"aja l code=destid6.32.8destid"aja, code=sw_inport6.32.8sw_inport"aja, 0); y ion="ajax+*" method="post"#L799sults"L799su i9esudiv idL799s>c799"aja l code=hdev6.32.8hdev"aja-> l code=hswitch6.32.8hswitchloja-> l code=houte_tablesu pref">houte_tableloja[ code=destid6.32.8destid"aja] = code=sw_inport6.32.8sw_inport"aja; y ion="ajax+*" method="post"#L800sults"L800su i9esudiv idL800s>c800"aja } y ion="ajax+*" method="post"#L801sults"L801su i9esudiv idL801s>c801"aja code=destid6.32.8destid"aja = code=hod_destid_nextan32.8hod_destid_nextloja(l code=nspan32.8nsp"aja, l code=destid6.32.8destid"aja + 1); y ion="ajax+*" method="post"#L802sults"L802su i9esudiv idL802s>c802"aja } y ion="ajax+*" method="post"#L803sults"L803su i9esudiv idL803s>c803"aja code=pr_debugan32.8pr_debug"aja( y ion="ajax+*" method="post"#L804sults"L804su i9esudiv idL804s>c804"aja refs string"a>quot;RIO: found %s (vid %4.4x did %4.4x) with %d ports\n>quot;lookup", y ion="ajax+*" method="post"#L805sults"L805su i9esudiv idL805s>c805"aja code=hod_niv an32.8hod_niv "aja(l code=hdev6.32.8hdev"aja), code=hdev6.32.8hdev"aja-> l code=vid6.32.8vid"aja, code=hdev6.32.8hdev"aja-> l code=did6.32.8did"aja, y ion="ajax+*" method="post"#L806sults"L806su i9esudiv idL806s>c806"aja l code=RIO_GET_TOTAL_PORTS6.32.8RIO_GET_TOTAL_PORTS"aja(l code=hdev6.32.8hdev"aja-> l code=swpinfo6.32.8swpinfo"aja)); y ion="ajax+*" method="post"#L807sults"L807su i9esudiv idL807s>c807"aja code=sw_destid6.32.8sw_destid"aja = code=next_destid6.32.8next_destid"aja; y ion="ajax+*" method="post"#L808sults"L808su i9esudiv idL808s>c808"aja for (l code=port_num6.32.8port_num"aja = 0; y ion="ajax+*" method="post"#L809sults"L809su i9esudiv idL809s>c809"aja l code=port_num6.32.8port_num"aja < code=RIO_GET_TOTAL_PORTS6.32.8RIO_GET_TOTAL_PORTS"aja(l code=hdev6.32.8hdev"aja-> l code=swpinfo6.32.8swpinfo"aja); y ion="ajax+*" method="post"#L810sults"L810su i9esudiv idL810s>c810"aja l code=port_num6.32.8port_num"aja++) { y ion="ajax+*" method="post"#L811sults"L811su i9esudiv idL811s>c811"aja if (l code=sw_inport6.32.8sw_inport"aja == code=port_num6.32.8port_num"aja) { y ion="ajax+*" method="post"#L812sults"L812su i9esudiv idL812s>c812"aja l code=rod_enable_rx_tx_port6.32.8hod_enable_rx_tx_port"aja(l code=port6.32.8portloja, 0, y ion="ajax+*" method="post"#L813sults"L813su i9esudiv idL813s>c813"aja l code=RIO_ANY_DESTID6.32.8RIO_ANY_DESTID"aja(l code=port6.32.8portloja-> l code=sys_sizesu pref">sys_size"aja), y ion="ajax+*" method="post"#L814sults"L814su i9esudiv idL814s>c814"aja l code=hopcountsu pref">hopcount"aja, code=port_num6.32.8port_num"aja); y ion="ajax+*" method="post"#L815sults"L815su i9esudiv idL815s>c815"aja l code=rdev6.32.8hdev"aja-> l code=hswitch6.32.8hswitchloja-> l code=port_oksu pref">port_ok"aja |= (1 << code=port_num6.32.8port_num"aja); y ion="ajax+*" method="post"#L816sults"L816su i9esudiv idL816s>c816"aja continue; y ion="ajax+*" method="post"#L817sults"L817su i9esudiv idL817s>c817"aja } y ion="ajax+*" method="post"#L818sults"L818su i9esudiv idL818s>c818"aja y ion="ajax+*" method="post"#L819sults"L819su i9esudiv idL819s>c819"aja code=cur_destid6.32.8cur_destid"aja = code=next_destid6.32.8next_destid"aja; y ion="ajax+*" method="post"#L820sults"L820su i9esudiv idL820s>c82n> ja y ion="ajax+*" method="post"#L821sults"L821su i9esudiv idL821s>c821"aja if (l code=hod_sport_is_acvevesu pref">hod_sport_is_acveve> ja y ion="ajax+*" method="post"#L822sults"L822su i9esudiv idL822s>c822"aja (l code=port6.32.8portloja, code=RIO_ANY_DESTID6.32.8RIO_ANY_DESTID"aja(l code=port6.32.8portloja-> l code=sys_sizesu pref">sys_size"aja), code=hopcountsu pref">hopcount"aja, y ion="ajax+*" method="post"#L823sults"L823su i9esudiv idL823s>c823"aja code=port_num6.32.8port_num"aja)) { y ion="ajax+*" method="post"#L824sults"L824su i9esudiv idL824s>c824"aja code=pr_debugan32.8pr_debug"aja( y ion="ajax+*" method="post"#L825sults"L825su i9esudiv idL825s>c825"aja refs string"a>quot;RIO: "posning device rs port %d\n>quot;lookup", y ion="ajax+*" method="post"#L826sults"L826su i9esudiv idL826s>c826"aja code=port_num6.32.8port_num"aja); y ion="ajax+*" method="post"#L827sults"L827su i9esudiv idL827s>c827"aja l code=hod_enable_rx_tx_port6.32.8hod_enable_rx_tx_port"aja(l code=port6.32.8portloja, 0, y ion="ajax+*" method="post"#L828sults"L828su i9esudiv idL828s>c828"aja l code=RIO_ANY_DESTID6.32.8RIO_ANY_DESTID"aja(l code=port6.32.8portloja-> l code=sys_sizesu pref">sys_size"aja), y ion="ajax+*" method="post"#L829sults"L829su i9esudiv idL829s>c829"aja l code=hopcountsu pref">hopcount"aja, code=port_num6.32.8port_num"aja); y ion="ajax+*" method="post"#L830sults"L830su i9esudiv idL830s>c830"aja code=rdev6.32.8hdev"aja-> l code=hswitch6.32.8hswitchloja-> l code=port_oksu pref">port_ok"aja |= (1 << code=port_num6.32.8port_num"aja); y ion="ajax+*" method="post"#L831sults"L831su i9esudiv idL831s>c831"aja l code=hod_houte_add_ > rysu pref">hod_houte_add_ > ryloja(l code=hdev6.32.8hdev"aja, code=RIO_GLOBAL_TABLE6.32.8RIO_GLOBAL_TABLE"aja, y ion="ajax+*" method="post"#L832sults"L832su i9esudiv idL832s>c832"aja l code=RIO_ANY_DESTID6.32.8RIO_ANY_DESTID"aja(l code=port6.32.8portloja-> l code=sys_sizesu pref">sys_size"aja), y ion="ajax+*" method="post"#L833sults"L833su i9esudiv idL833s>c833"aja l code=port_num6.32.8port_num"aja, 0); y ion="ajax+*" method="post"#L834sults"L834su i9esudiv idL834s>c834"aja y ion="ajax+*" method="post"#L835sults"L835su i9esudiv idL835s>c835"aja if (l code=hod_enum_peersu pref">hod_enum_peerloja(l code=nspan32.8nsp"aja, l code=port6.32.8portloja, code=hopcountsu pref">hopcount"aja + 1, y ion="ajax+*" method="post"#L836sults"L836su i9esudiv idL836s>c836"aja l code=hdev6.32.8hdev"aja, code=port_num6.32.8port_num"aja) < 0) y ion="ajax+*" method="post"#L837sults"L837su i9esudiv idL837s>c837"aja ngbotto-1; y ion="ajax+*" method="post"#L838sults"L838su i9esudiv idL838s>c838"aja y ion="ajax+*" method="post"#L839sults"L839su i9esudiv idL839s>c839"aja lrefs comm > /* Updave houting tables */lookup" y ion="ajax+*" method="post"#L840sults"L840su i9esudiv idL840s>c840"aja code=destid6.32.8destid"aja = code=hod_destid_nextan32.8hod_destid_nextloja(l code=nspan32.8nsp"aja, l code=cur_destid6.32.8cur_destid"aja + 1); y ion="ajax+*" method="post"#L841sults"L841su i9esudiv idL841s>c841"aja if (l code=destid6.32.8destid"aja != code=RIO_INVALID_DESTID6.32.8RIO_INVALID_DESTID"aja) { y ion="ajax+*" method="post"#L842sults"L842su i9esudiv idL842s>c842"aja for (l code=destid6.32.8destid"aja = code=cur_destid6.32.8cur_destid"aja; y ion="ajax+*" method="post"#L843sults"L843su i9esudiv idL843s>c843"aja code=destid6.32.8destid"aja < code=next_destid6.32.8next_destid"aja;) { y ion="ajax+*" method="post"#L844sults"L844su i9esudiv idL844s>c844"aja if (l code=destid6.32.8destid"aja != code=port6.32.8portloja-> l code=host_deviceid6.32.8host_deviceid"aja) { y ion="ajax+*" method="post"#L845sults"L845su i9esudiv idL845s>c845"aja codU ngbotto-1; y , c826"aja t 9 cot"#L840sults"L843 i9esudiv idL817s>c817"aja l 3oAruportloja-> lportloja-> lc838"a01hopcount"te_add_ > rysu i9esudiv idL817s>c817"aja de=hdev6.45s>c745> ja y io8="aja84 method="post"#L828sults"L828su i9esudiv idLLLLLLLLLLLLLLLLLLLLLLL l code=RIO_ANY_DESTID6.32.88i9esu85> code=port6.32.8portloja-> lc838"a01jax+*" method="post"#L829sults"L829su i9esudiv idL829s>c829"aja l code=RIO_ANY_DESTID6.32.8 c8de=ro8_mport_write pref">hodtloja-> lc838"a01j l code=destid6.32.8destid"aja, code=sw_inport6.32 l code=RIO_ANY_DESTID6.32.8RIO_ANY_D8STID"8ja(l code=port6.32.8portloja-> lc838"a01ode=sw_inport6.32.8sw_inport"aja; y ion="ajax+*" method="p8nt"aja, y8/div> ion="ajax+*" meth8d="po85ethod="post"#L832sults"L832su i9esudiv idL832sl code=port_oksu pref">por"ajax+*" 8ethod="post"#L753sults"L853su 8 i9esudiv idL753portloja-> lc838"a018sults"L838su i9esudiv idL838s>c838"aja y ion="ajax+*" method="post"#L839sults"L839su i9esudiv idL839s>c839"aja code=port_oksu pref">por"_destid"a code=port6.32.8port8oja, code=hoi9esudiv idL753portloja-> lc838"a018sults"L838su i9esudiv idhouting tables */lookup" y ion="ajax+4su c754"a8a 8 < >>>>>>>>>>>>>>>>>>>>>>>>l code=port_oksu pref">por" a) { y ion="ajax+8" met8od="post"#L755sults"L7>>>>>>>>>>>>>>>>l code=port_oksu pref">por" l i9esudiv idL7>>>>>>>>l div> code=next_destid6.32.8nex758"aja 8 c8de=ro8_mport_write pref">h"aja) < 0) y ioIf sup Err+*"Manage/div,#L837sults"L837su i9esudiv idL837s>c837ID6.32.8<8opref">RIO_ANY_DESTID"aj8(l code=pr_debugan32.8ppppppppppppppppp* set int x+*"OUTa)) yx+*"unus>c7 837sults"L837su i9esudiv idL837s>c837I" method=59"aja 8 86s"L729su i9esudiv idL729s>c729"aja pppppppppppppppp*"#L837sults"L837su i9esudiv idL837s>c837 8code=RIO_HOST_DID_LOCK_C8R6.3286a(l code=port6.32.8p32.8portloja-> l code=sys_slts"L829su i9em_efptdL833s>c833"aja em_efptd; i9esudiv idL837s>c837 t"aja, y8d="post"#L761sults"L761s8 i9esudivdL819s>c819"aja etv> i/div>de= code=etv> i/div>de=/div> code=hswitch6.32.8hswitchloja-> l cod uting tables */lookup" y ion="ajax+ 8 8ode=p86ort6.32.8portloja-> l cod"aja 8 if (l code=hod8get_h8st_deviceid_locksu < i9esudivdL819s>c819"aja ax+*" method="post"#L829sults"L829su i9esudiv idL829s>c829"aja l code=hopid"aj= ~ntsu pref">hopcount"aja, code=port_num6.32.8port_num"aja); y ion="ajax+> code=8opcountsu pref">ho8count8aja) > code=pppppl code=port_oksu pref">porults"L7658u i9esudiv idL7658>c7658aja code=port_oksu pref">poru lqu8t;RIO86d6.32.8host_deviceid"aja) { y Direct num-delay messages r.32eratimethestip*"#L837sults"L837su i9esudiv idL837s>c837ting\n>qu8t;lookup"); y ion8"ajax87> code=port6.32.8 i9esudiv idL808s>c808"aja for (lrc_oplist. */lookup" lrc_ople=hopid"aja> i9esudiv idL845s>SRC_OPS int WRIT SRC_OPS int WRIT =nspan3destid"ajlts"L837su i9esudiv idL837s>c837t" method=hod="post"#L768sults"L768su 87mport_write portloja-> l code=sys_slts"L829su i9em_efptdL833s>c833"aja em_efptd; code=next_destid6.32.8nex 8ode=hod_sgbop_devicesu 8p8ef">hod_sgbop_deviceloja(lc819"aja l code=mdelay6.32.8 ion="ajax+*"estid"aja != code=port6.32.8portloja-> l6.32.8RIO_ANY_DESTID"aja(8 i9esudivdL819s>c819"aja a-> l code=sys_slts"L829su i9em_efptdL833s>c833"aja em_efptd; i9esudiv idL845s>EM_PW_TGT_DEVd_destid_nextan32.8portloja-> l6 8*" method="post"#L772sul8s"L778su i9esudiv idLLLLLLLLLLLLLLLLLLLLLLLLLd_ > rysu pref">hod_houte_add_ > ryloja(l code=hd code=destid6.32.8destid"aja < p16) |port6.32.8portloja-> l6aja 8od="post"#L773sults"L7738u <8a> i9esudiv idL773s>c7LLLLLLLLLLLLLLLLLLLLLLLLd_ > rysu pref">hod_houte_add_ > ryloja(l code=hdev6.32.8hdev"aja, su p15 code=hdev6.32.8hdev"aja-> l i8esudiv idL775s>c775"aja 8 8 codel code=port_oksu pref">poran32.8nsp"aja-> l8 cod8=devic code=port_oksu pref">pora l code=prev6.32.88rev"aja; y ion=dL819s>c819"aja init_ediv> code=port init_ed ion="ajax+*"estid"aja != codecode=hdev6.32.8hdev"aja-> l i9esudiv idL778s>8778"a87PE locked by code=hswitc86.32.8hswitchloja->deviceid"aja) { y Checkyx+*">c75y *"#L837sults"L837su i9esudiv idL837s>c837ja[ portlo42"aja 2.8swpinfosults"L806su i9esudiv idL806s>/lts"L837su i9esudiv idL837s>c837opref">hd8v"aja; y ion="aja8+*" m88f">hod_sgbop_deviceloja(lc819"aja42"aja 2.838s>c838"aja y ion=aldivx+*" method="post"#L839sulaldiv839su i9esudiv idL839s>c839"aja code=hdev6.32.8hdev"aja-> l i8n="aj88/div> code=hswitch6.32.8hswitchl82su c782"a8a 8 if (l code=dL819s>c819"aja a-> l code=sys_slts"L829su i98sults"L838su i9esudiv idL838s>c838"aja y<> i9esudiv idL781s>c781> ja y ion="ajax+*" method="post"#L782sults"L78v> ion="8jax+*" method="post"#L788sults8L783su l code=prev6.32.8 ion="8jax+*" method="post"#L788sults8L784su i9esudiv idL784s>c784"a if (l code=hdev6.32.8hdev"aja && sults"L802su i9esudiv idL802s>c802" y ion="ajax+*" method="post"#L824sults"L824su "#L785sul8s"L785su i9esudiv8idL788s>c785"aja ion=dL819s>c819"aja >pr_debug"aja( y ion="ajax+*" method="post"#L804sults"L804su i9esudiv idL804s>c804"aja refs string"a>quot;RIO: found %s (vid %4.4x did %4.4x) with %d ports\n>quot;lookup", y ion="ajax+*" mecode=hdev6.32.8hdev"aja-> l i9esud8v idL886s>c786"aja l code=u86su u16"aja 8ode=d8stid6.32.8 i9esudiv idL743s>c743"aja 8> ion="a8ax+*" method="post"#L7898ults"8789su l code=port_oksu pref">por6.32.8swpinfo"aja); y io89prev_portloja] = code=hdev6.32.8<8ref">RIO_8LOBAL_TABLE"aja, y8 ion=8ajax+*deviceid"aja) { y *#L837sults"L837su i9esudiv idL837s>c837 code=h8ev6.32.8hdev"aj8-> 89su i9esudiv idL* ion=lete- Ty i9esudiv idL837s>c837 su code=houte_tables8 pref"9su i9esudiv idL* @_ > : Mastdevium"ato sets"transid6.on#L837sults"L837su i9esudiv idL837s>c837 > ion="8ults"L793su i9esu8iv id8793s>c9su i9esudiv idL*#L837sults"L837su i9esudiv idL837s>c837 > ion="8795su i9esudiv id8795s>8795"aj9su i9esudiv idL* Ty i9esudiv idL837s>c837 #L785sul82.8next_destid"8ja) {8y i9esudiv idL* ion=lete flag). R3su 802s>1232.r.32eration is ion=lete +*"802s>0232#L837sults"L837su i9esudiv idL837s>c837 l ion="ajax+*"8metho8="post9su i9esudiv idL* r.32eration is inion=lete.#L837sults"L837su i9esudiv idL837s>c837 su code=RIO_GLOBAL_TABL86.32.8 i9esudiv idL*"#L837sults"L837su i9esudiv idL837s>c839sudiv idL999s>c799"aja 9 9 static int c ion=letedebug"aja( y ion=lete="ajaampuc int c ms port %d\n>quot;lompinfo6.32*_ > rysu pref">hod_houte_add_ > rylo/lts"L837su i9esudiv idL837s>c839code=hswi9ch6.32.8hswitch9oja->9 l code=next_destid6.32.8ne9div> ion9"ajax+*" method="post"#L901sul9s"L801su rysu ucode=mdelay6.32.8u="post"int c egvalrt %d\n>quotegvalv> ion="ajax+*" method="post"#L782sults"L79 d90/div> code=hswitch6.32.8hswitchl9"aja, l code=destid6.32.8<9opref9>destid"aja + int c dival_read/div> code=mdelay6.32.8 co="ajax+*" method="po8port_num"aja, 0); y ion="ajpref">hod_houte_add_ > ryloja(l code=hdphys_efptdL833s>c833"aja phys_efptd; i9esudiv idL845s> int GEN_CTLsys_size"aja), y int GEN_CTLsys_code=port6.32.8portloja-> l i9esudiv idL803s>c803"aja 9 9 code=pr______________ { y ion="ajaxegvalrt %d\n>quotegvalv> code=hdev6.32.8hdev"aja-> lc805"aja 9 9 code43su ax+*" method="posegvalrt %d\n>quotegvalv> pid"aja> i9esudiv idL845s> int GEN_DISCOVERE_destid_nextan32.8 i9esudiv idL743s>c743"aja 9iv> cod9=did6.32.8did"a9a, y<9div> l code=port_oksu pref">po9a(l9 code=hdev6.32.8hdev906s>c786"aja l code=u99esudiv i9L807s>c807"aja 9 90/opre9su i9esudiv id> *#L837sults"L837su i9esudiv idL837s>c839+*" metho9="post"#L809sults"L809su9 code=pr_debug* isc - R3curs i9esudiv idL837s>c839+ode=hswi9_PORTS6.32.8RIO9GET_T91s"L729su i9esudiv idL* @ : idL work be i9esudiv idL837s>c839+iv> ion90"aja 9 l : Mastdevium"ato sets"transid6.ons#L837sults"L837su i9esudiv idL837s>c839+ code9port_91/div>9su i9esudiv idL* @ y i9esudiv idL837s>c839+aja, l ion=9ajax+91pref"9su i9esudiv idL* @4sults"L: Numbdevof 4sus in work#L837sults"L837su i9esudiv idL837s>c839+ i9f">portloja-> l 9 code9193s>c9su i9esudiv idL* @_rev: _revious 37;d837sults"L837su i9esudiv idL837s>c839+div idL89"post"#L815sults"L815su 9 9195"aj9su i9esudiv idL* @switch"aj: _revious ium"anumbde;d837sults"L837su i9esudiv idL837s>c839+v> cod9aja-> l code=h9witch91 i9esudiv idL*;d837sults"L837su i9esudiv idL837s>c839+(l9= (1 << 9ode=p91"post9su i9esudiv idL* R3curs i9esudiv idL837s>c839+esudiv i9*" method="post"#L816sul9s"L8191/opre9su i9esudiv idL* mastdevium" pa> c L@_ > .#L837sults"L837su i9esudiv idL837s>c839 } y ion="ajax+*" method=9post"92 code=pr_debug*"#L837sults"L837su i9esudiv idL837s>c839"aja y ion="ajax+*" method=9post"9L819sustatic lts"L837su i9esudiv idL837s>c839"iv> ion9d6.32.8next_des9id"aj9; yc838"aja yisc x+*" method="post"#Lisc ="ajaampuc int c v idL839s>c839"aja v io6.32*_ > rysu v idL839s>c839"aja ampuc int c ms port %d\n>quot;lompinfo6.32*_ > rysu pref">hod_houte_add_ > rylo y ion="ajja int code=cur_destid6.32.8cur_destid=port6.32.8portloja-> l i9esudi9 idL822s>c822"aja 9 9 (l ion="ajj8 i8 code=cur_ ampuc int c d %4.4x) with & 37;d.32*_ > rysu p777sults"L777su i9e, int coh6.32.8hod_is_switch"aja(l i9esudiv idL837s>c839> code=9ort6.32.8portlo9a-> 9l code=next_destid6.32.8ne9ethod="po9t"#L823sults"L823su i9e9udiv idL823s>c ion="ajj8 i8 code=cur_ int c de=des port %d\n>quotde=des pov> ion="ajax+*" method="post"#L782sults"L79 i9e9udiv idL824s>c824"aja 9 9 ampuc int c d %4.4x) with & 37;d.32*_ > rysu 32.8prev"aja)) y ion="ajax+*" method="post"#L778su9 i9esudiv9idL825s>c825"aja 9 9 ion="ajja int code=cur_na y ion="ajax+*" method="post"#L782sults"L79 9 cod9=port926s>c786"aja l code=u9/opref">p9rtloja, 0, y ion=9ajax+9" method="postt"#L767sults"L767su i9esudiv idL767s>c767"aja ngbotto-1; y ion="932.8portloja-> l 9 code9sys_sizesu <32.8ts"L808su i9esudiv idL808s>c808"aja x+*" method="post"#L769sults"L769su i9esudiv idL769s>c769"aja y ion="ajax+*" method="post"#L770sults"L770su i9esudiv idL770s>c770"aja refs l code=hod_houte_add_ > 0)//div> code=next_destid6.32.8ne9*" method9"post"#L830sults"L830su 9 9i9esudiv idL830s>c830"772s>c772"aja code=hopcountsu pref">hopcount"aja, 1); y ion="a9rt_num"aj9); y ion="ajax+*"9metho9="post"#L831sults"L831d_houte_add_ > f (l code=hdev6.32.8hdev"aja) { y ion="ajax+*" method="post"#L774sults"L774su i9esudiv idL774s>c774"aja refs comm > /* Add device to the global and bus/nsp specific list. */lookup" y ion="ajax+*"count"aja, 1); y ion="a9r i9esudi9BLE"aja, y ion="a9ax+*"9method="post"#L832sult/div> ion="ajax+*" method="post"#L774sults"L774su i9escode=hdev6.32.8hdev"aja-> l code=nsp_listan32.8nsp_list"aja, &l code=ns9opref">RI9_ANY_DESTID"aja(l 9 code93 if (l code=hdevices"aja); y ion="ajax+*" method="post"#L776sults"L776su i9esudiv idL776s>c776"aja l code=hdev6.32.8hdev"aja-> l code=prev6.32.8prev9e=sys_siz9su pref">sys_size"9ja), 9 ion="ajax+*" method="pdiv> code=hdev6.32.8hdev"aja-> sudiv idL777s>c777"aja if (l code=prev6.32.8prev"aja && code=hod_is_switch6.32.8hod_is_switch"aja(l code=prev6.32.8prev"aja)) y ion="ajax+*" method="post"#L778su9ion="ajax9*" method="post"#L835sul9s"L839su i9es l code=prev6.32.8 code9hopco9ntsu pref">hopcon="ajax+*" method="post"#L836sults"L836su 9i9esudiv 9dL836s>c836"aja 9 9 l 9ode=hdev6932.8hdev"aja, 9/div>9 code=port_nu79sults"L779su i9esudiv idL779s>c779"aja } else y ion="ajax+*" method="post"#L780sults"L780su i9esudiv idL780s>c780"aja 9"aja 9 9 9 ngbotto-1; y 772s>c772"aja ssociated y cthis *"#L837sults"L837su i9esudiv idL837s>c839*" method9"post"#L840sults"L840su 9 9i9esudiv idL840s>c840"dL819s>c819"aja a-> l code=sys_slts"L829su i98sults"L838su i9esudiv idL838s>c838"aja ycur_destid"aja; y ion="ajax+*" method="pos9nsp"aja, 9 code=cur_destid9.32.89/oprefaja; y ion="ajax+*" method="pos9n i9esudi9iv> code=RIO_INVALID_D9STID6932.8RIO_INVAL idL784s>c784"a if (l code=hdev6.32.8 ion="ajax+*" method="pos9npref">RI9aja = code=cur9desti96.32.8cur_destid" ion="ajax+*" method="post"#L802sults"L802su i9esudiv idL802s>c802"aja } y ion="ajax+*" method="post"#L803sults"L803s9t_destid"9ja;) { y ion="aja9+*" m9thod="post"#L844sults"L844dL819s>c819"aja >pr_debug"aja( y ion="ajax+*" method="post"#L804sults"L804su i9esudiv idL804s>c804"aja refs string"a>quot;RIO: found %s (vid %4.4x did %4.4x) with %d ports\n>quot;lookup", y ion="ajax+*" me="ajax+*" method="post"#L803sults"L803s9ton="ajax9st_deviceid6.32.8host9deviceid"aja) { y i> i9esudiv idL845s>stid"aja; y ion="ajax+*" method="post"#L808sults"L808su i9esudiv idL808s>c808"aja for (l code=port_num6.32.8 ion="a9 9 ngbotto-1; yswpinfo"aja)); y ion="ajax+*" method="post"#L807sults"L807su 9 l 3oAruportlojanfo6.32.8swpinfo"aja)); y ion="ajaxid6.32.8next_destid"aja; y ion="ajax+*" method="post"#L808sults"L808su i9esudiv idL808s>c808"aja for (l code=port_num6.32.8port_num"aja = 0; y ion="aja9 de=hdev6945s>c745> ja y io9="aja94 method="post"#L828sults"Lnfo6.32.8swpinfo"aja)); y ion="aja/opref">port_num"aja < code=RI9hod="post9#L747sults"L747su 9i9esu95> code=port6.32.8p79sults"L779su ion="ajax+*" method int NUM8sults"L808su i9esudiv idL808s>c808"aja for (l code=port_num6.32.8swpinfo"aja); y ion="ajax+*" method=f">port_num"aja < code=RI9h" method90"aja c9de=ro9_mport_write pref">h l code=rdev6.32.8RIO_ANY_D9STID"95oprefaja; y ion="ajax+*" method="pos9nt"aja, y9/div> ion="ajax+*" meth9d="po95ethod="post"#L832sults"L832suiv idL819s>c819"aja code=cur_destid6.32.8cur_destid"aja = code9"ajax+*" 9ethod="post"#L753sults"L953su 9 i9esudiv idL753portloja-> ax+*" method="po8port_num"aja, 0); y ion="aj l code=hod_houte_add_ > /opref">swpinfo"aja); y ion="ajax+*" method=pref">port_num"aja < code=RI9h_destid"9 code=port6.32.8port9oja, code=hoi9esudiv idL753p idL784s>c784"a if (l code=hdev6.32.8 ion="ajax+*" method="pos94su c754"a9a 9 < >>>>>>>>>>>>>>>>>>>> code=port_num6.32.8port_num"aja)) { y ion="ajax+*" method="post"#L824sults"L824su 9" 9a) { y ion="ajax+9" met9od="post"#L755sults"L7>>>>>>>>>>>>>>>>753p idL784s>c784"a a, code=port_num6.32.8port_num"aja); y ion="ajax9" l 9758"aja 9 c9de=ro9_mport_write pref">h"L819s>c819"aja div>s"L769su i9esudiv idiv>s"L769s l code=hdevport_num"aja, 0); y ion="aj l code=hod_houte_add_ > 100 l code=RIO_ANY_DESTID6.32.8<9ID6.32.8<9opref">RIO_ANY_DESTID"aj9(l i9esudiv idL818s>c819I" method959"aja 9 96mport_write pref">h=swpinfo6.32.8 x+*" method="post"#L807sults"L807su 9 9code=RIO_HOST_DID_LOCK_C9R6.3296a(l code=port6.32.8pef">h"L819s>c819"ajana y xid6.32.8next_de l code=hod_houte_add_ > rysu pref">hod_houte_add_ > ryloja(l code=hdev6.32.8hdev"aja, method="post"#L807sults"L807su 9 t"aja, y9d="post"#L761sults"L761s9 i9esu"L819s>c819"ajana y /opref">port_num"aja < code=RI9 9 9ode=p96u i9esudiv idLLLLLLLLLLLLLLLLLLLLLLLLL"L819s>c819"aja tde=deget if (l get 8sults"L808su i9esudiv idL808s>c808"aja ajax+*" method="post"#L824sults"L824su 9"aja 9 if (l code=hod9get_h9st_deviceid_locksu < i9esudiv idLLLLLLLLLLLLLLLLLLLLLLLLL"L819s>c819"aja45s>c845"aja codU 9> code=9opcountsu pref">ho9count9aja) > code=pppppi9esudiv idLLLLLLLLLLLLLLLLLLLLLLLLL"L819s>c819"ajana y codU 9> 9u i9esudiv idL7659>c7659aja ion="ajaxde=des port %d\n>quotde=des pov> l code=RIO_ANY_DESTID6.32.8<9u lportloja-> lportloiv idL819s>c819"aja de=des port %d\n>quotde=des pov> 2.8swpinfo"aja); y ion="ajax+*" method=f">port_num"aja < code=RI9 9lrefs string"a>qu9t;RIO96d6.32.8host_________________________________break l code=RIO_ANY_DESTID6.32.8<9ting\n>qu9t;lookup"); y ion9"ajax97> code=port6.32.8 code=port_oksu pref">po9t" method9hod="post"#L768sults"L769su 97prev_portloja] = code=hdev6.32.8<9 9ode=hod_sgbop_devicesu 9p9ef">hod_sgbop_deviceloja(lportloiv idL819s>c819"ajana y x+f">destid"aja = code=hod_houte_add_ > rysu pref">hod_houte_add_ > ryloja(l code=hdev6.32.8hdev"aja, =f">port_num"aja < code=RI96.32.8RIO_ANY_DESTID"aja(9 i9esudiv l code=rdev6.32.8 i9esudiv idLLLLLLLLLLLLLLLLL"L819s>c819"aja undiv>s"L769su i9esudiv iundiv>s"L769s l code=hdevport_num"aja, 0); y ion="aj l code=hod_houte_add_ > l code=RIO_ANY_DESTID6.32.8<96aja 9od="post"#L773sults"L7739u <9a> i9esudiv idL773s>c7LLLLLLLLLLLLLLLLiv idL819s>c819"aja >isc x+*" method="post"#Lisc ="aja ion="ajax+*" method="post"#L770sults"L770su i9esudiv idL770s>c770"aja refs na y codU 9 i9esudiv idL775s>c775"aja 9 9 codeudiv idLLLLLLLLLLLLLLLLL"L819s>c819"ajaax+*" method="post"#L834sults"L834su < if (l code=hod_enum_peersu pref">hod_enum_peerloja(l code=nspan32.8nsp"aja, l code=port6.329an32.8nsp"aja-> l9 cod97tsu pref">hopcount"aja + 1, y ion="ajax+*" method="post"#L836sults"L836su 9a l code=prev6.32.89rev"aja; y ion=========l code=port_oksu pref">po9t 9 i9esudiv idL778s>9778"a97d6.32.8host_l code=port_oksu pref">po9prev"aja-9 l code=hswitc96.32.9hswit l code=prev6.32.8c784"a if (l code=hdev6.32.8hdev"aja && sults"L802su i9esudiv idL802s>c802" y ion="ajax+*" method="post"#L824sults"L824su 9opref">hd9v"aja; y ion="aja9+*" m98f">hod_sgbop_deviceloja(ldL819s>c819"aja >pr_debug"aja( y ion="ajax+*" method="post"#L804sults"L804su i9esudiv idL804s>c804"aja refs string"a>quot;RIO: found %s (vid %4.4x did %4.4x) with %d ports\n>quot;lookup", y ion="ajax+*" mecode=hdev6.32.8hdev"aja-> l i9n="aj98/div> code=hswitch6.32.8hswitchl92su c782"a9a 9 if (l43su i9esudiv idL743s>c743"aja 9v> ion="9jax+*" method="post"#L789sults9L783sul code=port_oksu pref">po9p i9jax+*" method="post"#L789sults9L784su code=port_oksu pref">po9pn32.8 i9esudiv9idL7898 i9esudiv id> *#L837sults"L837su i9esudiv idL837s>c839 l i9esud9v idL98"post9su i9esudiv idL* t;lompinfdestid6.32- Ty i9esudiv idL837s>c839 9pref">u16"aja 9ode=d98/opre9su i9esudiv idL* @_ > : Mastdevium"ato tes"#L837sults"L837su i9esudiv idL837s>c839> ion="a9ax+*" method="post"#L7899ults"99 code=pr_debug*#L837sults"L837su i9esudiv idL837s>c839>a[ swpinfo"aja); y io99s"L729su i9esudiv idL* Reads2 ium"aerror status CSRv=swp mastdevium"ato#L837sults"L837su i9esudiv idL837s>c839>pref">hd9LOBAL_TABLE"aja, y9 ion=9ajax+*deviceid"aja) { y i9esudiv idL837s>c839 code=h9ev6.32.8hdev"aj9-> 99su i9esudiv idL* 802s>.8 i9esudiv idL837s>c839 su code=houte_tables9 pref"9su i9esudiv idL* +*"802s>0232 it is inid6.32.#L837sults"L837su i9esudiv idL837s>c839 > ion="9ults"L793su i9esu9iv id9793s>c9su i9esudiv idL*"#L837sults"L837su i9esudiv idL837s>c839 > ion="9795su i9esudiv id9795s>9795"ajstatic int c mpinfdestid6.32debug"aja( y mpinfdestid6.32="ajaampuc int c ms port %d\n>quot;lompinfo6.32*_ > rysu pref">hod_houte_add_ > rylo/lts"L837su i9esudiv idL837s>c839 #L785sul92.8next_destid"9ja) {9yport_num"aja < code=RI9 l ion="ajax+*"9metho99ev"aja; y rysu ucode=mdelay6.32.8u="post"int c esulort %d\n>quotesulov> x+*" method="post"#L807sults"L807su 9 su code=RIO_GLOBAL_TABL96.32.999v"aja; y rysu ucode=mdelay6.32.8u="post"int c ftr_ptdL833s>c833"aja e ftr_ptdpost method="post"#L807sults"L807su 100 u 100 v"aja; y rysu if 8sulx+*" method="post"#L76mpinfdphys_ l coL76mpinfdphys_ post me/pre>
ethod="post"#L807sults"L807su	  
1001u	  swpinfo"aja); y100prev_portloja] =  
  code=hdev6.32.8<1002u	  100OB>100f">hod_sgbop_doref">port_num"aja <  
  code=RI1003u	  hdev"aj100v6>100ethod="post"#L832sult32.8ts"L808su	      ftr_ptdL833s>c833"aja e   ftr_ptdpost32  l
  code=RIO_ANY_DESTID6.32.8<1004u	  
  code=houte_tables100iv>100u	  
i9esudiv idLLLLLL" method="post"#L76mpinfdget featur     l
  coL76mpinfdget featur   l
  code=hdevport_num"aja, 0); y1, 0, 0, *_ >
rysu	                    if     8sul) =f">port_num"aja <  
  code=RI1005u	  
i9esu100lt>100>
i9esudiv idL773s>c7LLLLLLLLbreak   l
  code=RIO_ANY_DESTID6.32.8<1006u	  
i9esudiv id10095>100u	  
i9es  while (*++_ >
rysu	                    if     8sulxrts\=      l
  code=RIO_ANY_DESTID6.32.8<1007u	  next_destid"100.8>100devic
  code=port_oksu	  pref">po1008u	  
 ion="ajax+*"100{ >100ev"aja; yc819"aja    ftr_ptdL833s>c833"aja e   ftr_ptdpost=f">port_num"aja <  
  code=RI1009u	  100d6.32.8host_dL819s>c819"aja    dival_read/div>
  code=mdelay6.32.8
  co="ajax+*" method="po8port_num"aja, 0); f">port_num"aja <  
  code=RI101 u	  10="6.32.8host__________________________s"L808su	      ftr_ptdL833s>c833"aja e   ftr_ptdpost3+f">port_num"aja <  
  code=RI1011u	  RIO10_PO>10=mport_write  pref">hodtloja->>destid"aja =  
 int N_ERR_STS ys_e_add_ >
rysu	  pref">hod_houte_add_ >
ryloja(l
  code=hdindex">hod_houte_addindex
if">port_num"aja <  
  code=RI1012u	  10=a(l
  code=port6.32.8portloja-> { y
 ion="ajaxesulort %d\n>quotesulov>
     l
  code=RIO_ANY_DESTID6.32.8<1013u	  
  code10rt">10=/div>
  code=hswitch6.32.8hswitchl10=4u	  
 ion=10rtl>10=  if (l43su	  int  
  c esulort %d\n>quotesulov>
 xid"aja>
i9esudiv idL845s> int N_ERR_STS  int OKsize"aja), y
 int N_ERR_STS  int OKpost method="post"#L807sults"L807su	  
1015u	  portloja->
	 l
10f">>10=783sul
  code=port_oksu	  pref">po10=6u	  10=784su
  code=port_oksu	  pref">po10=7u	  
	 l
  code=h10aja>10=
i9esudiv id>
*#L837sults"L837su	  
i9esudiv idL837s>c8310=8u	  
  10= (>10="post9su	  
i9esudiv idL* t;loaldiv v i- Aldivate     div>
 ur  a   w  idL   work#L837sults"L837su	  
i9esudiv idL837s>c8310=9u	  10=/opre9su	  
i9esudiv idL* @_ >
: Mastdevium"aassociated ja        idL   work#L837sults"L837su	  
i9esudiv idL837s>c83102 u	  
 ion="ajax+*" method=10v>
>10v>opre9su	  
i9esudiv idL* @d>
    : E.32eration/Disco
i9esudiv idL837s>c831021u	  
 ion="ajax+*" method=10v>
>10vs"L729su	  
i9esudiv idL* @sta>
: logival minimal sta>
	  yx+*"n w "#L77837sults"L837su	  
i9esudiv idL837s>c831022u	  next_des10d6.>10vjax+*deviceid"aja) { y
i9esudiv idL837s>c831023u	  c822"aja       10 id>10v/div>9su	  
i9esudiv idL* Aldivates a  idL   work ampuc ur ,   itializes per-   work#L837sults"L837su	  
i9esudiv idL837s>c831024u	  portlo10ort>10vpref"9su	  
i9esudiv idL*      heads,     adds2    associated mastdevium"ato t  ;d837sults"L837su	  
i9esudiv idL837s>c8310v5u	  10v93s>c9su	  
i9esudiv idL*    work      of associated mastdevium"s. R3su	 s a;d837sults"L837su	  
i9esudiv idL837s>c8310v6u	  c824"aja   10udi>10v95"aj9su	  
i9esudiv idL*  idL   work pointdevon suciv>
 +*"802s>NULLvon failur .#L837sults"L837su	  
i9esudiv idL837s>c8310v7u	  c825"aja        10idL>10v
i9esudiv idL*"#L837sults"L837su	  
i9esudiv idL837s>c8310v8u	  
  cod10   >10v85"ajstatic ampuc  int  
  c    v idL839s>c839"aja    v io6.32*_ >
rysu	  t;loaldiv v idL839s>c839"aja    aldiv v i="ajaampuc  int  
  c    ms port %d\n>quot;lompinfo6.32*_ >
rysu	  pref">hod_houte_add_ >
ryloif">port_num"aja <  
  code=RI1029u	  
 ion=10rtl>10vd6.32.8host________________________________    int  
  cd>
    /div>
 ion="ajax>
    37;s (vid %4.4x dja                int  
  code=cur_sta>
hdev"ajta>
post=f">port_num"aja <  
  code=RI103 u	  portloja->
	 l
10f">>10f"/divef">port_num"aja <  
  code=RI10f1u	  10fmport_write  ampuc  int  
  c    v idL839s>c839"aja    v io6.32*_ >
rysu	  v idL839s>c839"aja        method="post"#L807sults"L807su	  
1032u	  
 ion="ajax+*"10); >10foprefaja; y
 ion="ajax+*" method="pos10f3u	  
 ion="a10BLE>10fethod="post"#_ >
rysu	  v idL839s>c839"aja       x+*" method="post"kzaldivx+*" method="pokzaldiv="ajaaizeofaampuc  int  
  c    v idL839s>c839"aja    v io6.3
i9esudiv idL804s>GFP_KERNELdL839s>c839"ajaGFP_KERNELv>
     l
  code=RIO_ANY_DESTID6.32.8<1034u	  
10_AN>10f  if (l32.8portlo42idL839s>c839"aja       xst"#L776sults"L776su	  
    /div>
 ion="ajax>
    37;spref">port_num"aja <  
  code=RI10f5u	  pref">sys_size"10su	>10f>
i9esudiv idL773s>c7portlo42idL839s>c839"aja       lts"L829su	  
i98sults_         l
  c8sults_         .829su	  
i9         l
  c         x+*" method="post"kcaldivx+*" method="pokcaldiv="ajaf">port_num"aja <  
  code=RI10f6u	  10f        
  codeudiv idL" method="post"BITS TO_LONGiv>
 ion="ajax+*BITS TO_LONGie_add_ >
rysu	  iv>
MAX_ROUTE_ENTRIEiv>
 ion="ajax+*" meMAX_ROUTE_ENTRIEie_add_ >
rysu	  pref">hod_houte_add_ >
ryloja(l
  code=hdev6.32.8hdev"aja,  
 =if">port_num"aja <  
  code=RI1037u	  
  code10por>10ftsu	  pref">hopcount"aja aizeofalong=if">port_num"aja <  
  code=RI1038u	  c836"aja         10dL8>10fev"aja; y
 ion=========esudiv idL804s>GFP_KERNELdL839s>c839"ajaGFP_KERNELv>
     l
  code=RIO_ANY_DESTID6.32.8<1039u	  hdev"aja,  1032.>10fPE locked by 10  thod="post"#L832sult32.8portlo42idL839s>c839"aja       lts"L829su	  
i98sults_         l
  c8sults_         .829su	  
i9         l
  c         x++*" method="post"NULL    l
  cNULL37;spref">port_num"aja <  
  code=RI1041u	  10 mport_write  c784"a iferdL833s>c833"aja piferd/opref">hdev"aja &&  
 sail  cto aldivate 8sulID       y
 ion="    l
  code=RIO_ANY_DESTID6.32.8<1042u	  
  code=cur_destid1010 f">hod_sgbop_deviceloja(lc819"ajakfre     l
  ckfre e_add_ >
rysu	  v idL839s>c839"aja       code=hdev6.32.8hdev"aja->
	 l
  code=RIO_INVALID_D10iv>>10 ethod="post"#L832sults"L832su_ >
rysu	  v idL839s>c839"aja       x+*" method="post"NULL    l
  cNULL37;sode=hdev6.32.8hdev"aja->
	 l
  code=cur10aja>10 u	  
i9esudiv idL      ref">port_num"aja <  
  code=RI1045u	  
 ion="aja10ja;>10 /div>
 ion="ajax+*" method="pdiv>
  code=hde42idL839s>c839"aja       lts"L829su	  
i98sults_         l
  c8sults_         .829su	  
i9sta>
hdev"ajta>
postdL838s>c838"aja y<>ta>
hdev"ajta>
postode=hdev6.32.8hdev"aja->
	 l10         
  codeudiv idL" method="post"42idL839s>c839"aja       lts"L829su	  
i98sults_         l
  c8sults_         .829su	  
i9max">hod_houte_addmaxpost32  l
  code=RIO_ANY_DESTID6.32.8<1047u	  10 tsu	  pref">hopcount"aja + 1, y
 io_ >
rysu	  iv>
MAX_ROUTE_ENTRIEiv>
 ion="ajax+*" meMAX_ROUTE_ENTRIEie_add_ >
rysu	  pref">hod_houte_add_ >
ryloja(l
  code=hdev6.32.8hdev"aja,  
 ode=hdev6.32.8hdev"aja->
	 l10 ev"aja; y
 ion=========esudiv idL804s>spinidiv>s  ithdev"ajpinidiv>s  ite_add refs
	  comm >
  /* Add device to the global and bus/nsp speciults_         l
  c8sults_         .829su	  
i9div>    l
  cdiv>iv>
 ode=hdev6.32.8hdev"aja->
	 lc745>
ja y
 io1045s>10 d6.32.8host_l
  code=port_oksu	  pref">po105 u	  10#L7>10#L	  
i9es 
  code=port_oksu	  pref">po1051u	  
  c100"a>10#prev_portloja] =  
  code=hdev6.32.8<1052u	  RIO_ANY_D106.3>10#f">hod_sgbop_32.8portlo42idL839s>c839"aja       pref">port_num"aja <  
  code=RI1053u	  
 ion="ajax+*" meth10/di>10#2.8RIO_INVAL idL784s>c784"aINIT_LIST_HEA       l
 INIT_LIST_HEA e_add refs
	  comm >
  /* Add device to the global and bus/nsp spen sp* Add device to  spiv>
 ode=hdev6.32.8hdev"aja->
	 l10#  if (l
  code=dL819s>c819"ajaINIT_LIST_HEA       l
 INIT_LIST_HEA e_add refs
	  comm >
  /* Add device to the global and bus/nsp specific list. */lookup" y
 ion="ajax+*"count"aja, 1); y
 ion="a10#5u	  10#>
i9esudiv idL773s>c7portloINIT_LIST_HEA       l
 INIT_LIST_HEA e_add refs
	  comm >
  /* Add device to the global and bus/nsp spe       list. */lookup"        l
 ion="ajax+*"count"aja, 1); y
 ion="a10#6u	  c754"a10
i9>10#784su	  
i9esudiv idL784s>c784"aINIT_LIST_HEA       l
 INIT_LIST_HEA e_add refs
	  comm >
  /* Add device to the global and bus/nsp spempinflist. */lookup" mpinfl
 ion="ajax+*"count"aja, 1); y
 ion="a10#7u	  
 ion="ajax+10a) >10#tsu	  pref">hopco829su	  
i9d (l
  code=hdev6.32.8hdev"aja) { y
 ion="ajapref">hod_houte_add_ >
ryloja(l
  code=hdnn sp* Add device to   spiv>
   refs
	  comm >
  /* Add device to the global and bus/nsp spempinflist. */lookup" mpinfl
 ion="ajax+*"count"aja, 1); y
 ion="a10#8u	  10#ev"aja; y
 ion=
	  comm >
  /* Add device to the global and bus/nsp spehpref">hod_houte_addhs pov>
 2.lts"L770su	  
i9esudiv idL770s>c770"aja="ajax+*"count"aja, 1); y
 ion="a10#9u	  
  c10   >10#d6.32.8host_dL819s>c819"aja  /* Add device to the global and bus/nsp spey
 ion="ajaudiv idL838s>c838"aja yhod_houte_add_ >
ryloja(l
  code=hdi
 ion="ajaudiv i="ajax+*"count"aja, 1); y
 ion="a106 u	  RIO_ANY_DESTID"aj10opr>10op	  
i9es 
  code=port_oksu	  pref">po1061u	  10omport_write  43su	  int  
  cv idL839s>c839"aja        method="post"#L807sults"L807su	  
1062u	  10o283sul
  code=port_oksu	  pref">po1063u	  10o/div>
  code=hswitch6.32.8hswitchl1064u	  
  10   >10opref"9su	  
i9esudiv id>
*#L837sults"L837su	  
i9esudiv idL837s>c831065u	  
  code=hod10  i>10o93s>c9su	  
i9esudiv idL* iv iupdate
     s- Updates /div>      s in        l
 837sults"L837su	  
i9esudiv idL837s>c831066u	  pref">ho10opc>10o95"aj9su	  
i9esudiv idL* @   :  idL   work to run update on#L837sults"L837su	  
i9esudiv idL837s>c8310o7u	  
i9esudiv idL76510u	 >10o
i9esudiv idL*;d837sults"L837su	  
i9esudiv idL837s>c8310o8u	  
i9esudiv idL* For each r.32erate        , r.sur  that each        in a ja,tem;d837sults"L837su	  
i9esudiv idL837s>c8310o9u	  string"a>qu10lre>10o/opre9su	  
i9esudiv idL* has correct /divsyx+*"y that wher ;d837sults"L837su	  
i9esudiv idL837s>c83107 u	  
 ion10t;l>10t;opre9su	  
i9esudiv idL* unknown dirung2    first r.32eration pa>
 through           .#L837sults"L837su	  
i9esudiv idL837s>c831071u	  10ts"L729su	  
i9esudiv idL*"#L837sults"L837su	  
i9esudiv idL837s>c831072u	  10t25"ajstatic voidL"L819s>c819"aja    update
     sdL839s>c839"aja    update
     s="ajaampuc  int  
  c    v idL839s>c839"aja    v io6.32*_ >
rysu	  v idL839s>c839"aja       =f">port_num"aja <  
  code=RI1073u	  RIO_ANY_DESTID"aja(10ref>10t3/divef">port_num"aja <  
  code=RI1074u	  10t  if (lampuc  int  
  c    d %4.4x) with &    37;d.32*_ >
rysu	  32.8prev"aja)) y
rysu	  sw32.8prev"asw32.8     method="post"#L807sults"L807su	  
1075u	  10t5 if (lampuc  int  
  c    udiv idL779s>c779"aja     } else y<2*_ >
rysu	  3a                if (l
  c method="post"#L807sults"L807su	  
1076u	  c775"aja 10esu>10t784su	  
vid %4.4x dj8               i8  
  code=cur_spref">hod_houte_addsc770"aja="ajax+*"count"aja, 1); y
 ion="a1077u	  nsp"aja->
	 l10ref>10t             
 ion="ajja                int  
  code=cur_destid6.32.8cur_destid"aja; y
 ion="ajax+*" method="pos10t8u	  
  code=prev6.32.8>10t                                 l
  10t9u	  
i9esudiv idL778s>10  <>10t9v"aja; y
rysu	  
rysu	  32.8prev"aja)) ycomm >
  /* Add device to the global and bus/nsp specific list. */lookup" y
 io         refs
	  ndiv idL774s>c774"aja              pref">port_num"aja <  
  code=RI108 u	  
  code=hswitc10
	 >10
	                                l
  1081u	  10
mport_write  c784"a8sults"L838su	  
i9esudiv idL838s>c838"aja y< a->
	 l
  code=sys_slts"L829su	  
i98sults"L838su	  
i9esudiv i"aja; y
 ion="ajax+*" method="pos1082u	  
 ion="aja10v"a>10
oprefaja; y
 ion="ajax+*" method="pos1083u	  
 i10   >10
2.8RIO_INVAL idL784s>c784"a
rysu	  3a                if (l
  c,  refs
	  comm >
  /* Add device to the global and bus/nsp spe       list. */lookup"        l
 io         refs
	  n sp* Add device to  spiv>
 ref">port_num"aja <  
  code=RI1084u	  c782"a10
i9>10
4prefaja; y
 ion="ajax+*" method="pos1085u	  10
/div>
 ion="ajax+*" method="p79sults"L779su	  
i9esudiv idL779s>c779"aja        } else y
 ion="ajax+*" method="post"#L780sults"xst"#L776sults"L808su	  
i9esudiv idL808s>c808"aja                for (3a                if (l
  cx++*" method="post"3a                if (l
  c =f">port_num"aja <  
  code=RI1086u	  10
        
  codeudiv idLLLLLLLLL                   l
  code=rdev6.32.8
i9esudiv10s"L>10
devic
  code=port_oksu	  pref">po1088u	  
i9esud10lts>10
ev"aja; y
 ion=========79sults"L779su	  
 ion="ajax+*" meINVALID_ROUTE
  cx++*" method="post"3a                if (l
  c               for (3div>
                if (ldiv>
     
  ccode=hod_is_swit8sults"L838su	  
i9esudiv i] ref">port_num"aja <  
  code=RI1089u	  u16"aja  
  10pre>10
mport_write  pref">h"L819s>c819"ajasw32.8prev"asw32.8    dL838s>c838"aja y<>w_to_    d %4.4x) with >w_to_    d &e_add_ >
rysu	  3a                if (l
  cn="ajax+*"count"aja, 1); y
 ion="a109 u	  10axevic
  code=port_oksu	  pref">po1091u	  swpinfo"aja); y10amport_write  pref">ht"#L767sults"L767su	  kip=79s y
i9esudiv idL837s>c831092u	  10LOB>10af">hod_sgbop_deviceloja(lportloiv idL819s>c819"ajasw32.8prev"asw32.8    lts"L829su	  
i98sults"L838su	  
i9esudiv idLL838s>c838"aja ycur_destid=f">port_num"aja <  
  code=RI1093u	  hdev"aj10ev6>10aethod="post"#L832sults"L832su	  
i9esudiv                   l
  code=rdev6.32.8
  code=houte_tables10div>10a4prefaja; y
 ion="ajax+*" method="pos1095u	  
i9esu10ult>10aja,  
  code=hoi9esudiv idL753p idL784s>c784"aspref">hod_houte_addsc770"ajadL838s>c838"aja y<" method int NUMv>
 ion="ajax+*" method int NUM8sults"L808su	  sw32.8prev"asw32.8    lts"L829su	  
i9l
  code=port_num6.32.8port_num"aja = 0; y
 ion="aja10a6u	  
i9esudiv id10795>10a784su
  code=port_oksu	  pref">po1097u	  next_destid"102.8>10atsu	  pref">hopcount"aja + 1, y
  c               for (ef">                  ifef">     iv>
 ref">port_num"aja <  
  code=RI1098u	  
 ion="ajax+*"10 { >10a>
  3oAruportloja->
	 lportlolts"L779su	  
ildiv>
ef">                  ifa>
ildiv>
ef">     8sults"L808su	  sw32.8prev"asw32.8    if">port_num"aja <  
  code=RI1099u	  
  code=RIO_GLOBAL_TABL10>
 >10ad6.32.8host_________________________________38s>c838"aja y<" met845"aja                                        y
 ion="aj                l
  code=hf">port_num"aja <  
  code=RI110 u	  110"6.32.8host_________________________________38s>c838"aja yhod_houte_addsc770"aja       l
  code=RIO_ANY_DESTID6.32.8<1101u	  swpinfo"aja); y110mport_write  pref">hodtloja-" method="post"3a                if (l
  c               for (3div>
                if (ldiv>
     
  ccode=hod_is_swit8sults"L838su	  
i9esudiv i]dL838s>c838"aja y<>pref">hod_houte_addsc770"aja="ajax+*"count"aja, 1); y
 ion="a1102u	  110OB>110f">hod_sgbop_deviceloja(lportlol
  code=port_oksu	  pref">po1103u	  hdev"aj110v6>110ethod="post"#L832sult">portlol
  code=port_oksu	  pref">po1104u	  
  code=houte_tables110iv>110u	  
i9esudiv idLl
  code=port_oksu	  pref">po1105u	  
i9esu110lt>110>
i9esudiv idl
  code=port_oksu	  pref">po1106u	  
i9esudiv id11095>110u	  
  code=port_oksu	  pref">po1107u	  next_destid"110.8>110devic
  code=port_oksu	  pref">po1108u	  
 ion="ajax+*"110{ >110"post9su	  
i9esudiv id>
*#L837sults"L837su	  
i9esudiv idL837s>c831109u	  110/opre9su	  
i9esudiv idL*      nit_em - I itializes  idLError Managediv  (x+*"       l)#L837sults"L837su	  
i9esudiv idL837s>c83111 u	  111>opre9su	  
i9esudiv idL* @32.8:  idL"L769s  837sults"L837su	  
i9esudiv idL837s>c831111u	  RIO11_PO>111s"L729su	  
i9esudiv idL*  837sults"L837su	  
i9esudiv idL837s>c831112u	  111jax+*deviceid"aja) { y
i9esudiv idL837s>c831113u	  
  code11rt">111/div>9su	  
i9esudiv idL*   itialization /div
i9esudiv idL837s>c8311=4u	  
 ion=11rtl>111pref"9su	  
i9esudiv idL*"#L837sults"L837su	  
i9esudiv idL837s>c831115u	  portloja->
	 l
11f">>11=783sustatic voidL"L819s>c819"aja     nit_emdL779s>c779"aja     nit_em="ajaampuc  int  
  c    d %4.4x) with &    37;d.32*_ >
rysu	  32.8prev"aja)) yport_num"aja <  
  code=RI11=6u	  11nt  port_num"aja <  
  code=RI11=7u	  
	 l
  code=h11aja>111tsu	  pre79sults"L779su	  
i9esudiv idL779s>c779"aja        } else y
 ion="ajax+*" method="post"#L780sults"xst"#L776sults"L808su	  
i9esudiv idL808s>c808"aja                for (em_efptdL833s>c833"aja em_efptdults"xst"#L776suf">port_num"aja <  
  code=RI11=8u	  
  11= (>111>
  3oAru
i9esudiv idL808s>c808"aja                for (3a                if (l
  c               for (em_  ithdev"aem_  it
  c =ref">port_num"aja <  
  code=RI11=9u	  111d6.32.8host_dL819s>c819"aja i9esudiv idL808s>c808"aja                for (3a                if (l
  c               for (em_  ithdev"aem_  it
  c/div>
 ion="ajax+*" method="post"#L780sults"uf">port_num"aja <  
  code=RI112 u	  
 ion="ajax+*" method=11v>
>112p	  
i9es 
  code=port_oksu	  pref">po1121u	  
 ion="ajax+*" method=11v>
>11vs"L72 
  code=port_oksu	  pref">po1122u	  next_des11d6.>112oprefaja; y
 ion="ajax+*" method="pos1123u	  c822"aja       11 id>11v/div>9su	  
i9esudiv id>
*#L837sults"L837su	  
i9esudiv idL837s>c831124u	  portlo11ort>11vpref"9su	  
i9esudiv idL*     pw_en     - En    s/dis    s c770-write handl
i9esudiv idL837s>c831125u	  11v93s>c9su	  
i9esudiv idL* @_ >
: Mastdevium"aassociated ja   c770-write handl
i9esudiv idL837s>c831126u	  c824"aja   11udi>11v95"aj9su	  
i9esudiv idL* @en    :  1=en    ,  0=dis    #L837sults"L837su	  
i9esudiv idL837s>c831127u	  c825"aja        11idL>11v
i9esudiv idL*"#L837sults"L837su	  
i9esudiv idL837s>c8311v8u	  
  cod11   >11v85"ajstatic voidL"L819s>c819"aja    pw_en    dL779s>c779"aja    pw_en    ="ajaampuc  int  
  c    ms port %d\n>quot;lompinfo6.32*_ >
rysu	  pref">hod_houte_add_ >
ryloi_    int  
  cen    dL779s>c779"ajaen    ="aj=f">port_num"aja <  
  code=RI1129u	  
 ion=11rtl>11vd6.32ef">port_num"aja <  
  code=RI113 u	  portloja->
	 l
11f">>1130su	  pre79sults"L779su	  hod_houte_add_ >
ryloja(l
  code=hdoplist. */lookup" oplryloja(l
  code=hdpwen    dL779s>c779"ajapwen    ="aj=f">port_num"aja <  
  code=RI11f1u	  113mport_write  c784"a ref">hod_houte_add_ >
ryloja(l
  code=hdoplist. */lookup" oplryloja(l
  code=hdpwen    dL779s>c779"ajapwen    ="aj/div>
  code=hdevport_num"aja, 0); y
 ion="ajen    dL779s>c779"ajaen    ="aj=uf">port_num"aja <  
  code=RI1132u	  
 ion="ajax+*"11); >113283sul
  code=port_oksu	  pref">po11f3u	  
 ion="a11BLE>113/div>
  code=hswitch6.32.8hswitchl1134u	  
11_AN>113pref"9su	  
i9esudiv id>
*#L837sults"L837su	  
i9esudiv idL837s>c8311f5u	  pref">sys_size"11su	>11393s>c9su	  
i9esudiv idL* iv ir.32ompinf- Sta>
	r.32eration through a mastdevium"#L837sults"L837su	  
i9esudiv idL837s>c8311f6u	  11395"aj9su	  
i9esudiv idL* @m_ >
: Mastdevium"ato send transid6.o s#L837sults"L837su	  
i9esudiv idL837s>c831137u	  
  code11por>113
i9esudiv idL* @flags: E.32erationv    rol flags#L837sults"L837su	  
i9esudiv idL837s>c831138u	  c836"aja         11dL8>113"post9su	  
i9esudiv idL*#L837sults"L837su	  
i9esudiv idL837s>c831139u	  hdev"aja,  1132.>113/opre9su	  
i9esudiv idL* Sta>
s2    r.32eration proiv>
. If somebody has r.32erate  our#L837sults"L837su	  
i9esudiv idL837s>c83114 u	  114>opre9su	  
i9esudiv idL* mastdevium"a      ,    n g 
i9esudiv idL837s>c831141u	  114s"L729su	  
i9esudiv idL* sulk,    n sta>
	recurs 0232#L837sults"L837su	  
i9esudiv idL837s>c831142u	  
  code=cur_destid11114jax+*deviceid"aja) { y-EBUSYe79sr.32eration sails.#L837sults"L837su	  
i9esudiv idL837s>c8311 3u	  
  code=RIO_INVALID_D11iv>>114/div>9su	  
i9esudiv idL*"#L837sults"L837su	  
i9esudiv idL837s>c8311 4u	  
  code=cur11aja>11 u	  <    int  
  c    r.32ompinfrt %d\n>quot;lor.32ompinf="ajaampuc  int  
  c    ms port %d\n>quot;lompinfo6.32*_ >
rysu	  ms port %d\n>quomaja, 0); y
 ion="ajucode=mdelay6.32.8u="post"int  
  cflagsde=mdelay6.32.8flags#Laj=f">port_num"aja <  
  code=RI1145u	  
 ion="aja11ja;>11 /div>ef">port_num"aja <  
  code=RI11 6u	  11         
  c    v idL839s>c839"aja    v io6.32*_ >
rysu	  v idL839s>c839"aja       x+*" method="post"NULL    l
  cNULL37;sode=hdev6.32.8hdev"aja->
	 l11 tsu	  pre    int  
  c vx+*" method="porc    x+*" method="post"#L807sults"L807su	  
11 8u	  114                                 l
  11 9u	  c745>
ja y
 io1145s>1149v"aja; y
rysu	  pr   >    l
  cpr   >="aj/div>
  code=hdeKERN_INFO    l
  cKERN_INFOpost"i">hdev"aja &&  
 r.32erate mastdevium"a802s>d,"L802su y
 ion="ai_ >
rysu	  ms port %d\n>quomaja, 0);ja(l
  code=hdi
 ion="ajaudiv ihf">port_num"aja <  
  code=RI115 u	  11#L7>115"6.32.8host_ >
rysu	  ms port %d\n>quomaja, 0);ja(l
  code=hd	  c839"aja am ="aj=uf">port_num"aja <  
  code=RI1151u	  
  c110"a>11#prev_portloja] =  
  code=hdev6.32.8<1152u	  RIO_ANY_D116.3>11#f">hod_sgbop_9su	  
i9esudiv id>
#L837sults"L837su	  
i9esudiv idL837s>c831153u	  
 ion="ajax+*" meth11/di>115/div>9su	  
i9esudiv idLLLLLLLLL* To avoidLmultiple sta>
	requy
i9esudiv idL837s>c831154u	  115pref"9su	  
i9esudiv idLLLLLLLLL* by   is method) checke79sr.32eration/disco
i9esudiv idL837s>c8311#5u	  11593s>c9su	  
i9esudiv idLLLLLLLLL* m_ >
: 32.mium"awas addedv   o t        of mpinflv=swpa   
	rxi"#L837sults"L837su	  
i9esudiv idL837s>c8311#6u	  c754"a11
i9>11595"aj9su	  
i9esudiv idLLLLLLLLL* ja   error.#L837sults"L837su	  
i9esudiv idL837s>c8311#7u	  
 ion="ajax+11a) >115
i9esudiv idLLLLLLLLL*"#L837sults"L837su	  
i9esudiv idL837s>c8311#8u	  115ev"aja; yc819"ajams port %d\n>quomaja, 0);ja(l
  code=hd	n sp* Add device to   spiv>
.829su	  
i9nexidL839s>c839"aja  x     x||t_ >
rysu	  ms port %d\n>quomaja, 0);ja(l
  code=hd	n sp* Add device to   spiv>
.829su	  
i9pr" method="post"#Lpr" #Laj=f">port_num"aja <  
  code=RI11#9u	  
  c11   >11#d6.32.8host_43su	  -829su	  
i9EBUSYmethod="post"#LEBUSY37;sode=hdev6.32.8hdev"aja->
	 lRIO_ANY_DESTID"aj11opr>116xevic
  code=port_oksu	  pref">po1161u	  11omport_write  t"#L767sults"L767su	  
i9esudiv idL837s>c831162u	  116f">hod_sgbop_32.8portlot;lor.32ohodL774s>c774"aja  t;lor.32ohodL="aj/div>
  code=hdems port %d\n>quomaja, 0);) < 0=ref">port_num"aja <  
  code=RI1163u	  1162.8RIO_INVAL idL784s>c784"apr   >    l
  cpr   >="aj/div>
  code=hdeKERN_INFO    l
  cKERN_INFOpostf">port_num"aja <  
  code=RI1164u	  
  11   >116u	  
i9esudiv idLLLLLL "i">hdev"aja &&  
 mastdevium"a802s>da       has beenrr.32erate  by a remote hodL y
 ion="af">port_num"aja <  
  code=RI1165u	  
  code=hod11  i>116ja,  
  code=hoi9esudi_ >
rysu	  ms port %d\n>quomaja, 0);ja(l
  code=hdi
 ion="ajaudiv i=uf">port_num"aja <  
  code=RI1166u	  pref">ho11opc>116784su	  
i9esudiv idL784s>c784"a vx+*" method="porc    x+*-829su	  
i9EBUSYmethod="post"#LEBUSY37;sode=hdev6.32.8hdev"aja->
	 l
i9esudiv idL76511u	 >116tsu	  pref">hopcogo o /div>
  code=hdouort %d\n>quoouo37;sode=hdev6.32.8hdev"aja->
	 l116ev"aja; y
  code=port_oksu	  pref">po11o9u	  string"a>qu11lre>116PE locked by 
 ion11t;l>1170port_write  t"#L767sults"L767su	  
i9esudiv idL837s>c831171u	  1171">hod_sgbop_32.8portlot;lompinfdestid6.32debug"aja( y
mpinfdestid6.32="ajadiv>
  code=hdems port %d\n>quomaja, 0);)=ref">port_num"aja <  
  code=RI1172u	  117f">hod_sgbop_devicelo_ >
rysu	  v idL839s>c839"aja       x+*" method="post"r;loaldiv v idL839s>c839"aja    aldiv v i="aja_ >
rysu	  ms port %d\n>quomaja, 0); y1       l
  code=RIO_ANY_DESTID6.32.8<1173u	  RIO_ANY_DESTID"aja(11ref>117ethod="post"#L832sult32.8!_ >
rysu	  v idL839s>c839"aja       =ref">port_num"aja <  
  code=RI1174u	  117u	  
i9esudiv idLLLLLL "L idL784s>c784"apr   >    l
  cpr   >="aj/div>
  code=hdeKERN_ER_size"aja), yhdev"aja &&  
 sail  cto aldivate n w "#L y
 ion="    l
  code=RIO_ANY_DESTID6.32.8<1175u	  117ja,  
  code=hoi9esudiv idL784s>c784"a vx+*" method="porc    x+*-829su	  
i9ENOMEMv>
 ion="ajax+*ENOMEM37;sode=hdev6.32.8hdev"aja->
	 lc775"aja 11esu>117        
  codeudiv idLgo o /div>
  code=hdouort %d\n>quoouo37;sode=hdev6.32.8hdev"aja->
	 lnsp"aja->
	 l11ref>117tsu	  pref">hopcol
  code=port_oksu	  pref">po11t8u	  
  code=prev6.32.8>11t                                 l
  11t9u	  
i9esudiv idL778s>11  <>117d6.32.8host_d"#L767sults"L767su	  
i9esudiv idL837s>c83118 u	  
  code=hswitc11
	 >118"6.32.8host_" method="post"r;lo8sults_reser32dL839s>c839"aja    8sults_reser32="aj/div>
  code=hdev idL839s>c839"aja       ai_ >
rysu	  ms port %d\n>quomaja, 0);ja(l
  code=hdhodL_      i
 ion="ajahodL_      iport_num"aja <  
  code=RI1181u	  118prev_portloja] =  
  code=hdev6.32.8<1182u	  
 ion="aja11v"a>118f">hod_sgbop_devicelo_"#L767sults"L767su	  
i9esudiv idL837s>c831183u	  
 i11   >11
2.8RIO_INVAL idL784s>c784"at;lor.    _rx_tx_pinfrt %d\n>quot;lor.    _rx_tx_pinf="aja_ >
rysu	  ms port %d\n>quomaja, 0); y1         =uf">port_num"aja <  
  code=RI1184u	  c782"a11
i9>11
4prefaja; y
 ion="ajax+*" method="pos1185u	  11
/div>
 ion="ajax+*" mt"#L767sults"L767su	  #LLL76poniv  tagv=swphodLL*"#L837sults"L837su	  
i9esudiv idL837s>c831186u	  11
        
  code idL784s>c784"at;lodival_write_div>
 _code=mdelay6.32.8t;lodival_write_div>
 _co="aja_ >
rysu	  ms port %d\n>quomaja, 0); y_ >
rysu	      COMPONENT_TAG ys_size"aja), y
COMPONENT_TAG ys_iv ihf">port_num"aja <  
  code=RI11
7u	  
i9esudiv11s"L>118tsu	  pref">hopcount"aja + 1, y
 iolo_ >
rysu	  v xt_L76ptagdL839s>c839"aja  x _L76ptagsu	 ++=uf">port_num"aja <  
  code=RI1188u	  
i9esud11lts>118                                 l
  1189u	  u16"aja  
  11pre>11
mport_write  
rysu	  v xt_8sults"L838su	  
v xt_8sults    x+*" method="post"r;lo8sults_aldivx+*" method="por;lo8sults_aldiv="aj/div>
  code=hdev idL839s>c839"aja       =uf">port_num"aja <  
  code=RI119 u	  11axevic
  code=port_oksu	  pref">po1191u	  swpinfo"aja); y11amport_write  portlot;lor.32o    774s>c774"aja  t;lor.32o    ="aj/div>
  code=hdev idL839s>c839"aja       ai_ >
rysu	  ms port %d\n>quomaja, 0);     " method="post"NULL    l
  cNULL37;s   = < 0=ref">port_num"aja <  
  code=RI1192u	  11LOB>11af">hod_sgbop_deviceloja(l
rityphodLLwonsr.32eration, bail.L*"#L837sults"L837su	  
i9esudiv idL837s>c831193u	  hdev"aj11ev6>11aethod="post"#L832sults"L832su idL784s>c784"apr   >    l
  cpr   >="aj/div>
  code=hdeKERN_INFO    l
  cKERN_INFOpostf">port_num"aja <  
  code=RI11a4u	  
  code=houte_tables11div>119u	  
i9esudiv idLLLLLL "La(l
 mastdevium"a802s>da       has lost r.32eration to a remote hodL y
 ion="af">port_num"aja <  
  code=RI1195u	  
i9esu11ult>11aja,  
  code=hoi9esudiv idL753_ >
rysu	  ms port %d\n>quomaja, 0);ja(l
  code=hdi
 ion="ajaudiv i=uf">port_num"aja <  
  code=RI11a6u	  
i9esudiv id11795>119        
  codeudiv idL" method="post"t;loclearidiv>sdL839s>c839"aja    clearidiv>s="aj/div>
  code=hdev idL839s>c839"aja       =uf">port_num"aja <  
  code=RI1197u	  next_destid"112.8>11atsu	  pref">hopcount"aja  idL784s>c784"a vx+*" method="porc    x+*-829su	  
i9EBUSYmethod="post"#LEBUSY37;sode=hdev6.32.8hdev"aja->
	 l
 ion="ajax+*"11 { >11a>
  3oAruportloja->
go o /div>
  code=hdouort %d\n>quoouo37;sode=hdev6.32.8hdev"aja->
	 l
  code=RIO_GLOBAL_TABL11>
 >11ad6.32.8host_l
  code=port_oksu	  pref">po120 u	  120"6.32.8host_t"#L767sults"L767su	  
i9esudiv idL837s>c831201u	  swpinfo"aja); y120mport_write  
  cr;lo8sults_fre ="aj/div>
  code=hdev idL839s>c839"aja       ai_ >
rysu	  v xt_8sults"L838su	  
v xt_8sults    =uf">port_num"aja <  
  code=RI1202u	  120OB>120f">hod_sgbop_devicelo" method="post"r;loupdate
     sdL839s>c839"aja    update
     s="ajadiv>
  code=hdev idL839s>c839"aja       =uf">port_num"aja <  
  code=RI1203u	  hdev"aj120v6>120ethod="post"#L832sult" method="post"t;loclearidiv>sdL839s>c839"aja    clearidiv>s="aj/div>
  code=hdev idL839s>c839"aja       =uf">port_num"aja <  
  code=RI1204u	  
  code=houte_tables120iv>120u	  
i9esudiv idL" method="post"t;lopw_en    dL779s>c779"aja    pw_en    ="aja_ >
rysu	  ms port %d\n>quomaja, 0); y1=uf">port_num"aja <  
  code=RI1205u	  
i9esu120lt>120>
i9esudiv idl     ref">port_num"aja <  
  code=RI1206u	  
i9esudiv id12095>120        
  code idL784s>c784"apr   >    l
  cpr   >="aj/div>
  code=hdeKERN_INFO    l
  cKERN_INFOpost"i">hdev"aja &&  
 mastdevium"a802s>da  
 ion="af">port_num"aja <  
  code=RI1207u	  next_destid"120.8>120tsu	  pref">hopcount"aja_ >
rysu	  ms port %d\n>quomaja, 0);ja(l
  code=hdi
 ion="ajaudiv i=uf">port_num"aja <  
  code=RI1208u	  
 ion="ajax+*"120{ >120ev"aja; y
 ion=
	  comm >
 vx+*" method="porc    x+*-829su	  
i9EINVALmethod="post"#LEINVAL37;sode=hdev6.32.8hdev"aja->
	 l120d6.32.8
  code=port_oksu	  pref">po121 u	  121xevic
  code=port_oksu	  pref">po1211u	  RIO12_PO>121mport_write/div>
  code=hdouort %d\n>quoouo37;s:
  code=port_oksu	  pref">po1212u	  121f">hod_sgbop_43su	  int  
  c vx+*" method="porc    ode=hdev6.32.8hdev"aja->
	 l
  code12rt">121/div>l
  code=port_oksu	  pref">po1214u	  
 ion=12rtl>1214prefaja; y
 ion="ajax+*" method="pos1215u	  portloja->
	 l
12f">>12193s>c9su	  
i9esudiv id>
*#L837sults"L837su	  
i9esudiv idL837s>c8312=6u	  12195"aj9su	  
i9esudiv idL*     build
     s- Generate /div>      s from        9esudi8* AW  x|for ( a>
i930
oprefaja; y
 ion="ajax+*" mefaja_opw_iv L*#L837sults"L837su	  
i9esudiv idL83a12rt"aja ==  
  civ>
  code=hdev6.32.8<1182u	  quoouo37;s1v idL837s>c831138u	  c836"aja         11dL8>113"post9su	  
2ev"aem_  i2
  c =ref">port_num"aja &2t;  <21v idL837s>c831139u	  
i9esuds"L767sg>12195"aaa>
i9esudiv amp;copya>qu1xistiv idL* @_ >
: Mastdevium"aassociated ja   c770-w2="post"#L720sults"uf">port_num"aja &2t;  <22v idL837s>c83114 u	  
 throug2
>112p	  <2a>
i9es 
  code=por2_oksu22v idL837s>c831071u	  10ts"L729su	  
i2hod=11v>
>21vs"L72 
  code=por2_oksu22v idL837s>c831072u	  120u	  
815sults"L815su	12    
     sdL839s>c839"aja    update
     s="ajaampuc  int  
  c    v idL839s>c839"aja    v io6.32*_ >
rysu	  v idL82t_des11d6.2112oprefaja; y
 ion2"ajax22iv>
  code=RI1073u	  RIO_ANY_DESTID2esudiv id>2*#L837sults"L837su	  2i9esu22iv>
  code=RI1074u	  10t5 if (lampuc  int  
  c    udiv idL779s>c779"aja     } else y<2*_ >
rysu	  3a            2 mastdeviu2"#L837sults"L837su	  2i9esu22807su	  
1075u	  c779"aja     nit_em="ajaampuc  int  
  c    d %4.4x) w} else y<2*_ >
rysu	  3a            2 sudiv id>
o#L837sults"L837su	  2i9esu22iv>
  code=RI1147u	  ms port x) w} else y<2*_ >
rysu	  3a            2 sudi8* AW  #L837sults"L837su	  2i9esu22/div>
 ion="a1077u	  c775"aja 10esu>10t784su	  
vid %4.4x dj8               i8  
  code=cur_spref">hod2esudiv idL2"#L837sults"L837su	  2i9esu22iv>
  code=RI1188u	  
2c779"ajaen2   ="aj=f">port_num"aja &2t;  <22   l
  10t9u	  
i9esudiv idL778s>10  <>10t9v"aja; y
rysu	  
rysu	  3a                if (l
  c,  refs
	  comm >
  /* Add device to the global and bus/nsp spe       list. */lookup"        l
 io         refs
	  n sp* Add 2ion=11rtl>21vd6.32ef">port_num"aja &2t;  <23v idL837s>c83118 u	  
div>
  c    d %4.4x) w  pref">h"L819s>c819"ajasw32.8prev"asw32.8    dL838s>c838"aja y<>w_to_    d %4.4x) with >w_to_    d &e_add_ >
rysu	  3a             279"ajapwen2   ="aj=f">port_num"aja &2t;  <23iv>
  code=RI1181u	  port_num"aja &2t;  <23iv>
  code=RI1202u	  
  code idtja, 0); method="post"t;loclearidiv>sdL839s>c839"aja "aja; y
 ion=
	  comm >
  /* Add devicee global and bus/84s>c784"a8sults"L838su	  
i9esudiv idL838s>c838"aja y< a->
	 l
  cop;  
 mastdevium"a802s>da  213283sul
  code=por2_oksu23iv>
  code=RI1093u	  c784"a8sults"L838su	  
i9esudiv idL838shopcoun/a>comm >
  /* Adopcoun/a    pw00"aja_ >
rysu	  ms port %d\n>quomaj2on="a11BLE2113/div>
  code=hswitch6.22.8
  code=RI1204u	  
 iohod="post"t;locliu	  ms port x) w>11 tsu	  pre    int  
  c vx+*" m2esudiv id>2*#L837sults"L837su	  2i9esu23iv>
  code=RI1195u	  ms port x) w>ja, 0iv>
 _co="aja_ >
ryMAXults"L_ENTRIES%d\n>quomaja, 0MAXults"L_ENTRIES method="post"t;loclearidiv>sdL839s>c839"aja "aja; y
 ion=
	  comm >
  /* Add device(l
  c,  refs
	ys_siz;      
  	ys_siz;to_    d &e_add_ >
rysu	  3a             27sudiv id>
"#L837sults"L837su	  2i9esu23iv>
  code=RI11a6u	  ms port x) w++p"        l
 io         refs
	  n sp* Add 2isudi8* AW s#L837sults"L837su	  2i9esu23iv>
  code=RI1197u	  swpinfo"aja);ts"L81getef">portloja->
	 lportlogetef">podL838s>c838"aja y<>w_                 if
 _co="aja_ >
ryf">host_________________________________38s>c838       l
 io         refs
	  n sp* Add 2isudiv idL2s#L837sults"L837su	  2i9esu23iv>
  code=RI1098u	  
 ion="aj	  ms port x) w      e_add_ >
rysu	  opref">host______________________aja, 0);       l
 io         refs
	  n sp* Add 2i779"ajaen2*#L837sults"L837su	  2i9esu23iv>
  code=RI1099u	  
  code=RIev"aj10ev6>10aethod="post"#L832sults"L832su	  2i9esu24iv>
  code=RI110 u	  c838"aja y<>w_to_    d %4.4x) with >w_to_ ">hodtloja-" method="post"3a                if (l
  c               foriu	  ms port x) wv>
     
  ccode=hod_is_swit8sults"L838su	  
i9esudiv i]dL838s>c838"aja y<>pref">hod2ve in id6.22#L837sults"L837su	  2i9esu24v idL837s>c831201u	  ->
	 l
   s 802s>0222#L837sults"L837su	  2i9esu24 pref">po1122u	  ne2ation sail2.#L837sults"L837su	  2i9esu24iv>
  code=RI1203u	  
  codeunsultja, 0); method="post"t;loclearidiv>sdL839s>c839"aja "aja; y
 ion=
	  comm >
  /* Add devicee global and bus/84s>c784"a8sults"L838su	  
i9esudiv idL838s>c838"aja y< a->
	 l
  copoglobal and bus/84s>c784"a8sults"L838su	  
i9esudiv idL838shopcoun/a>comm >
  /* Adopcoun/a      d &e_add_ >
rysu	  3a             2esudiv idL2"#L837sults"L837su	  2i9esu24iv>
  code=RI->
	 l
   sudiv id>2ags#Laj=f">port_num"aja &2t;  <2div>
 ->
	 l
   sudiv id>
1 /div>ef">port_num"aja &2t;  <24iv>
 ion="aja10a6u	  
i9esu2
  c2ULL37;sode=hdev6.32.8h24>
 ion="ajax+*" mefaja_opw_">portloja->
	 l
12f">>12193s>c9su	  
i9thod="porc2   x+*" method="post"#L802sults24v idL837s>c831138u	  sys_size"11i9esudiv i9su	  
i9esudiv idL* iv ir.32ompinf- Sta>
	r.32eration through 2     11   2114                      2     24v idL837s>c831139u	  11395"aj9su	  
i9esudiv idL* @m_ >
: Mastdevium"ato send2v>
 ion="a2audiv ihf">port_num"aja &2t;  <25v idL837s>c83111 u	  113
i9esudiv idL* @flags: E.32erationv2>c839"aja 2m ="aj=uf">port_num"aja &2t;  <25v idL837s>c831111u	  RIO11_PO>111s"L729su	  
2>
  c110"a211#prev_portloja] =  
  c25v idL837s>c831142u	  hdi9esudiv i2.>113/opre9i9esudiv idL* masrite  RTS6.32.8RIO11_PO>111s"L729su	  
2>tion sail2
#L837sults"L837su	  2i9esu2iv idL837s>c831153u	  1waitRTS6.32.8RIO11_PO>111s"L729su	  
2>sudiv idL2d#L837sults"L837su	  2i9esu2iv idL837s>c831154u	  2i9esu2iv idL837s>c8311#5u	     itialization /div
"#L837sults"L837su	  2i9esu2iv idL837s>c8311#6u	  
i9esudiv idL* suldi9esudiv ir_destid11114jax+*d   itialization /div
  c2.#L837sults"L837su	  2i9esu2iv idL837s>c8311#7u	  2i9esu25v idL837s>c831138u	  10ts"L729su	  
i2d="post"#L2r" #Laj=f">port_num"aja &2t;  <2div>
 837s>c8311 4u	  sysL779s>c779"aja     n9esf">sys    
     sdL839s>c83t %d\n>quot;lor.32ompinf="ajaampuc  int  
  c    ms port %d\n>quot;lompinfo6.32*_ >
rysu	  ms port %d\n>quomaja, 0); y
 ion="ajucode=mdelay6.32.8u="post"int  
  cflagsde=md2="post"#LE2USY37;sode=hdev6.32.8h2ev"aja        l
 io         refs
	  n sp* Add 2ID"aj11opr2116xevic
  code=por2_oksu2  pref">po11 6u	  11         
  c    v idL839s>c839"aja    v io6.32*_ >
rysu	  v idL839s>c839"aja       x+*" method="post"NULL    2  , bail.L2"#L837sults"L837su	  2i9esu2iv idL837s>c83unsigned long"aja    v io6.32t  
	 lc839"aja       x+*" method="post"NULL    2 tion sail2lt; 0=ref">port_num"aja &2t;  <26 pref">po11f3u	  
 2v>
  cKERN2INFOpostf">port_num"aja &2t;  <2div>
  code=RI
i9esudiv id12095>120        
  code idL784s>c784"apr   >    l
  cpr   >="aj/div>
  code=hdeKERN_INFO  i9esudiv
  cKERN_INFOpost"i">hdev"aja &&  
 r.32erate mastdevium"a802s>d,"L802su y
 ion="ai_ >
rysu	  ms port %d\n>quomaja, 0);ja(l
  code=hdiport_num"aja &2t;  <2div>
  code=RI1165u	 div>
 r.32erate mastdevium"a802s>d,"L802su y
 ion="ai_ >
rysu	  ms port %d\n>quomaja, 0);ja(l
  code=hd	  
 ion="aj2udiv i=uf">port_num"aja &2t;  <26iv>
 ion="aja10a6u	  
i9esu2="post"#LE2USY37;sode=hdev6.32.8h2ev"aja->
	 l
 ion11t;l>1170port_write  t"#L767sults"L767si9esudiv
/aIf mastdevium"ahas in id6.32   qu2ouo37;sode=hdev6.32.8h26v idL837s>c8311#8u	  1171">hod_sgbop_32.8portlot;lompinfdestid6.32debug"aja( y
mpinfdestid6.32="ajadiv>
  code=hdems port %2=>116ev"aj2; y
  code=por2_oksu26iv>
  code=RI1099u	  swpinfo"aja); y1171">hod_sgbo y
mpinfdeid6.32="ajadiv>
  code=hdems port %2"a>qu11lre2116PE locked by 
  code=RI110 u	  
 ion="ajax+* y1171">hod_ yc839"aja       x+*" method="post"NULL    2.32     sL2"#L837sults"L837su	  2i9esu27v idL837s>c831201u	  05u	 swpinfo"a; y
 ion="ajucode=mdela     e_iv>
 _co="aja_ >
rySCAN_ENUM_NO_WAIT___________________SCAN_ENUM_NO_WAITdelay6.32.8u="post"int  
  cflagsde=md2\n>quomaja2 0);)=ref">port_num"aja &2t;  <2div>
  code=RI1172u	          c839"aja       x+*" method="post"NULL    2.tion sail2 y1       l
  code=2IO_AN27 pref">po11f3u	  
 2>c839"aja 2     =ref">port_num"aja &2t;  <2div>
  code=RI1174u	  _debu">hopcount"aja +a>_debu"portlo="aj/div>
  code=hdeKERN_INFO  waity   iults"amp;& hdev"aja &&  
 sail  cto aldivate n w 2#L y2 ion="    l
  code=2IO_AN2_DESTI;&  
 sail  cto aldivate n w 2#
 ion="aj2MEM37;sode=hdev6.32.8h2ev"aja->
	 l
	 lc39"aja    v io6.32jiffi>comm >
  /* Add jiffi>c9s>c3+"aja    v io6.32CONFIG_RAPID___DISC_TIMEOUT_______________CONFIG_RAPID___DISC_TIMEOUT   c839"aja       x+*" method="post"NULL    2."post"#LE2ouo37;sode=hdev6.32.8h2ev"aja->
	 lswpinfo"atime_be   11hod>1171">hod_time_be   1portlot;lompinfdestijiffi>comm >
  /* Add jiffi>c9s>c
 r.32eratet  
	 lcdestid6.32="ajadiv>
  code=hdems port %2	  pre2">hopcol
  code=por2_oksu27iv>
  code=RI1098u	  swpinfo"aja); y1171">hod_sgbo y
mpinfdeid6.32="ajadiv>
  code=hdems port %2">116ev"aj211t                      2     2    l
  11t9u	                  y
 ion="ajax+* y1171">hod_ yc839"aja       x+*" method="post"NULL    2n n w "#LL2"#L837sults"L837su	  2i9esu2iv idL837s>c83118 u	  1176u	  aja    v io6.32msleepdebug"aja( y
rysu	  ms port %d\n>quomaj2hodL_     2iport_num"aja &2t;  <28v idL837s>c831201u	  ->
	 l
  32.8<11
  2118prev_portloja] =  
  c28 pref">po1122u	  ne2r   e2i9esu2iv idL837s>c831183u	  _debu">hopcount"aja +a>_debu"portlo="aj/div>
  code=hdeKERN_INFO  i9esudiv i9imeout { ymv>
  cKERN_Ihdev"aja &&  po1122u	  ne2rc839"aja 2      =uf">port_num"aja &2t;  <28iv>
  code=RI11a4u	  div>
 r.32erate mastdevium"a802s>d,"L802su y
 ion="ai_ >
rysu	  ms port %d div>
 r.32erate mastdevium"a802s>d,"L802su y
 ion="ai_ >
rysu	  ms port %d\n>quomaja, 0);ja(l
  code=hd	  
 ion2"ajax2*" method="pos1185u	  y
 ion="ajax+*7sul  ms port &7sul9s>c839"aja       x+*" method="post"NULL    2n
 ion="aj2"#L837sults"L837su	  2i9esu2iv idLv>
 ion="ajax+* y1171">hod_ yc2_PO>121mport_write/div>
  code=hdouort &PONENT_TAG2ys_iv ihf">port_num"aja &2t;  <2div>
  code=RI11
7u	  _debu">hopcount"aja +a>_debu"portlo="aj/div>
  code=hdeKERN_INFO  ...iults"amp;&amdon1"i">hdev"aja &&  
 sail  cto aldivate n w 2 x _L76pta2su	 ++=uf">port_num"aja &2t;  <2div>
  code=RI1188u	  
29esud11lts2118                      2     2    l
  1189u	  u16"ajp_devicesu	 11ode>117f">hod_sgbop_devicelo_ >
rysu	  v idL839s>c839"aja       x+*" method="post"r;loaldiv v idL839s>c839"aja    anf="aja_ >
rysu	  ms port %d\n>quomaj2s>c839"aja2      =uf">port_num"aja &2t;  <29v idL837s>c83118 u	  RIO_ANY_DESTID"aja(11ref>117ethod="post"#L832sult32.8!_ >
rysu	  v idL8392#L78911ax+211axevic
  code=por2_oksu2  pref">po1191u	  11
7u	  2sul11*" >117u	  
i9esudiv idLLLLLL "L idL784s>c784"apr   >    l
  cpr   >="aj/div>
  code=hdeKERN_ER_sFze"aja), yhdev"aja &&  
 sail  cto aldivate n w 2L37;s   = 2lt; 0=ref">port_num"aja &2t;  <2div>
  code=RI1192u	  
 ion="ajax+*7sul  ms port &7sul9s>c839"aja       x+*" method="post"NULL    2on, bail.L2"#L837sults"L837su	  2i9esu2iv idL837s>c831193u	  ->
	 l
  v>
  cKERN2INFOpostf">port_num"aja &2t;  <29 pref">po1214u	  
odL yport_num"aja &2t;  <2div>
  code=RI1195u	  117 u	  ho
 ion="aj2udiv i=uf">port_num"aja &2t;  <2div>
  code=RI11a6u	  d_sgbop_devicelo_ > idL78read1jax>11
        
  code idL78read1jax>11
  x+*" method="post"r;loaldiv v idL839s>c839"aja    aiv>
 _co="aja_ >
ryDIDort %d\n>quomaja, 0DIDort #37;d\n>quomaja, 0);ja(l
  code=hdic839"aja2      =uf">port_num"aja &2t;  <2div>
  code=RI1197u	  
rysu	  j/div>
  code=hdev idL839s>c839"aja       ai_ >
rysu	  ms port %d\n>quomaja, 0);ja(l
  code=hdhodL_      i
 ion="aj2="post"#LE2USY37;sode=hdev6.32.8h2ev"aja->
	 l
rysu	  j/div>
  code=hdev idL839s>c839"aja       ai_ >
rysu	  ms port %d\n>quomaja, 0);ja(lhod_sgbop_devicel_____ET0DID%d\n>quomaja, 0_ET0DIDx+*" method="post"r;loaldiv v idL839s>c839"aja   (l
  c,  refs
	ys_siz;      
  	ys_siz;to_ d\n>quomaja, 0);ja(l
  code=hdih2ev"aja->
	 l
rysu	  j/div>
  code=hdev idL839s>c839"aja       ai_ >
rysu	  ms port %d\n>quomaja, 0);ja(l
  code=hdhodL_      i
 ion="aj332.8host_l
  code=por3_oksu30 pref">po121 u	  3i9esu3iv idL837s>c831201u	  swpinfo"aja);n9esfi11ref>11amport_write  n9esfi11r method="post"t;loclearidiv>sdL839s>c839"aja  t;lor.32o    ="aj/div>
  code=hdev idL839s>c839d_sgbop_devicel____ANY_DESTID%d\n>quomaja, 0ANY_DESTIDx+*" method="post"r;loaldiv v idL839s>c839"aja   (l
  c,  refs
	ys_siz;      
  	ys_siz;to_ )d\n>quomaja, 0);ja(l
  code=hdi
v xt_8su3ts    =uf">port_num"aja &3t;  <3div>
  code=RI1202u	                          "aja       ai_ >
rysu	  ms port %d\n>quomaja, 0);     " method="post"NULL    l
  cNU3s>c839"aja3      =uf">port_num"aja &3t;  <3div>
  code=RI1203u	          _add_ >
rysu	  dev"aj11ev6>11aethod="post"#L832sults"L832su idL784s>c784"apr   >    l
  cpr   >="aj/div>
  code=hdeKERN_INFO    lc839"aja3      =uf">port_num"aja &3t;  <3div>
  code=RI1204u	  203u	          _=houte_tables11div>119u	  
i9esudiv idLLLLLL "La(lpo1122u	  ne3n>quomaja,30); y1=uf">port_num"aja &3t;  <30iv>
  code=RI1195u	  
rysu	  destid"120.8>120tsu	  pref">hopcount"aja_ >
rysu	  ms port %d\n>quomaja, 0);ja(l
  code=hdiport_num"aja &3t;  <3div>
  code=RI1206u	          y
 ion="ajax+*7sul  ms port &7sul9s>c839"aja       x+*" method="post"NULL    3.32 yport_num"aja &3t;  <3div>
  code=RI1207u	  ->
	 l
 3>
 ion="aj3udiv i=uf">port_num"aja &3t;  <30iv>
  code=RI1188u	  
3"post"#LEI3VAL37;sode=hdev6.32.8h30   l
  1189u	  u16"d_sg815sults"L815su	12s120iv>120u	  
815sults"L815su	12    RIO_ANY_DESTID"aja(11ref>117ethod="p839"aja       x+*" method="post"NULL    3 >120d6.3238
  code=por3_oksu31v idL837s>c83->
	 l
 3809su12="p3;d\n>quoouo37;s:
  3_oksu32  ="aj=f">port_num"aja &2t;  <23iv>
  code=R3#37;d\n>qu3ouo37;s:
  code=por3_oksu3  pref">po1212u	  tsu	  pre    int  
  c vx+*" m3" method="3orc    ode=hdev6.32.8h3ev"ajav>
 ion="ajax+*7sul  ms port &7sul9s>c2_PO>121mport_write/div>
  code=hdouort 3code12rt">321/div>l
  code=por3_oksu314pref">po1212u	 ref">hopcount"aja  idL784s>c784"a vx+*" method="porc    x+*-829su	  
i9EBUSYmetho3 ion=12rtl31214prefaja; y
 ion3"ajax31iv>
 ->
	 l
 3esudiv id>3*#L837sults"L837su	  3i9esu31iv>
 ion="aja10a6u	  
i9esu3esudi8* AW3 x|for ( a>
i930
oprefaja3 y
 io837s>c81074u	  
  cNU3	  quo3uo37;31v"aja->
	 l1171">hod_ yhod_sgbop_devicelo_ >a =  
  code=cur11aja>11 u	  <    intpo1122u	  ne3ev"aem_  i3
  c =ref">port_num"aja &3t;  <319"aja->
	 l
  code=cur11ai9esudiv17f">hod_sgbop_devicelo_ >i9esf">sysL779s>c779"aja     n9esf">sys    po1122u	  ne3="post"#L730sults"uf">port_num"aja &3t;  <32v idL}d="porc    x+*-829su	  
i9EBUSYmetho3
>112p	  <3a>
i9es 
  code=por3_oksu32  ="aj=f">port_num"aja &2t;  <23iv>
  code=R3hod=11v>
>31vs"L72 
  code=por3_oksu32v idL837s>c8v>
 ion="ajax+*7ool  ms port &7ool cpr  
s120iv>120u	  <3a>
 cprd="porc    x+*-829su	  
i9EBUSYmetho3
 method="3112oprefaja; y
 ion3"ajax32v"ajav>
 ion="ajax+*module_paramd"120.8>120tsu	 odule_param    RIO_ANY_DE3a>
s120iv>120u	  <3a>
 cpraja       ai_ >
r7ool  ms port &7ool cprf="aja_ >
rysu	  ms port %d\n>quomaj3esudiv id>3*#L837sults"L837su	  3i9esu32iv>
 a       ai_ >
rMODULE_PARM_DESC  ms port &MODULE_PARM_DESC    RIO_ANY_DE3a>
s120iv>120u	  <3a>
 cpraja=houte_tables11div>119u	  ize"11Rportsults"L837s"9su	  
i9esudiv i &&  a_ >
rysu	  ms port %d\n>quomaj3eion=12rtl3"#L837sults"L837su	  3i9esu32iv>
  code=RI1195u	  119u	  (default>11 )">hdev"aja &&  
 sail  cto aldivate n w 3 sudiv id>3o#L837sults"L837su	  3i9esu32iv>
 ion="aja10a6u	  
i9esu3 sudi8* AW3 #L837sults"L837su	  3i9esu32>
 ion="ajax+*" mefaja_opw_">portloja->
	 l
12f">>12193s>c9su	  
i3esudiv idL3"#L837sults"L837su	  3i9esu32v idL837s>c831138u	  
	 l
12f">>12193s>c9su	  
i3ev"aem_  i3   ="aj=f">port_num"aja &3t;  <32v idL837s>c831139u	  
	 l
12f">>12193s>c9su	  
i3ion=11rtl>31vd6.32ef">port_num"aja &3t;  <33v idL837s>c83111 u	  
i9esudiv its"L11LLLLloa3s>cl>11  odulej53sulfun9su	 ortloja->
	 l
12f">>12193s>c9su	  
i3i>112p	  <3   ="aj=f">port_num"aja &3t;  <33v idL837s>c831111u	  c8ults"amp;&am767si9esudiv
ts"LortLLLLLLLll avsulv>
  ctloja->
	 l
12f">>12193s>c9su	  
i3iod=11v>
>3  ="aj=uf">port_num"aja &3t;  <33v idL837s>c831142u	  117d6.(l1>11bilbop_of ctloja->
	 l
12f">>12193s>c9su	  
i3i method="313283sul
  code=por3_oksu33v idL837s>c831153u	  
i9esudiv iautom7s>cLlly*   itialization /div3i9esu33v idL837s>c8311#5u	  3"#L837sults"L837su	  3i9esu33v idL837s>c8311#6u	  3i9esu33v idL837s>c8311#7u	  
i9esudiv its"L11Ly  not be unsua3s>cl>113here   1 dotLLnot   itialization /div3i9esu33v idL837s>c831138u	  
itcha>qu"#L8nup_ odulejts"Lort*   itialization /div3i9esu33v idL837s>c831139u	  3i9esu34 pref">po121 u	  3i9esu34v idL837s>c8837s>c8311 4u	  c779"aja __inis cpr  
  code=hdems port %3 s 802s>0232#L837sults"L837su	  3i9esu34     " method="post"NULL    l
  cNU3ation sail3.#L837sults"L837su	  3i9esu34iv>
  code=RIswpinfo"aja);t2giesudo3a>
s120iv>120u	  
t2giesudo3a>
    RIO_ANY_DEa, 0MPORT0ANY%d\n>quomaja, 0MPORT0ANY cpraj    e_add_ >
rysu	  ="po3a>
_op2s120iv>120u	  
3a>
_op2(l
  code=hdems port %3esudiv idL3"#L837sults"L837su	  3i9esu34iv>
  code=RI1204u	  1212u	 ref">hopcount"ajaI84"apr   >    lport_num"aja &3t;  <345v>
  code=RIswpinfo"a3a>
s120iv>120u	  <3a>
 cpreid6.32="ajadiv>
  code=hdems port %3esudiv id>31 /div>ef">port_num"aja &3t;  <34iv>
  code=RI11a6u	  d_sgbop_devicelo_ >inisf">sys2s120iv>120u	  
inisf">sys2    
 sail  cto aldivate n w 3
  c3ULL37;sode=hdev6.32.8h34iv>
  code=RI1212u	  tsu	  pre    int  
  c vx+*" m3thod="porc3   x+*" method="post"#L803sults34v idL->
	 l
 3     11   3114                      3     34 pref">po11o9u	  strin3v>
 ion="a3audiv ihf">port_num"aja &3t;  <35v idL8_sgbop_devicell metiniscLlls120iv>120u	  RIO_ANY_DE="pobasic_attachs120iv>120u	  
8asic_attach    mp;&  
 sail  cto aldivate n w 3>c839"aja 3m ="aj=uf">port_num"aja &3t;  <35  ="aj=f">port_num"aja &2t;  <23iv>
  code=R3>
  c110"a311#prev_portloja] =  
  c35v idL8       ai_ >
rMODULE_DESCRIPTION_______________MODULE_DESCRIPTIONportlo="aj/div>
  code=hdeKERN_IBasic0Rportsul"9su	  
i9esudiv ">hdev"aja &&  
 sail  cto aldivate n w 3>tion sail3
#L837sults"L837su	  3i9esu35v"ajav>
 ion="ajax+*MODULE_LICENSE_______________MODULE_LICENSEportlo="aj/div>
  code=hdeKERN_IGPL">hdev"aja &&  
 sail  cto aldivate n w 3>sudiv idL3d#L837sults"L837su	  3i9esu3iv idL8/preL8/div>


8/div>


TheioriginaliLXR softwar amp;0su &  LXR 	  
 s;&ammp;&  

lxd."L8ux.no kindlp_devied byi&  11op	  s ser(l