On Sun, Sep 09, 2012 at 08:51:24AM +0000, Mark Morgan Lloyd wrote: > Mark Morgan Lloyd wrote: > >Has anybody had any success getting/setting LOM values from Linux, > >or is this Solaris-only? > > > >Does anybody know what the OBP's lom! and lom@ do? > > The Lomlite2 device exposes 128 byte-sized registers, these can be > read using lom@ (accepts a register number on the stack, leaves a > register value on the stack) and presumably written using lom!. > > I notice that BSD has a driver for this (lom.c) which conveniently > documents the meaning of each register. Assuming that Linux does not > have anything comparable (and that nobody's working on it) > presumably it would be possible for a kernel module to access the > chip via OBP in the same way that rtc-starfire.c accesses the > hardware clock.
You would probably get more enthusiastic response if you would post this to sparclinux mailing list (sparclinux at vger.kernel.org). Best regards, -- Jurij Smakov [email protected] Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

