Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/arch/next68k/dev Pullup 1.2 [dbj]:



details:   https://anonhg.NetBSD.org/src/rev/fe4af1f4121b
branches:  netbsd-1-5
changeset: 489747:fe4af1f4121b
user:      tv <tv%NetBSD.org@localhost>
date:      Mon Oct 16 22:49:42 2000 +0000

description:
Pullup 1.2 [dbj]:
add rnd_source field to mb8796_softc
this fixes compile problems with rnd pseudo-device added to GENERIC kernel
patch submitted by greg oster

diffstat:

 sys/arch/next68k/dev/mb8795var.h |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 702547d6d03a -r fe4af1f4121b sys/arch/next68k/dev/mb8795var.h
--- a/sys/arch/next68k/dev/mb8795var.h  Mon Oct 16 22:46:04 2000 +0000
+++ b/sys/arch/next68k/dev/mb8795var.h  Mon Oct 16 22:49:42 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mb8795var.h,v 1.1.1.1 1998/06/09 07:53:05 dbj Exp $    */
+/*     $NetBSD: mb8795var.h,v 1.1.1.1.24.1 2000/10/16 22:49:42 tv Exp $        */
 /*
  * Copyright (c) 1998 Darrin B. Jewell
  * All rights reserved.
@@ -29,6 +29,11 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include "rnd.h"                /* is random device-driver configured? */
+#if NRND > 0
+#include <sys/rnd.h>
+#endif  /* NRND */
+
 #define MB8795_NRXBUFS (32)
 
 struct mb8795_softc {
@@ -82,6 +87,10 @@
        struct nextdma_config *sc_tx_nd;                /* @@@ this shouldn't be here */
        struct nextdma_config *sc_rx_nd;                /* @@@ this shouldn't be here */
 
+#if NRND > 0
+       rndsource_element_t     rnd_source;
+#endif /* NRND */
+
 };
 
 void mb8795_config __P((struct mb8795_softc *));



Home | Main Index | Thread Index | Old Index