summaryrefslogtreecommitdiff
path: root/drivers/ide/ide-disk.h
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2013-08-23 13:45:07 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-26 13:41:56 (GMT)
commit16d2d3cbb353406956267283425d8fcae873c948 (patch)
tree4606d4b3ac4844a84dd6f24b60409f9dc5a8d68c /drivers/ide/ide-disk.h
parent7b8cbe92be6dc2665e3247f4b136199055972b5a (diff)
downloadlinux-fsl-qoriq-16d2d3cbb353406956267283425d8fcae873c948.tar.xz
staging: comedi: comedi_bond: get INSN_CONFIG_DIO_QUERY info from horse's mouth
The DIO subdevice of the "comedi_bond" device attempts to remember the directions of DIO channels itself in the `io_bits` member of the subdevice, but that is only large enough for the first 32 channels and it might not be accurate anyway as changing the direction of one channel may have affected a whole group of channels and we have no idea of the initial directions before the "bonded" device was linked to the the "comedi_bond" device. It would be better to ask the bonded device for this information when handling a `INSN_CONFIG_DIO_QUERY` configuration instruction. Add new function `comedi_dio_get_config()` to the "kcomedilib" module to allow us to get the DIO direction of a channel and use it. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ide/ide-disk.h')
0 files changed, 0 insertions, 0 deletions