Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2006 14:32:34 -0500 (EST)
From:      "Michael M. Press" <mmp9769@cs.rit.edu>
To:        freebsd-drivers@freebsd.org
Subject:   Intel 82802 Firmware Hub RNG support
Message-ID:  <Pine.GSO.4.58.0603011336050.24655@xelcgba.pf.evg.rqh>

next in thread | raw e-mail | index | archive | help

Some older Intel boards have 82802AB or 82802AC chips with random number
generators built into them. I have a system with one of these chips in it,
but FreeBSD doesn't appear to have a driver for it. I think support for
this hardware RNG would be great and I am willing to write the driver, but
I don't have much knowledge or experience with drivers and will probably
not be able to do it on my own.

OpenBSD has support for these chips built in to their 'pchb' driver
(sys/arch/i386/pci/pchb.c). I edited sys/i386/pci/pci_bus.c on my system
and added some code to the legacy_pcib_attach function to attempt to mimic
what OpenBSD is doing. After rebuilding and rebooting, my changes seem to
have no effect. This doesn't really surprise me, since I have very little
idea what I'm doing anyway and I don't even know if I'm tinkering with the
correct file. I would greatly appreciate any suggestions anyone can offer
that might help me. If anyone who has more experience than me would like
to take over and write the driver themselves, they should feel free to do
so.

Thanks.

--Mike




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.58.0603011336050.24655>