Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/dev/scsipi Pull up revision 1.11 (requested by droc...



details:   https://anonhg.NetBSD.org/src/rev/3441492cb505
branches:  netbsd-1-4
changeset: 470197:3441492cb505
user:      he <he%NetBSD.org@localhost>
date:      Sun Jan 23 13:46:01 2000 +0000

description:
Pull up revision 1.11 (requested by drochner):
  Fix a size inconsistency of "struct sd_softc" if the "random"
  pseudo-device is enabled, leading to data corruption.

diffstat:

 sys/dev/scsipi/sdvar.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r db34ed167be8 -r 3441492cb505 sys/dev/scsipi/sdvar.h
--- a/sys/dev/scsipi/sdvar.h    Sun Jan 23 13:43:17 2000 +0000
+++ b/sys/dev/scsipi/sdvar.h    Sun Jan 23 13:46:01 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdvar.h,v 1.7 1998/08/17 00:49:03 mycroft Exp $        */
+/*     $NetBSD: sdvar.h,v 1.7.6.1 2000/01/23 13:46:01 he Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -53,6 +53,11 @@
  * Ported to run under 386BSD by Julian Elischer (julian%dialix.oz.au@localhost) Sept 1992
  */
 
+#include "rnd.h"
+#if NRND > 0
+#include <sys/rnd.h>
+#endif
+
 #define        SDRETRIES       4
 
 struct sd_ops;



Home | Main Index | Thread Index | Old Index