Re: git: e0a63d875eeb - main - pciconf: add PCIe 5.0 and PCIe 6.0 link speeds
- In reply to: Ed Maste : "git: e0a63d875eeb - main - pciconf: add PCIe 5.0 and PCIe 6.0 link speeds"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Jul 2023 23:38:05 UTC
Sweet! I can't wait to see these speeds reported on devices. :p
- Eric
On Thu, Jul 20, 2023 at 10:39 AM Ed Maste <emaste@freebsd.org> wrote:
> The branch main has been updated by emaste:
>
> URL:
> https://cgit.FreeBSD.org/src/commit/?id=e0a63d875eeb630092034808b0795a935d5c0934
>
> commit e0a63d875eeb630092034808b0795a935d5c0934
> Author: Ed Maste <emaste@FreeBSD.org>
> AuthorDate: 2023-06-21 20:23:18 +0000
> Commit: Ed Maste <emaste@FreeBSD.org>
> CommitDate: 2023-07-20 17:39:17 +0000
>
> pciconf: add PCIe 5.0 and PCIe 6.0 link speeds
>
> Reviewed by: jhb
> Sponsored by: The FreeBSD Foundation
> Differential Revision: https://reviews.freebsd.org/D40710
> ---
> usr.sbin/pciconf/cap.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/usr.sbin/pciconf/cap.c b/usr.sbin/pciconf/cap.c
> index 3d28fe9bc331..9cae4bc49e03 100644
> --- a/usr.sbin/pciconf/cap.c
> +++ b/usr.sbin/pciconf/cap.c
> @@ -396,6 +396,10 @@ link_speed_string(uint8_t speed)
> return ("8.0");
> case 4:
> return ("16.0");
> + case 5:
> + return ("32.0");
> + case 6:
> + return ("64.0");
> default:
> return ("undef");
> }
>