From owner-freebsd-net@FreeBSD.ORG Tue Jul 31 12:48:01 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BF0A11065670 for ; Tue, 31 Jul 2012 12:48:01 +0000 (UTC) (envelope-from venkatduvvuru.ml@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7A8CF8FC2D for ; Tue, 31 Jul 2012 12:48:01 +0000 (UTC) Received: by ggnm2 with SMTP id m2so6962241ggn.13 for ; Tue, 31 Jul 2012 05:48:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=yAh5QznxRujt9gFUl3l7+hkPd8Kc2dG3wkCv+LZ2mPE=; b=lYqbSJOYnVa597G3TefoASwzrXfHmpEn0lyIckcRIppplQHIMt5nM5JNpM1xKCEAlA SFq1TdcGU2kjS2GeUfD2hIgfVgPX1um9e1gkQqqujinYMvkRz9a5eFg8MaxquG3/ctlT eI07X/cnd/pLyL79U3iKGwTrKu/fvzS2r4b3YjPpbo6Vfxvy7J7lbI93ehUfyobst/jq YfqQfQG4uVgGIkAOW1LltUwBhdzBlK8FENEhf1PEQFyfzAyy5xrl6NrltHgkHc6uFZwa MHd9X/DNRCnQx2Ro13bGPiNRZbWAP37PTLm1pP1IG8D3hANuQPKA58a7PPHvBrL7Ko3a 6hLA== MIME-Version: 1.0 Received: by 10.60.2.105 with SMTP id 9mr22790998oet.65.1343738880628; Tue, 31 Jul 2012 05:48:00 -0700 (PDT) Received: by 10.76.8.99 with HTTP; Tue, 31 Jul 2012 05:48:00 -0700 (PDT) Date: Tue, 31 Jul 2012 18:18:00 +0530 Message-ID: From: Venkat Duvvuru To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: PCI BAR mmap 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, 31 Jul 2012 12:48:01 -0000 Hi, How to mmap PCI BARs from userland in freebsd? In Linux the PCI BAR appears as a file in the sysfs file system. How can I access PCI BAR as a file in freebsd to mmap it? /Venkat