From owner-cvs-src@FreeBSD.ORG Tue Mar 8 22:10:23 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1962816A4CE; Tue, 8 Mar 2005 22:10:23 +0000 (GMT) Received: from postal2.es.net (postal2.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id C138D43D4C; Tue, 8 Mar 2005 22:10:22 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP (SSL) id IBA74465; Tue, 08 Mar 2005 14:10:22 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 5FA265D08; Tue, 8 Mar 2005 14:10:21 -0800 (PST) X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: "M. Warner Losh" In-reply-to: Your message of "Tue, 08 Mar 2005 09:35:35 MST." <20050308.093535.39177166.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_18653737300" Date: Tue, 08 Mar 2005 14:10:21 -0800 From: "Kevin Oberman" Message-Id: <20050308221021.5FA265D08@ptavv.es.net> cc: deischen@FreeBSD.org cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: jeremie@le-hen.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/cardbus cardbus.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2005 22:10:23 -0000 This is a multipart MIME message. --==_Exmh_18653737300 Content-Type: text/plain; charset=us-ascii > Date: Tue, 08 Mar 2005 09:35:35 -0700 (MST) > From: "M. Warner Losh" > Sender: owner-cvs-all@freebsd.org > > In message: <20050308072731.GI94451@obiwan.tataz.chchile.org> > Jeremie Le Hen writes: > : > Both laptops are Dell (Inspiron 4150 and Inspiron 8100). > : > : I don't know if it cares, but mine is a Dell Latitute CPx. > : > : dmesg(8) is attached, with cardbus rev 1.48. > > This looks like it is working to me. Is that correct? I tried it > last night on my Sony and got two interesting results. The rl card I > have just worked, and the dc card appeared to work, but locked up the > system completely. I've noticed some anomalies with the lights on the > card (which indicate power issues), which may be the cause of some of > these problems. I'll look into those when I get the chance (maybe > Thursday night unless work is exceptionally non-busy before then). The if_dc issues is with busdma and Scott is aware of it. (Hopefully a fix is coming soon.) In the meantime I have a patch to get dc to work again. It's a kludge, but it at least lives. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 --==_Exmh_18653737300 Content-Type: text/plain ; name="if_dc.diff"; charset=us-ascii Content-Description: if_dc.diff Content-Disposition: attachment; filename="if_dc.diff" --- sys/pci/if_dc.c~ Fri Oct 15 17:53:44 2004 +++ sys/pci/if_dc.c Mon Dec 20 14:22:48 2004 @@ -2151,8 +2151,8 @@ } /* Allocate a busdma tag for mbufs. */ error = bus_dma_tag_create(NULL, PAGE_SIZE, 0, BUS_SPACE_MAXADDR_32BIT, - BUS_SPACE_MAXADDR, NULL, NULL, MCLBYTES * DC_TX_LIST_CNT, + BUS_SPACE_MAXADDR, NULL, NULL, MCLBYTES, DC_TX_LIST_CNT, MCLBYTES, 0, NULL, NULL, &sc->dc_mtag); if (error) { printf("dc%d: failed to allocate busdma tag\n", unit); --==_Exmh_18653737300--