puc(4) PCI parallel port support/IO problem



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

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Printer driver problem
    ... The problem now is that every time I boot, XP picks up the printer afresh and installs another driver. ... If you get six or more disabled drivers, give up and buy a proper parallel port card or update to a new printer. ...
    (alt.os.windows-xp)
  • Re: Windows: How to support 2 chip in a single driver?
    ... If I have to support 2 different PCI chip in a ... > driver, I have to add the ID information in INF file, am I right? ...
    (microsoft.public.development.device.drivers)
  • Re: Windows: How to support 2 chip in a single driver?
    ... If I have to support 2 different PCI chip in a ... driver, I have to add the ID information in INF file, am I right? ...
    (microsoft.public.development.device.drivers)