Commit eb9273ee authored by Alessandro Rubini's avatar Alessandro Rubini

lib,doc,libtools: use the official OHWR name in lib open()

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent b3adc27c
......@@ -222,7 +222,7 @@ This is the meaning of the various arguments:
@item name
Devices are opened by name, and the name for the only supported
card at the moment is ``@t{fmc-adc-100m}''.
card at the moment is ``@t{fmc-adc-100m14b4cha}''.
@item dev_id
......
......@@ -48,8 +48,8 @@ struct fmcadc_operations fa_100ms_4ch_14bit_op = {
.release_buffer = fmcadc_zio_release_buffer,
};
struct fmcadc_board_type fmcadc_100ms_4ch_14bit = {
.name = "fmcadc_100MS_4ch_14bit",
.devname = "adc-100m14b",
.name = "fmc-adc-100m14b4cha", /* for library open() */
.devname = "adc-100m14b", /* for device named in /dev/zio */
.driver_type = "zio",
.capabilities = {
FMCADC_ZIO_TRG_MASK,
......
......@@ -164,7 +164,7 @@ int main(int argc, char *argv[])
}
/* Open the ADC */
adc = fmcadc_open("fmcadc_100MS_4ch_14bit", dev_id,
adc = fmcadc_open("fmc-adc-100m14b4cha", dev_id,
nshots * (presamples + postsamples),
nshots,
0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment