Mounting ATA device w/ devb-eide

I’m trying to attach devb-eide to a ATA device. Technically I’m attaching
the driver to a CF card that is not controlled by an IDE or PCMCIA
controller. The card is actually mapped through the general purpose I/O
pins on my PCI controller and is addressable via port I/O at any address I
choose. I can send commands and read/write data to the card via port I/O
but devb-eide seems to have a problem. Should this be possible with
devb-eide? If not is there some information on writing your own block
device driver?

Any help would be appreciated…