Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 2010 11:06:06 -0700
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        pyunyh@gmail.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:  <59E450BB-1E79-440E-AF82-B78E1E8FE334@mac.com>
In-Reply-To: <20100611175016.GD13776@michelle.cdnetworks.com>
References:  <201006110300.o5B30X9q045387@svn.freebsd.org> <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>

next in thread | previous in thread | raw e-mail | index | archive | help

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?

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?59E450BB-1E79-440E-AF82-B78E1E8FE334>