[OmniOS-discuss] r151014 feedback

Doug Hughes doug at will.to
Fri Apr 24 15:32:58 UTC 2015


Yeah, I like lspci and am happy to see it! but it doesn't exactly provide
the same information. Maybe there's a flag that I'm just not familiar with.
e.g.

from lspci -v:

21:00.1 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+
Network Connection (rev 01)
        Subsystem: Intel Corporation Ethernet Server Adapter X520-2
        Flags: bus master, fast devsel, latency 0, IRQ 5
        Memory at faf80000 (64-bit, non-prefetchable)
        I/O ports at dc00
        Memory at faf7c000 (64-bit, non-prefetchable)
        Expansion ROM at fae80000 [disabled]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [70] MSI-X: Enable+ Count=64 Masked-
        Capabilities: [a0] Express Endpoint, MSI 00

Here's scanpci: for same device:
pci bus 0x0021 cardnum 0x00 function 0x00: vendor 0x8086 device *0x10fb*
 Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection

Ok, I just answered my own question and learned something about lspci in
the process.
lspci -nn has the same information in a usable format. Good enough!




On Fri, Apr 24, 2015 at 12:43 AM, Dan McDonald <danmcd at omniti.com> wrote:

>
> > On Apr 24, 2015, at 12:24 AM, Doug Hughes <doug at will.to> wrote:
> >
> > Aye, fixed in r151014. Somewhere during the fmd storm and reboots, I
> guess they all just disappeared.
> >
> > Don't suppose you have an upstream open source version of scanpci to
> include? (it's a pretty useful utility)
>
> We have "lspci" already in OmniOS:
>
> r151014(~)[0]% pkg list -v pciutils
> FMRI
>    IFO
> pkg://omnios/system/pciutils@3.2.1-0.151014:20150402T213657Z
>    i--
> r151014(~)[0]% pkg contents pciutils
> PATH
> usr/sbin
> usr/sbin/lspci
> usr/sbin/setpci
> usr/sbin/update-pciids
> usr/share/man/man7
> usr/share/man/man7/pcilib.7
> usr/share/man/man8
> usr/share/man/man8/lspci.8
> usr/share/man/man8/setpci.8
> usr/share/man/man8/update-pciids.8
> r151014(~)[0]%
>
>
> Dan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20150424/ba19ed62/attachment.html>


More information about the OmniOS-discuss mailing list