Re: [PATCH] x86: EuroBraille/Iris power off

From: Shérab
Date: Mon Sep 20 2010 - 04:23:25 EST


Dear all,

Valdis.Kletnieks@xxxxxx (2010/09/13 21:45 -0400):
> On Mon, 13 Sep 2010 17:22:49 +0200, Samuel Thibault said:
>
> > Again, I'm not sure we really should try hard to make it automatically
> > detected (and thus always enabled). Having to pass a kernel parameter
> > to enable the functionality is completely fine, since installing Linux
> > on this device requires quite some tinkering already.
>
> I'm agreeing that if iris_init() checks that the user passed 'irisinit.force=1'
> on the command line or as a module parameter, and bailed immediately if it
> wasn't passed, then doing the inb() and testing it should be safe
> enough. [...]

Please find below a revised version of the module that does what has
been asked.

Cheers,
Shérab.