On Fri, 2011-08-26 at 15:26 -0700, Peter C. Wallace wrote:
My analysis...
... snip
> patched config utility to set port in EPP mode
> 
> patch does this
> 
> temp <= inb(base+0x402)
copies data in the ECR to temp

> temp <= temp and 0x1F
clears the top three bits to 000, leaves the rest alone,
but 000 = SPP

> temp <= temp or 0x80
sets bit 7 to 1, so top three are now 100 = EPP

> outb(base+0x402,temp)
write the new byte to the ECR

showport.c should do the same thing, what base was used?

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to