Re: Hooks for random device entropy generation missing in cpqarray.c

Zwane Mwaikambo
2002-03-20T15:17:03Z

On Wed, 20 Mar 2002, Manon Goo wrote:

> All hooks for the random ganeration (add_blkdev_randomness() ) are ignored
> in the cpqarray / ida driver.
> Is a patch available ?
> or an other updated driver ?
> any hints where to put add_blkdev_randomness() in your driver ?

Its all handled by drivers/scsi/scsi_lib.c, its a generic service so is
done for all drivers.

> is add_interrupt_randomness() called on an i386 SMP IO-APCI system ?

Yes, check out arch/i386/kernel/irq.c:handle_IRQ_event, irq.c is the
generic code which sits on top of the real interrupt controller driver, be
it an IOAPIC or regular PIC.

Cheers,
Zwane