1PARPORT_NEGOTIATE(9) Parallel Port Devices PARPORT_NEGOTIATE(9)
2
3
4
6 parport_negotiate - negotiate an IEEE 1284 mode
7
9 int parport_negotiate(struct parport * port, int mode);
10
12 port
13 port to use
14
15 mode
16 mode to negotiate to
17
19 Use this to negotiate to a particular IEEE 1284 transfer mode. The mode
20 parameter should be one of the constants in parport.h starting
21 IEEE1284_MODE_xxx.
22
23 The return value is 0 if the peripheral has accepted the negotiation to
24 the mode specified, -1 if the peripheral is not IEEE 1284 compliant (or
25 not present), or 1 if the peripheral has rejected the negotiation.
26
28Kernel Hackers Manual 3.10 June 2019 PARPORT_NEGOTIATE(9)