Re: [PATCH v3 pciutils] lspci: Show Slot Power Limit values above EFh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +  if (scale == 0 && value >= 0xF0) {
> +    /* F3h to FFh = Reserved for Slot Power Limit values above 300 W */
> +    if (value >= 0xF3) {
> +      printf(">300W");
> +      return;
> +    }
> +    value = scale0_values[value - 0xF0];
> +  }

Thanks!

One more request: please fix coding style to match the rest of lspci.

				Martin



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux