From owner-freebsd-current@FreeBSD.ORG Thu May 10 02:31:17 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 214BE16A402 for ; Thu, 10 May 2007 02:31:17 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.232]) by mx1.freebsd.org (Postfix) with ESMTP id BC69F13C447 for ; Thu, 10 May 2007 02:31:16 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by nz-out-0506.google.com with SMTP id s1so451162nze for ; Wed, 09 May 2007 19:31:16 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=AXKDBh1sJTuZXETM+82RULQSJ3aRvjVA/fpxUds8L4WLVR/axmffuwydeGmxBJ2XpKpdbzLEtPNCSf6oOduwSTWdDe9uA9JRmELR1DPFS41gS/d/EMI0N3pbHTGUYhn1VqxSkFx54cBZeNW1jnBg7wkvrhsQwIFAenEWpnjzLvA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=Cnhvq7YIHJbERsoGy72bD8uKZGeFf94UBtrKlLUR1AGbGSeSQrFw3Oi/1VUEnwG6ezfEQq0S/rJP/uYHLlOZpqeCxXhf5Anhii3RlTMlI26XkWTmmXlQ5Sr5JYlvc3Ck3d/fNLHfm1WPngcBo1Tn8gQ456/agec8KzQIUiZxd8A= Received: by 10.115.72.1 with SMTP id z1mr342629wak.1178764275277; Wed, 09 May 2007 19:31:15 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTP id t1sm996725poh.2007.05.09.19.31.12; Wed, 09 May 2007 19:31:14 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id l4A2V905070537 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 10 May 2007 11:31:09 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l4A2V7fi070536; Thu, 10 May 2007 11:31:07 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Thu, 10 May 2007 11:31:07 +0900 From: Pyun YongHyeon To: Rainer Hurling Message-ID: <20070510023107.GC69811@cdnetworks.co.kr> References: <20070509034005.GE65105@cdnetworks.co.kr> <46422CE3.60609@gwdg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46422CE3.60609@gwdg.de> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@FreeBSD.org Subject: Re: CFT: nfe(4) MSI/MSIX support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2007 02:31:17 -0000 On Wed, May 09, 2007 at 10:19:47PM +0200, Rainer Hurling wrote: > Hello Pyun YongHyeon, > > my mainboard is K9N Neo from MSI with BIOS version 1.60. > > I compiled CURRENT from 05/09/07 on i386 with your new if_nfe files and > your patch for ciphy (/usr/src/sys/dev/mii). Before, I had to use > polling mode with nfe(4), now this is not neccessary any more :-) > > > boot -v gives me: > ------------------- > pcib0: slot 1 INTA routed to irq 20 via \\_SB_.LSMB > MSI supports 4 messages, 64 bit > ... > pcib0: slot 5 INTA routed to irq 23 via \\_SB_.LSA0 > MSI supports 4 messages, 64 bit > ... > pcib0: slot 5 INTB routed to irq 20 via \\_SB_.LSA1 > MSI supports 1 message, 64 bit, vector masks > ... > pcib0: slot 6 INTB routed to irq 21 via \\_SB_.LAZA > MSI supports 8 messages, 64 bit, vector masks > MSI-X supports 8 messages in maps 0x18 and 0x1c > ... > pcib0: slot 8 INTA routed to irq 22 via \\_SB_.LMAC > MSI supports 2 messages, 64 bit > MSI supports 2 messages, 64 bit > MSI supports 2 messages, 64 bit > MSI supports 2 messages, 64 bit > MSI supports 2 messages, 64 bit > ... > pci6: physical bus=6 > MSI supports 1 message, 64 bit > ... > nfe0: port 0xb000-0xb007 mem > 0xfbef3000-0xfbef3fff,0xfbefa800-0xfbefa8ff,0 > xfbefa400-0xfbefa40f irq 22 at device 8.0 on pci0 > nfe0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xfbef3000 > nfe0: attempting to allocate 8 MSI vectors (8 supported) > msi: routing MSI IRQ 256 to vector 56 > msi: routing MSI IRQ 257 to vector 57 > msi: routing MSI IRQ 258 to vector 58 > msi: routing MSI IRQ 259 to vector 59 > msi: routing MSI IRQ 260 to vector 60 > msi: routing MSI IRQ 261 to vector 61 > msi: routing MSI IRQ 262 to vector 62 > msi: routing MSI IRQ 263 to vector 63 > nfe0: using IRQs 256-263 for MSI > nfe0: Using 8 MSI messages > miibus0: on nfe0 > ciphy0: PHY 1 on miibus0 > ciphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > nfe0: bpf attached > nfe0: Ethernet address: xx:xx:xx:xx:xx:xx > nfe0: [MPSAFE] > nfe0: [FILTER] > nfe0: [MPSAFE] > nfe0: [FILTER] > nfe0: [MPSAFE] > nfe0: [FILTER] > nfe0: [MPSAFE] > nfe0: [FILTER] > nfe0: [MPSAFE] > nfe0: [FILTER] > nfe0: [MPSAFE] > nfe0: [FILTER] > nfe0: [MPSAFE] > nfe0: [FILTER] > nfe0: [MPSAFE] > nfe0: [FILTER] > ... > msi: Assigning MSI IRQ 256 to local APIC 0 > msi: Assigning MSI IRQ 257 to local APIC 1 > msi: Assigning MSI IRQ 258 to local APIC 0 > msi: Assigning MSI IRQ 259 to local APIC 1 > msi: Assigning MSI IRQ 260 to local APIC 0 > msi: Assigning MSI IRQ 261 to local APIC 1 > msi: Assigning MSI IRQ 262 to local APIC 0 > msi: Assigning MSI IRQ 263 to local APIC 1 > ------------------- > > > It seems that everything is alright know. Ok, thanks a lot for testing! > > Thank you very much, You're welcome! > Rainer > -- Regards, Pyun YongHyeon