Don Stanley has just reported to me that if he runs my pcisetup program
first, then the EPP mode of his Atom motherboard appears to work!
Looking at the code in hal_ppmc.c, it checks first to make sure the
high register area of the parallel port exists before writing to the
configuration register.

        port_addr[busnum] = port_registration[busnum].base;
          if(port_registration[busnum].base_hi)
            rtapi_outb(0x80, port_registration[busnum].base_hi + 2);

But, the pcisetup program just blindly writes to the register, without
checking.

So, it appears that the port is, in fact, EPP capable, and the high 
registers
do exist and function, despite the port info in the kernel saying they DON'T
exist.

The code in hal_ppmc.c doesn't perform the EPP setup because it has been
told the registers don't exist.

Any ideas what we should do about this?  Any idea whether this is a BIOS
error or a Linux port enumeration error?

Jon

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to