puc(4) PCI parallel port support/IO problem
vladvic at sibmail.com
vladvic at sibmail.com
Wed Jun 20 06:10:10 UTC 2007
Hello, freebsd-hackers
I'm trying to add parallel port card support to the puc(4) driver.
The chip is an OX12PCI840, which is a PCI chip (in my case it is attached
via cardbus bridge).
I have two questions related to it:
1) Will I need additional code in the puc driver itself (revised the code
I assumed that it is not needed, as parallel port cards are normally
identified - the exception may be the EPP extended register which is in my
case not 0x400h above the standard register, but just located in another
BAR).
2) I currently experiment with the ppc driver, and I found the problem
located in the ppc_detect_port function - writing into the standard
parallel IO port (which in my case is located at BAR0 (bar 0x10)) 0xaa and
reading it then doesnt give the 0xaa again :(
Have anyone ever tried to deal with puc parallel devices or experienced
similar problems (probably it related to cardbus bridge?)?
Thanks in advance,
Vladimir
More information about the freebsd-hackers
mailing list