[PATCH][RFC] Implement INSN_CONFIG_DIO_QUERY for PFI pins [WAS: Re: NI PCI-6025E: Mysterious subdevice #7]

Hi,

if the PFI pins on the NI 6025 board can be used for generic DIO it
makes sense to implement INSN_CONFIG_DIO_QUERY for those, too.
So I've tried and done the obvious. See attached patch.

Unfortunately, I don't have a very deep understanding of the driver and
ATM even haven't got a piece of hardware to test at hand. Moreover, a
quick glance at the E Series RLP Manual didn't show any examples where
the PFI pins are used for generic DIO.

So could anyone with a better understanding have a quick look and tell
me if these lines are correct or complete bullshit?

Thanks,
Jan


On Thu, 2005-09-15 at 16:02 -0500, Caleb Tennis wrote:
> On Thursday 15 September 2005 03:16 pm, Jan Gukelberger wrote:
> > Can anybody tell me what this subdev is intended for?
>
> It corresponds to the PFI pins on the 6025 board:
> 
> PFI0/TRIG1
> PFI1/TRIG2
> ...
> PFI9/GPCTR0_GATE
> 
> I believe you can use them for either generic digital IO or as the trigger, 
> gate, and source pins for the counter/timers.
> 
> Caleb

Received on 2005-09-29Z16:03:13