[SLOF] [PATCH] pci: use appropriate base class ids

Thomas Huth thuth at redhat.com
Thu Aug 30 14:44:52 AEST 2018


On 2018-08-29 17:37, Greg Kurz wrote:
> This will allow SLOF to print the appropriate name instead of "unknown"
> for PCI classes 0xd to 0x11.
> 
> Signed-off-by: Greg Kurz <groug at kaod.org>
> ---
>  slof/fs/pci-class-code-names.fs |   10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/slof/fs/pci-class-code-names.fs b/slof/fs/pci-class-code-names.fs
> index f56d006acc8a..6cf3b8fd083c 100644
> --- a/slof/fs/pci-class-code-names.fs
> +++ b/slof/fs/pci-class-code-names.fs
> @@ -254,11 +254,11 @@
>          0A  OF pci-class-name-0A ENDOF
>          0B  OF pci-class-name-0B ENDOF
>          0C  OF pci-class-name-0C ENDOF
> -        0C  OF pci-class-name-0D ENDOF
> -        0C  OF pci-class-name-0E ENDOF
> -        0C  OF pci-class-name-0F ENDOF
> -        0C  OF pci-class-name-10 ENDOF
> -        0C  OF pci-class-name-11 ENDOF
> +        0D  OF pci-class-name-0D ENDOF
> +        0E  OF pci-class-name-0E ENDOF
> +        0F  OF pci-class-name-0F ENDOF
> +        10  OF pci-class-name-10 ENDOF
> +        11  OF pci-class-name-11 ENDOF
>          dup OF drop s" unknown"  ENDOF
>          ENDCASE
>  ;

Reviewed-by: Thomas Huth <thuth at redhat.com>

Did you really find a POWER machine with one of these cards in it? ;-)

 Thomas


More information about the SLOF mailing list