Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2007 12:49:21 +0700 (NOVST)
From:      vladvic@sibmail.com
To:        freebsd-hackers@freebsd.org
Subject:   puc(4) PCI parallel port support/IO problem
Message-ID:  <59296.213.183.126.98.1182318561.squirrel@sibmail.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59296.213.183.126.98.1182318561.squirrel>