ISA Device Driver Programming

ISA Device Driver Programming

Post by kristopher wehne » Fri, 03 Sep 1999 04:00:00



Hi,

I'm writing a simple device driver for x86 to work with a D/A board, and am
having some problems I was hoping someone could offer insight with.

The board is I/O port based, and has its registers from 0x320-0x32f. I am
able (on the same machine) to boot NT and use the board, so I know I am ok
on hardware conflicts/etc. I am using the regs= attribute (and the
ddi_put/get interface) to communicate with the board. The problem I am
having is with regs=1,0x320,0xf (or any other combination I've tried, for
that matter), every write appears to be going to nowhere and all reads
return 0xffff. I have sanity checked things by printing out the I/O ports
after I add offsets to them (to get at specific registers), and everything
/looks/ fine. Any help or suggestions would be very much appreciated. BTW:
I am compiling with gcc 2.95.1 on 7/x86.

thanks in advance
kris wehner