Re: Problem with random.c and PPC

Jon Burgess
2002-08-16T09:56:36Z

>BTW, does anyone know where I can found the patch to get randomness from the
>network cards interrupt ?

Add the flag SA_SAMPLE_RANDOM into the request_irq() flags in the driver for
whichever interrupt source you want to use
e.g. from drivers/net/3c523.c

ret = request_irq(dev->irq, &elmc_interrupt, SA_SHIRQ | SA_SAMPLE_RANDOM,
dev->name, dev);

Jon