Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2006 10:21:01 +0900
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        Andreas Bachmann <bachi@te-clan.ch>
Cc:        freebsd-hardware@freebsd.org
Subject:   Re: Broadcom 440x on FreeBSD 6.0/6.1
Message-ID:  <20060420012101.GA19456@cdnetworks.co.kr>
In-Reply-To: <1145472904.803.3.camel@localhost>
References:  <1145184791.25345.10.camel@localhost> <20060416120208.D4092@antec.home> <1145217454.25345.36.camel@localhost> <20060419040725.GA9899@cdnetworks.co.kr> <1145472904.803.3.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 19, 2006 at 08:55:04PM +0200, Andreas Bachmann wrote:
 > > It seems that BCM440x has DMA address limit at 1GB.
 > > How about this?
 > > 
 > > Index: if_bfe.c
 > > ===================================================================
 > > RCS file: /pool/ncvs/src/sys/dev/bfe/if_bfe.c,v
 > > retrieving revision 1.32
 > > diff -u -r1.32 if_bfe.c
 > > --- if_bfe.c	4 Apr 2006 22:30:12 -0000	1.32
 > > +++ if_bfe.c	19 Apr 2006 04:01:47 -0000
 > > @@ -200,7 +200,7 @@
 > >  	/* parent tag */
 > >  	error = bus_dma_tag_create(NULL,  /* parent */
 > >  			PAGE_SIZE, 0,             /* alignment, boundary */
 > > -			BUS_SPACE_MAXADDR,        /* lowaddr */
 > > +			0x3fffffff,               /* lowaddr */
 > >  			BUS_SPACE_MAXADDR_32BIT,  /* highaddr */
 > >  			NULL, NULL,               /* filter, filterarg */
 > >  			MAXBSIZE,                 /* maxsize */
 > Don't work with my Dell Inspiron 9400 notebook.
 > Have replaced the following and have no change found.
 > When I set an IP address for my bfe (Broadcom 440x),
 > the system hangs...
 > 

Quick reading the source shows very strange/incorrect arguments
in DMA tag creations and manipulations. It seems that busdma(9)
portion of bfe(4) should be rewritten. Unfortunately I don't have
the hardware and confirming to busdma(9) needs a working hardware.
Sorry. You may contact the author of the driver or ship the
hardware to me.

-- 
Regards,
Pyun YongHyeon



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