From: Paul M. <le...@li...> - 2004-06-07 23:19:29
|
On Mon, Jun 07, 2004 at 11:59:58PM +0100, Adrian McMenamin wrote: > Looking through the code for the driver I see this: >=20 > /* Initialize hardware */ > ctrl_outl(MAPLE_MAGIC, MAPLE_RESET); > ctrl_outl(0, MAPLE_RESET2); > ctrl_outl(MAPLE_2MBPS|MAPLE_TIMEOUT(50000), MAPLE_SPEED); > ctrl_outl(PHYSADDR(maple_sendbuf), MAPLE_DMAADDR); > ctrl_outl(1, MAPLE_ENABLE); >=20 > Is this documented anywhere? I cannot find anything on Marcus's site or o= n=20 > google. >=20 No, it's not documented, that's precisely why it's a "magic" value. MAPLE_MAGIC is simply the "magic" value that needs to be written to MAPLE_R= ESET in order to reset the bus. I'm not aware of anyone having reverse engineered the maple stuff any further then what documentation is readily available, s= o it will remain a magic value until someone figures out the register descriptio= n. |