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 <[email protected]> wrote:

> The branch main has been updated by emaste:
>
> URL:
> https://cgit.FreeBSD.org/src/commit/?id=e0a63d875eeb630092034808b0795a935d5c0934
>
> commit e0a63d875eeb630092034808b0795a935d5c0934
> Author:     Ed Maste <[email protected]>
> AuthorDate: 2023-06-21 20:23:18 +0000
> Commit:     Ed Maste <[email protected]>
> 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");
>         }
>

Reply via email to