Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 2010 11:08:24 -0700
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        Marcel Moolenaar <xcllnt@mac.com>
Cc:        svn-src-head@freebsd.org, Scott Long <scottl@samsco.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, John Baldwin <jhb@freebsd.org>
Subject:   Re: svn commit: r209026 - in head/sys/ia64: ia64 include
Message-ID:  <20100611180824.GG13776@michelle.cdnetworks.com>
In-Reply-To: <59E450BB-1E79-440E-AF82-B78E1E8FE334@mac.com>
References:  <201006110751.40735.jhb@freebsd.org> <853068F6-D736-4DA3-859F-D946D096843D@samsco.org> <19B0DF11-5998-40F5-8095-8D2521B1C597@mac.com> <EE4B5C07-194D-4408-B0A1-BA25BE39468F@samsco.org> <291D17F7-F387-4A13-8ED9-2898A9F7E018@mac.com> <028BA7D4-90C8-4D2D-B9A5-C1C3CF9B6D7D@samsco.org> <20100611174137.GC13776@michelle.cdnetworks.com> <9F065122-7D91-42E9-A251-5AF4AAF0B4E5@samsco.org> <20100611175016.GD13776@michelle.cdnetworks.com> <59E450BB-1E79-440E-AF82-B78E1E8FE334@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 11, 2010 at 11:06:06AM -0700, Marcel Moolenaar wrote:
> 
> On Jun 11, 2010, at 10:50 AM, Pyun YongHyeon wrote:
> 
> >>>> 
> >>>> I'm not clear why you even need bounce buffers for RX.  The chip supports 64bit addresses with no boundary or alignment restrictions.
> >>>> 
> >>> 
> >>> Some controllers have 4G boundary bug so bge(4) restricts dma
> >>> address space.
> >> 
> >> That limitation should be reflected in the boundary attribute of the tag, not the lowaddr/highaddr attributes.
> >> 
> > 
> > Yes, but that needed more code. And I don't have these buggy
> > controllers so I chose more simple way that would work even though
> > it may be inefficient.
> 
> Do you happen to know if one or both of the hardware I have access to
> is the "buggy" hardware?
> 

Yes, both devices below can not handle 4GB boundary crossing in DMA
state machine.

> bge0@pci0:32:2:0:	class=0x020000 card=0x12a4103c chip=0x164514e4 rev=0x15 hdr=0x00
>     vendor     = 'Broadcom Corporation'
>     device     = 'broadtcomBCM5701 Gigabit Ethernet (BCM5701)'
>     class      = network
>     subclass   = ethernet
>     bar   [10] = type Memory, range 64, base 0x90800000, size 65536, enabled
>     cap 07[40] = PCI-X 64-bit supports 133MHz, 512 burst read, 1 split transaction
>     cap 01[48] = powerspec 2  supports D0 D3  current D0
>     cap 03[50] = VPD
>     cap 05[58] = MSI supports 8 messages, 64 bit 
> 
> bge0@pci0:1:2:0:	class=0x020000 card=0x1311103c chip=0x164814e4 rev=0x10 hdr=0x00
>     vendor     = 'Broadcom Corporation'
>     device     = 'NetXtreme Dual Gigabit Adapter (BCM5704)'
>     class      = network
>     subclass   = ethernet
>     bar   [10] = type Memory, range 64, base 0xa0450000, size 65536, enabled
>     cap 07[40] = PCI-X 64-bit supports 133MHz, 2048 burst read, 1 split transaction
>     cap 01[48] = powerspec 2  supports D0 D3  current D0
>     cap 03[50] = VPD
>     cap 05[58] = MSI supports 8 messages, 64 bit 
> 
> -- 
> Marcel Moolenaar
> xcllnt@mac.com
> 
> 
> 



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