summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authormr <mr@FreeBSD.org>2006-07-13 09:15:14 +0000
committermr <mr@FreeBSD.org>2006-07-13 09:15:14 +0000
commit4af607ffd5487439366db40a42f3476ec6aa99a4 (patch)
treecee61261dbcf6da04383f958c9af8a8565cb34e9 /sys/dev
parent42ece42bed616b341daa85f1f7a48694000e4cea (diff)
downloadFreeBSD-src-4af607ffd5487439366db40a42f3476ec6aa99a4.zip
FreeBSD-src-4af607ffd5487439366db40a42f3476ec6aa99a4.tar.gz
Use the already stored VIA RNG probe information
instead of probing again. Adjust style(9) somewhat in probe.c Reviewed by: pjd MFC after: 1 week
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/random/probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/random/probe.c b/sys/dev/random/probe.c
index 55b1974..5d6bd67 100644
--- a/sys/dev/random/probe.c
+++ b/sys/dev/random/probe.c
@@ -56,7 +56,7 @@ random_ident_hardware(struct random_systat *systat)
/* Then go looking for hardware */
#if defined(__i386__) && !defined(PC98)
- if( via_feature_rng & VIA_HAS_RNG ) {
+ if(via_feature_rng & VIA_HAS_RNG) {
*systat = random_nehemiah;
}
#endif
OpenPOWER on IntegriCloud