-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite driver device path management #33
Conversation
Why "limelitepcie? Have we forked and modified LitePCIe? How do we benefit even from an SDR Linux device entry having "litepcie" in the naming? It feels needlessly long, but I'm probably missing something. |
the name "limelitepcie" can be changed to anything, it just needs to be unique, suggestions are welcome. This choice was just a straigthforward "lime" prefix addition to the original "litepcie" name, as it is a modified version of it. There are couple of reasons for the rename:
The "/dev/limelitepcie*" nameing was chosen to be the same as the module name for consistency sake. It can also be changed to anything we want, it doesn't have to match the module name, suggestions are welcome. The requirement is that it needs to be unique from other system device names. As this generic device name is intended for any of our possible PCI devices, it wouldn't be technically correct to include SDR in the name, as it's functionality could be anything else. Just to clarify these names are for the system usage to allow it to work (like: sda, sdb, tty0, tty1, i2c-0, i2c-1.... they just indicate type of device and index ), human readable symlink names can be provided additionaly by using UDEV rules, or list the detailed info about devices using our CLI tools |
Device Hierarchy after changes:
/dev/limex30_control
/dev/limex30_trx0
/dev/limelitepcie0/control0
/dev/limelitepcie0/trx0
/dev/limelitepcie0/trx1