From mboxrd@z Thu Jan 1 00:00:00 1970 From: jacopo mondi Date: Thu, 17 Feb 2011 11:48:51 +0100 Subject: [U-Boot] building enc28j60 for omap3: undefined references In-Reply-To: <4D5CF3C0.5050908@denx.de> References: <20110216172917.4a5e83cc@BlackBox> <4D5C09EB.4090408@emk-elektronik.de> <4D5CF3C0.5050908@denx.de> Message-ID: <20110217114851.5b679230@BlackBox> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 17 Feb 2011 11:09:04 +0100 Stefano Babic wrote: > And the driver builds fine with beagleboard, too. Do you drop the > > #undef CONFIG_CMD_NET > > in the beagleboard configuration file ? If not, this generates exactly > the error you report. > > Best regards, > Stefano Babic > GOSH, I've exactly searched through the code for CONFIG_CMD_NET, but I did not noticed was an undef statment instead of a define! Everything's fine now. Thank you. Just another question. I've studied the linux enc28j60 driver and noticed it features an interrupt driven work flow. No interrupt are used in u-boot version (for what I've seen). Is it based on some sort of polling instead of interrupt? Isn't that dangerous? I mean, if there are no data available everything is going to freeze.. Thank you all jacopo