From owner-freebsd-stable@FreeBSD.ORG Fri Jun 15 03:53:16 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E1E116A469 for ; Fri, 15 Jun 2007 03:53:16 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.225]) by mx1.freebsd.org (Postfix) with ESMTP id 2391113C448 for ; Fri, 15 Jun 2007 03:53:15 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by nz-out-0506.google.com with SMTP id 14so703533nzn for ; Thu, 14 Jun 2007 20:53:15 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=gSxV6ZooWqVSpWaKL+XKAcK7yvMpKRI1i2cNn9S12OWu2VqKSPcTCDB5SzkTaLxuyG2ZxHD2NeuY9gGLYI6ehyYZYO7oZKJXiHzXuZnrEK5kHI2ycZMTK/WNSN9mhuIGgtiWUA73Np6kU72kGj6XWoyEWtKlN6n9Z6miNV0p/l8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=MCrgJVkZ3gtuyJ27zQARU+djDPln/HmFjciKIFLM4Ae2R/+qNV+ZgLT5y5b0CEhZAPhk4lNvNKuHA2GkI3QByZpED17uI6Smvpvg8c3crGnp+w9iRTAJT2FpYoo0iMnWNxEpYWx4ocDMaNEqp+nVb9BL4j0QUk2rz5WBoRn3evY= Received: by 10.114.88.1 with SMTP id l1mr2557872wab.1181879595172; Thu, 14 Jun 2007 20:53:15 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTP id m10sm5710251waf.2007.06.14.20.53.13 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 14 Jun 2007 20:53:14 -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 l5F3r9sK060036 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Jun 2007 12:53:09 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l5F3r9YG060035; Fri, 15 Jun 2007 12:53:09 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Fri, 15 Jun 2007 12:53:09 +0900 From: Pyun YongHyeon To: Freddie Cash Message-ID: <20070615035309.GA59209@cdnetworks.co.kr> References: <200706080913.37450.fjwcash+freebsd@gmail.com> <20070614035807.GB54650@cdnetworks.co.kr> <200706141036.33578.fjwcash+freebsd@gmail.com> <200706141042.20782.fjwcash+freebsd@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline In-Reply-To: <200706141042.20782.fjwcash+freebsd@gmail.com> User-Agent: Mutt/1.4.2.1i Cc: stable@freebsd.org Subject: Re: Can't get if_txp(4) to attach to a 3CR990B-TXM NIC X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2007 03:53:16 -0000 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jun 14, 2007 at 10:42:20AM -0700, Freddie Cash wrote: > On Thursday 14 June 2007 10:36 am, Freddie Cash wrote: > > On Wednesday 13 June 2007 08:58 pm, Pyun YongHyeon wrote: > > > Revert previous patch and apply attached patch again. > > > Please give it spin and let me know result. > > Same error message as below, with the updated firmware downloaded from > your site. :( > Hmm.... ATM the only reaminging one I can think of is additional delay after reseting the hardware. Revert previous patch and try attached one. -- Regards, Pyun YongHyeon --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="if_txp.patch4" Index: if_txp.c =================================================================== RCS file: /home/ncvs/src/sys/dev/txp/if_txp.c,v retrieving revision 1.46 diff -u -r1.46 if_txp.c --- if_txp.c 12 Jun 2007 04:33:21 -0000 1.46 +++ if_txp.c 15 Jun 2007 03:51:46 -0000 @@ -480,6 +480,9 @@ return (-1); } + /* Give a 5ms to complete the reset. */ + pause("txprst", hz / 200); + return (0); } @@ -548,7 +551,8 @@ DELAY(50); } if (r != STAT_WAITING_FOR_BOOT) { - device_printf(sc->sc_dev, "not waiting for boot\n"); + device_printf(sc->sc_dev, "%s: not waiting for boot, " + "status = 0x%08x\n", __func__, r); return (-1); } @@ -1022,7 +1026,8 @@ } if (r != STAT_WAITING_FOR_BOOT) { - device_printf(sc->sc_dev, "not waiting for boot\n"); + device_printf(sc->sc_dev, "%s: not waiting for boot, " + "status = 0x%08x\n", __func__, r); return(ENXIO); } --azLHFNyN32YCQGCU--