mdev.conf: rename hw_random to hwrng
authorMike Frysinger <vapier@gentoo.org>
Fri, 9 Dec 2016 21:12:15 +0000 (16:12 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 9 Dec 2016 21:12:15 +0000 (16:12 -0500)
The kernel broke the name years ago, but didn't notice until it was much
too late.  Rename the node to match expectations of userland software,
and what the kernel itself documents in its Kconfig help:
This provides a device that's usually called /dev/hwrng, ...

URL: https://marc.info/?l=linux-crypto-vger&m=144249767024990&w=2
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
examples/mdev.conf

index 51795694d917cd6ed70f226a3045d78e50b991ab..fab1dc451894ba8aaea264253fd9bc5cceb35f46 100644 (file)
@@ -34,3 +34,5 @@ fd[0-9]*      0:11 660
 
 sd[a-z]*       0:6 660
 hd[a-z]*       0:6 660
+
+hw_random      0:0 600 =hwrng