According to the comedi documentation at the beginning of the file,
configuration option 2 sets the number of DIO channels on the boards
that support 144 or 96 channels.
Fix the (*attach) to use the correct configuration option.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
        /* Handle PCL-724 in 96 DIO configuration */
        if (board->can_have96 &&
-           (it->options[1] == 1 || it->options[1] == 96)) {
+           (it->options[2] == 1 || it->options[2] == 96)) {
                iorange = 0x10;
                n_subdevices = 4;
        }