http://bugzilla.kernel.org/show_bug.cgi?id=9514





------- Comment #23 from [EMAIL PROTECTED]  2008-01-12 00:38 -------
(In reply to comment #15)
> Created an attachment (id=14267)
 --> (http://bugzilla.kernel.org/attachment.cgi?id=14267&action=view) [details]
> it87 request only environment controller ports

I don't like this patch much. While it is fine to only request_region() the
ports the driver really uses (i.e. 0x295-0x296), the platform device resource
is supposed to match the ports that the chip actually decode, to let the user
know that they should not attempt to use these ports. Despite what is written
on the various IT87xxF datasheets, these chips do decode the full 0x290-0x297
I/O range (for older ones) or at least 0x294-0x297 (for recent incarnations),
and not just 0x295-0x296.

Your proposed patch will make it look like the surrounding ports are free,
while they are not. I don't think this is right, but OTOH I have to admit that
it is unlikely that users will attempt to make use of the I/O ports in
question, so in practice the badness should be limited. At least it works
around the problem at hand, and while not the way it should have been, it has
the merit of being relatively simple and not too intrusive.

In my opinion the best fix would be quirks that fix or discard the broken I/O
port range declarations made by the BIOS of the affected motherboards. However
I don't have the time (nor the knowledge) to do this myself, so if nobody is
going to do it, I guess that we have to take your patch for the time being. But
it should be updated to clearly document that the driver now declares less
ports that the chip actually decodes.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to