From owner-freebsd-net@FreeBSD.ORG Tue Mar 27 21:14:46 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74A9D106564A for ; Tue, 27 Mar 2012 21:14:46 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 006478FC14 for ; Tue, 27 Mar 2012 21:14:45 +0000 (UTC) Received: by wibhq7 with SMTP id hq7so260061wib.13 for ; Tue, 27 Mar 2012 14:14:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LoXTr4luLF7jtVZrvOBWClyHclHDPMZZUBkvsqcBvyM=; b=iaccjbZ7AjJGOACwFBvGOjktCh3uyIcKLgB8iE5LzXMLleE8/gmqImreL+/bOo4qty TIN6SdsaNKSK3rKesqcyNPF6NJ2GGbP+2CZrR7TVjuepiNb1Pihm97+ELg7r1gLq3DBZ L/l5sMrn6HPIvyP5rA5QsJ6roRqlvtaAMoy0xbab0xd7sasSuFCc1Y0GQcDMauX1oc+Z 0SyBujHjT7bDecBtDn6OPrJD6zZzQ40ofTPzcuxH5awFpW2HoWPSh4l8GmaJZo+JgQh0 BnONLjwrN4ChdCMb423SuxeoXxN+njQPMzYy0HyIiv2E4tRsgGrYQ03mhJjyrDViUphK x6Sw== MIME-Version: 1.0 Received: by 10.180.82.132 with SMTP id i4mr1138178wiy.12.1332882877767; Tue, 27 Mar 2012 14:14:37 -0700 (PDT) Received: by 10.180.82.168 with HTTP; Tue, 27 Mar 2012 14:14:37 -0700 (PDT) In-Reply-To: <20120327210818.GA10492@owl.midgard.homeip.net> References: <5E4F49720D0BAD499EE1F01232234BA8743824C2AD@AVEXMB1.qlogic.org> <20120327210818.GA10492@owl.midgard.homeip.net> Date: Tue, 27 Mar 2012 14:14:37 -0700 Message-ID: From: Jack Vogel To: Erik Trulsson Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-net@freebsd.org" , Adarsh Joshi Subject: Re: bus width and PCIe version X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2012 21:14:46 -0000 I'm pretty sure that pciconf can give you this information, but you need to use the right flags, not to mention that you look at the correct device. Some drivers, like ixgbe, will report this information to you when loading. Jack On Tue, Mar 27, 2012 at 2:08 PM, Erik Trulsson wrote: > On Tue, Mar 27, 2012 at 09:55:45AM -0700, Adarsh Joshi wrote: > > Hello, > > > > Is there a command or log message where I can find out the bus width and > PCIe version number on which my adapter is put on? > > > > I did take a look at pciconf and devinfo and also the dmesg logs but > could not find anything. > > > > I know it is visible on lspci on linux systems. > > > You can use lspci on FreeBSD as well. It is included in the > sysutils/pciutils port. > > > > -- > > Erik Trulsson > ertr1013@student.uu.se > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >