From: Robert Schwebel Date: Mon, 31 Mar 2003 19:44:09 +0200 Subject: [U-Boot-Users] SMC driver problem Message-ID: <20030331174409.GA17704@pengutronix.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, I've just tried to track down the SMSC driver problem which was recently reported on this list. After the MMU allocates a block for a sent packet in smc_send_packet() there is a FIXME comment in the sourcecode: - when I add puts("x"); after this comment it works. - when I remove it it hangs. - when I add the content of the putx() function (the register operations) to the same location it hangs. - when I add a function containing the register operation and call this function after the comment it hangs. - when I add a function which calls the function from the last step it works - this is the same constellation as with the puts() call. All this looks like some kind of a memory management or stack problem for me; perhaps anybody else has an idea what might go on? Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Braunschweiger Str. 79, 31134 Hildesheim, Germany Handelsregister: Amtsgericht Hildesheim, HRA 2686 Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4