Date: Fri, 15 Jun 2007 12:53:09 +0900 From: Pyun YongHyeon <pyunyh@gmail.com> To: Freddie Cash <fjwcash+freebsd@gmail.com> Cc: stable@freebsd.org Subject: Re: Can't get if_txp(4) to attach to a 3CR990B-TXM NIC Message-ID: <20070615035309.GA59209@cdnetworks.co.kr> In-Reply-To: <200706141042.20782.fjwcash%2Bfreebsd@gmail.com> References: <200706080913.37450.fjwcash%2Bfreebsd@gmail.com> <20070614035807.GB54650@cdnetworks.co.kr> <200706141036.33578.fjwcash%2Bfreebsd@gmail.com> <200706141042.20782.fjwcash%2Bfreebsd@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070615035309.GA59209>