84 #include "../comedidev.h"
90 #define PARPORT_SIZE 3
108 devpriv->
a_data &= ~data[0];
109 devpriv->
a_data |= (data[0] & data[1]);
127 devpriv->
c_data &= ~(1 << 5);
130 devpriv->
c_data |= (1 << 5);
157 devpriv->
c_data &= ~data[0];
158 devpriv->
c_data |= (data[0] & data[1]);
163 data[1] = devpriv->
c_data & 0xf;
308 ret = alloc_private(dev,
sizeof(*devpriv));
348 s->
do_cmd = parport_intr_cmd;
349 s->
cancel = parport_intr_cancel;
374 .driver_name =
"comedi_parport",
376 .attach = parport_attach,
377 .detach = parport_detach,