We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 019c752 commit 1b2a3f6Copy full SHA for 1b2a3f6
src/app/ec.rs
@@ -167,7 +167,8 @@ impl EcComponent {
167
"NPxxPNJ_K" => "system76/gaze17-3050".to_string(),
168
"NPxxPNP" => {
169
// If the builtin ethernet at 00:1f.6 is present, this is a -b variant
170
- if pci_read(0x00, 0x1f, 0x6, 0x00).unwrap() == 0x1a1e8086 {
+ let pciid = pci_read(0x00, 0x1f, 0x6, 0x00).unwrap();
171
+ if pciid == 0x1a1e8086 || pciid == 0x1a1f8086 {
172
"system76/gaze17-3060-b".to_string()
173
} else {
174
"system76/gaze17-3060".to_string()
0 commit comments