mirror of
https://github.com/openbsd/src.git
synced 2024-12-22 16:42:56 -08:00
revert the previous, it makes everything think it can do 16.0 GT/s.
i'll have to find real pci4 hardware to test with.
This commit is contained in:
parent
3bcd28033c
commit
976be7085a
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: pcidump.c,v 1.60 2021/01/17 11:38:18 dlg Exp $ */
|
||||
/* $OpenBSD: pcidump.c,v 1.61 2021/01/17 11:54:15 dlg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2006, 2007 David Gwynne <loki@animata.net>
|
||||
@ -510,9 +510,7 @@ pcie_dcsr_mrrs(uint32_t dcsr)
|
||||
void
|
||||
print_pcie_ls(uint8_t speed)
|
||||
{
|
||||
if (speed & 5)
|
||||
printf("16.0");
|
||||
else if (speed & 4)
|
||||
if (speed & 4)
|
||||
printf("8.0");
|
||||
else if (speed & 2)
|
||||
printf("5.0");
|
||||
|
Loading…
Reference in New Issue
Block a user