add rnd_source field to mb8796_softc
this fixes compile problems with rnd pseudo-device added to GENERIC kernel patch submitted by greg oster
This commit is contained in:
parent
778081cbf4
commit
15034fe38a
@ -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.2 2000/10/09 10:45:45 dbj 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 mb8795_softc {
|
||||
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 *));
|
||||
|
Loading…
Reference in New Issue
Block a user