Subject: Re: /dev/rtc is gone
To: None <leo@dachau.marco.de, port-pc532@NetBSD.ORG>
From: Phil Budne <budd@cs.bu.edu>
List: port-pc532
Date: 03/22/1997 20:26:09
I've only used it once, and I think that was before I wrote code for
resettodr() so using the "date" command efects the hardware...

I once did a /dev/leds device in the mem driver (you just wrote a
binary byte), but I decided I wanted to be able to fiddle individual
bytes from user mode, and should probably have it take a command byte
for example;

	'=' to just set the leds
	'|' to OR bits in (turn leds on)
	'&' to AND NOT bits in (turn leds off)

phil b