RE: [PATCH] staging: comedi: das1800: fix analog input number of channels

2016-04-08 Thread Hartley Sweeten
On Friday, April 08, 2016 3:16 AM, Ian Abbott wrote: > On 07/04/16 18:45, Hartley Sweeten wrote: > The channel mapping is a bit warped as far as comedi is concerned. > > Each EXP-1800 is jumper configured for what board input channel will > be used to return the 16 channels on the EXP-1800. The

Re: [PATCH] staging: comedi: das1800: fix analog input number of channels

2016-04-08 Thread Ian Abbott
On 07/04/16 18:45, Hartley Sweeten wrote: On Thursday, April 07, 2016 9:48 AM, Hartley Sweeten wrote: On Thursday, April 07, 2016 3:16 AM, Ian Abbott wrote: On 06/04/16 19:06, H Hartley Sweeten wrote: The "hc" type boards have 64 analog input channels with a 64 entry queue. All the others have

RE: [PATCH] staging: comedi: das1800: fix analog input number of channels

2016-04-07 Thread Hartley Sweeten
On Thursday, April 07, 2016 9:48 AM, Hartley Sweeten wrote: > On Thursday, April 07, 2016 3:16 AM, Ian Abbott wrote: >> On 06/04/16 19:06, H Hartley Sweeten wrote: >>> The "hc" type boards have 64 analog input channels with a 64 entry queue. >>> All the others have 16 channels and a 256 entry queue

RE: [PATCH] staging: comedi: das1800: fix analog input number of channels

2016-04-07 Thread Hartley Sweeten
On Thursday, April 07, 2016 3:16 AM, Ian Abbott wrote: > On 06/04/16 19:06, H Hartley Sweeten wrote: >> The "hc" type boards have 64 analog input channels with a 64 entry queue. >> All the others have 16 channels and a 256 entry queue. >> >> Currently the boardinfo 'qram_len' is used to initialize

Re: [PATCH] staging: comedi: das1800: fix analog input number of channels

2016-04-07 Thread Ian Abbott
On 07/04/16 11:15, Ian Abbott wrote: On 06/04/16 19:06, H Hartley Sweeten wrote: The "hc" type boards have 64 analog input channels with a 64 entry queue. All the others have 16 channels and a 256 entry queue. Currently the boardinfo 'qram_len' is used to initialize the subdevice 'n_chan' and '

Re: [PATCH] staging: comedi: das1800: fix analog input number of channels

2016-04-07 Thread Ian Abbott
On 06/04/16 19:06, H Hartley Sweeten wrote: The "hc" type boards have 64 analog input channels with a 64 entry queue. All the others have 16 channels and a 256 entry queue. Currently the boardinfo 'qram_len' is used to initialize the subdevice 'n_chan' and 'len_chanlist'. This works for the 64 c