Hi Anatolij, On Thu, Nov 1, 2018 at 12:23 PM Anatolij Gustschin <agust@xxxxxxx> wrote: > > On Thu, 1 Nov 2018 13:46:27 -0500 > Alan Tull atull@xxxxxxxxxx wrote: > ... > >> # ls -l /sys/class/fpga_manager/fpga0/device > >> lrwxrwxrwx 1 root root 0 Nov 1 19:26 /sys/class/fpga_manager/fpga0/device -> ../../../spi1.0 > > > >Is 'device' giving the info this patch is adding to 'name'? > > One can extract this info from 'device' somehow, but it is much more > easier to get it from the name > > # cat /sys/class/fpga_manager/fpga0/name > xlnx-slave-spi spi1.0 I see your use case, but I don't think the FPGA Manager framework is the right place to fix this, especially not encoding bus information in the FPGA Manager name. The info is already available to userland (not conveniently I agree, but nevertheless). >From my end NAK. Thanks, Moritz