From 0e5e974182af76f8d5715fad07f657ac5549d8a5 Mon Sep 17 00:00:00 2001 From: John Polstra Date: Wed, 29 Oct 1997 00:51:50 +0000 Subject: The previous change added a use of the DATA_SET macro, but forgot to define it by including . That broke PC-CARD support for this driver, producing the dreaded "device allocation failed" message. Surprisingly, the missing include caused only two compiler warnings. The compilation still "succeeded" anyway. --- sys/dev/ed/if_ed.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev/ed') diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c index 72871d8d95a6..f54ee7e80e1e 100644 --- a/sys/dev/ed/if_ed.c +++ b/sys/dev/ed/if_ed.c @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ed.c,v 1.124 1997/10/26 04:53:51 nate Exp $ + * $Id: if_ed.c,v 1.125 1997/10/26 21:08:40 nate Exp $ */ /* @@ -183,6 +183,7 @@ static void ed_setrcr(struct ed_softc *); static u_long ds_crc(u_char *ep); #if NCARD > 0 +#include #include #include #include -- cgit v1.3