Jon Elson wrote:
> Chris Radek wrote:
>> On Wed, Aug 20, 2008 at 11:35:27AM -0500, Jon Elson wrote:
>>
>>> OHHHhhhh. HIGHLY dangerous.  It writes 0x80 to the I/O port 
>>> 0x402 above that address you specify.  If you don't specify 
>>> anything, it probably defaults to zero, so it writes to I/O port 
>>
>> This write should be added to the driver.  If it needs to be optional,
>> it should be a load-time parameter for the driver so the user can
>> change it in the hal file.
>>

Note the second part of Chris's statement:  "it should be a load time
parameter for the driver".

I agree that writing to any address by DEFAULT can be dangerous and is
stupid.  But having a load time parameter such as:

loadrt ppmc dangerous_pci_setup_hack=1

is a perfectly valid way to solve the problem, and makes far more sense
than distributing and maintaining a complete separate program to do the
same dangerous thing.

Regards,

John Kasunich

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to