From owner-freebsd-hardware@FreeBSD.ORG Thu Apr 20 01:20:31 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5699B16A400 for ; Thu, 20 Apr 2006 01:20:31 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9EE043D45 for ; Thu, 20 Apr 2006 01:20:30 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by nz-out-0102.google.com with SMTP id l8so10760nzf for ; Wed, 19 Apr 2006 18:20:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=aHN23IkS1HhgrlNn9Iz8Mvj+MUVXIQeVHbfCPnb0M3LqL0IOkrJQKo9FKNDJ8z7n7DFBY/koshw9k/AdVvJ8qnlr++Fj021U84ej3SFCGZBhOZe8fcFOOKCxV4tGHL4RNtuPNjSBUn4wjfQG8Tbs+BVsf0/l1GJWycZ7yISk1I0= Received: by 10.37.18.76 with SMTP id v76mr42954nzi; Wed, 19 Apr 2006 18:20:30 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.gmail.com with ESMTP id 34sm338375nza.2006.04.19.18.20.28; Wed, 19 Apr 2006 18:20:29 -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 k3K1L35s019844 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Apr 2006 10:21:03 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id k3K1L1pK019843; Thu, 20 Apr 2006 10:21:01 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Thu, 20 Apr 2006 10:21:01 +0900 From: Pyun YongHyeon To: Andreas Bachmann Message-ID: <20060420012101.GA19456@cdnetworks.co.kr> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1145472904.803.3.camel@localhost> User-Agent: Mutt/1.4.2.1i Cc: freebsd-hardware@freebsd.org Subject: Re: Broadcom 440x on FreeBSD 6.0/6.1 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2006 01:20:31 -0000 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