Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 2015 10:20:25 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Nomad Esst <noname.esst@yahoo.com>
Cc:        "freebsd-drivers@freebsd.org" <freebsd-drivers@freebsd.org>, Freebsd Hackers List <freebsd-hackers@freebsd.org>
Subject:   Re: Get pci slot number in driver
Message-ID:  <20150824172025.GI33167@funkthat.com>
In-Reply-To: <1473579278.716147.1440404222458.JavaMail.yahoo@mail.yahoo.com>
References:  <1473579278.716147.1440404222458.JavaMail.yahoo@mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Nomad Esst via freebsd-drivers wrote this message on Mon, Aug 24, 2015 at 08:17 +0000:
> Is it possible to find out the pci slot number on which the card is mounted in driver? I tried pci_get_slot but it's always 0.Any ideas about doing this?
> regards

Are these PCIe add in cards?  If so, check pciconv -lv, but most PCIe
cards are slot 0 of the bus...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150824172025.GI33167>