Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/dev/ic Pullup 1.39 and 1.40 [enami]:



details:   https://anonhg.NetBSD.org/src/rev/cbf2d32d1857
branches:  netbsd-1-5
changeset: 489831:cbf2d32d1857
user:      tv <tv%NetBSD.org@localhost>
date:      Tue Oct 17 21:44:15 2000 +0000

description:
Pullup 1.39 and 1.40 [enami]:
Make tulip a random source.

diffstat:

 sys/dev/ic/tulipvar.h |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 34452f278559 -r cbf2d32d1857 sys/dev/ic/tulipvar.h
--- a/sys/dev/ic/tulipvar.h     Tue Oct 17 21:43:45 2000 +0000
+++ b/sys/dev/ic/tulipvar.h     Tue Oct 17 21:44:15 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tulipvar.h,v 1.36.4.1 2000/08/09 14:39:05 castor Exp $ */
+/*     $NetBSD: tulipvar.h,v 1.36.4.2 2000/10/17 21:44:15 tv Exp $     */
 
 /*-
  * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -40,9 +40,15 @@
 #ifndef _DEV_IC_TULIPVAR_H_
 #define        _DEV_IC_TULIPVAR_H_
 
+#include "rnd.h"
+ 
 #include <sys/queue.h>
 #include <sys/callout.h>
 
+#if NRND > 0
+#include <sys/rnd.h>
+#endif
+
 /*
  * Misc. definitions for the Digital Semiconductor ``Tulip'' (21x4x)
  * Ethernet controller family driver.
@@ -439,6 +445,10 @@
        struct tulip_txsq sc_txdirtyq;  /* dirty Tx descsofts */
 
        int     sc_rxptr;               /* next ready RX descriptor/descsoft */
+
+#if NRND > 0
+       rndsource_element_t sc_rnd_source; /* random source */
+#endif
 };
 #endif
 



Home | Main Index | Thread Index | Old Index