Skip to content

Commit 1b2a3f6

Browse files
committed
gaze17: Check for new GbE ID
New units have updated Intel GbE to report as I219-V instead of I219-LM. Signed-off-by: Tim Crawford <[email protected]>
1 parent 019c752 commit 1b2a3f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/ec.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ impl EcComponent {
167167
"NPxxPNJ_K" => "system76/gaze17-3050".to_string(),
168168
"NPxxPNP" => {
169169
// 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 {
170+
let pciid = pci_read(0x00, 0x1f, 0x6, 0x00).unwrap();
171+
if pciid == 0x1a1e8086 || pciid == 0x1a1f8086 {
171172
"system76/gaze17-3060-b".to_string()
172173
} else {
173174
"system76/gaze17-3060".to_string()

0 commit comments

Comments
 (0)