1 *****************************************************************************
4 *****************************************************************************
9 This library is an adapter to translate the calls from the new library
10 to the old library in PPC environment.
16 The API is, of course, the same of the new one for GNU/Linux. It is
17 described and there are some tips about how to use it, in the following
20 --> int vmod12e16_get_handle(int lun)
21 Originally, this function open the corresponding file and translates
22 from logical unit number to file descriptor.
23 It's unnecessary with dioaiolib, so only checks that the lun is
24 between the right values.
26 --> int vmod12e16_close(int fd)
27 Originally, this function closes the file corresponding of the given
28 file descriptor. With dioaiolib, it's unnecessary and it returns 0 always.
30 --> int vmod12e16_convert(int fd, int channel,
31 enum vmod12e16_amplification factor, int *value);
32 It reads a value to the desired channel. The amplification factor is not used
33 in dioaio - it is always 1.