Support for PowerBook 1xx (mac68k) batteries via envsys(4).

Nathanial Sloss <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Organization The NetBSD Foundation Inc.
Message-ID <[email protected]>
Hi,

Please see referenced patch for review:

http://ftp.netbsd.org/pub/NetBSD/misc/nat/pbbat.diff

It adds support for PowerBook 1xx batteries based on acpibat(4).

The only thing I don't like is the attachment via aed(4) and the way it was 
handled (blindly attach at aed) so I'm hoping there will be alternative
suggestions.  It doesn't have a bus address as such so my initial
pbatt* at adb? was not successful and competed with the aed(4) attachment.

I'd really like to wrap up the attachment in aed in #ifdef conditionals but 
was unable to find/use NPBBAT > 0.

I've opened up a PR to track the progress: PR port-mac68k/59228.

Best regards,

Nat
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.