[U-Boot-Users] SMC driver problem

Robert Schwebel robert at schwebel.de
Mon Mar 31 19:44:09 CEST 2003


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




More information about the U-Boot mailing list