2005-12-04 18:50:32 +01:00
|
|
|
#include <arch/io.h>
|
2009-10-27 15:29:29 +01:00
|
|
|
#include <delay.h>
|
2005-12-04 18:50:32 +01:00
|
|
|
|
2009-04-17 10:37:18 +02:00
|
|
|
void udelay(unsigned usecs)
|
2005-12-04 18:50:32 +01:00
|
|
|
{
|
|
|
|
int i;
|
|
|
|
for(i = 0; i < usecs; i++)
|
2008-08-13 14:16:15 +02:00
|
|
|
inb(0x80);
|
2005-12-04 18:50:32 +01:00
|
|
|
}
|
|
|
|
|