I have a quick and drity patch for 1 contorlller:
I patched as floows:
--- ./drivers/block/cpqarray.c.old Wed Mar 20 14:53:16 2002
+++ drivers/block/cpqarray.c Wed Mar 20 15:31:32 2002
@@ -1009,6 +1009,7 @@
startio:
start_io(h);
+ add_blkdev_randomness(MAJOR_NR);
}
/*
other Driver (handling more the 1 drive) find out the
Major driver number ...
./drivers/scsi/scsi_lib.c: add_blkdev_randomness(MAJOR(req->rq_dev));
./drivers/ide/ide.c: add_blkdev_randomness(MAJOR(rq->rq_dev));
./drivers/block/DAC960.c: add_blkdev_randomness(DAC960_MAJOR +=20
Controller->ControllerNumber);
How would I do this for the cpqarray ?
--On Mittwoch, 20. M=E4rz 2002 8:25 Uhr -0600 "White, Charles"=20
<Charles.White@COMPAQ.com> wrote:
> Yes.. I was reported that it some how got dropped from our 2.4 version of
> the driver.. DON'T add add_interrupt_randomness, just add "|
> SA_SAMPLE_RANDOM" to the call to request_irq.
>
> Patch to follow.
>
>
> -----Original Message-----
> From: Manon Goo [mailto:manon@manon.de]
> Sent: Wednesday, March 20, 2002 7:34 AM
> To: Arrays
> Cc: linux-kernel@vger.kernel.org; tytso@MIT.EDU; Markus Schr=F6der
> Subject: Hooks for random device entropy generation missing in
> cpqarray.c
>
>
> Hi,
>
> 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 ?
>
> is add_interrupt_randomness() called on an i386 SMP IO-APCI system ?
>
>
> Thanks
> Manon
>
> PS: Folks on linux-kernel please CC to manon@manon.de I am not on the =
list
>
>
--==========05031019==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org
iD8DBQE8mLOflp/TJR6NORURAhatAJ4irhCrRtTSYN8tLJrMgnoGu2QMrACeIt4W
bttSzNyc+9UXsN9FZeP7pFY=
=T+Hd
-----END PGP SIGNATURE-----
--==========05031019==========--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/