1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-22 16:42:56 -08:00

pcie4 can do 16.0 GT/s. sounds like a lot.

This commit is contained in:
dlg 2021-01-17 11:38:18 +00:00
parent 4adaa1147b
commit 3bcd28033c

View File

@ -1,4 +1,4 @@
/* $OpenBSD: pcidump.c,v 1.59 2021/01/17 11:16:22 dlg Exp $ */
/* $OpenBSD: pcidump.c,v 1.60 2021/01/17 11:38:18 dlg Exp $ */
/*
* Copyright (c) 2006, 2007 David Gwynne <loki@animata.net>
@ -510,7 +510,9 @@ pcie_dcsr_mrrs(uint32_t dcsr)
void
print_pcie_ls(uint8_t speed)
{
if (speed & 4)
if (speed & 5)
printf("16.0");
else if (speed & 4)
printf("8.0");
else if (speed & 2)
printf("5.0");