[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Netra T1 etc. LOM interface



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.

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]


Reply to: