Re: [Etherboot-developers] Intel 82559ER question
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: <ke...@us...> - 2001-12-20 20:46:01
|
>> Also udelay relies on the hardware timer. Do you have this timer on your >> motherboard? > >I will have to verify this. Right now I am thinking no, because I noticed >that although -DASK_BOOT=3, there >is no waiting at all, just flies right through using the default value. I >tried setting it to 10, didnt work, no waiting at all! Actually there are two timers. The one that does macro delays is the 18.2 Hz BIOS timer, which you probably don't have with LinuxBIOS, you may have to enable the replacement routines in timer.c which use the time stamp counter (CONFIG_TSC_CURRTICKS, Eric wrote this code). The one for microdelays uses the timer chip and is incremented at about 1.2 MHz so with a 16 bit counter gives a max of about 55 ms of delay. You'd hope that this timer chip is implemented in all compatibles, but who knows. |