-
Notifications
You must be signed in to change notification settings - Fork 7
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
chwd: Some cleanups #134
chwd: Some cleanups #134
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run cargo fmt --all
on the project tree
We're not handling it properly right now
Right now we don't handle any devices other than PCI by default, so it's useless.
f5af940
to
6f1006e
Compare
6f1006e
to
2407344
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall. I think we should also rename pci_profiles
into just profiles
in Data if we are removing pci occurs
93ad70b
to
05e83d2
Compare
05e83d2
to
463ee63
Compare
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
legit
Commit 1: Removes nonfree option. In my opinion, this parameter does not make any sense anymore. For example we now have "open source Nvidia modules" as nonfree profile, so it doesn't really reflect much of the real meaning, because many drivers might be partially closed/opened. This also makes no practical sense, because if we want to install closed drivers, we just increase priority for corresponding profile which we already do.
chwd
displays the profile priority as the second column now.Commit 2: Removes options related to USB. We don't handle USB profiles right now, so this just doesn't work.
Commit 3: Removes
--is_nvidia_card
. In my opinion this is easily accomplished via lspci:lspci -d “10de:*:030x”
and it also probably won't be needed anymore with #133.