From 9119c9c18963781e8ad9578711afac9b3e44f8b4 Mon Sep 17 00:00:00 2001 From: pk Date: Mon, 10 Mar 1997 22:56:54 +0000 Subject: [PATCH] Add a field indicating this instance has attached to an `le', so we can have a go at matching le's and lebuffer's on machines where the PROM does not provide a parent/child relationship. --- sys/arch/sparc/dev/lebuffervar.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/sparc/dev/lebuffervar.h b/sys/arch/sparc/dev/lebuffervar.h index ae9358a35c02..7622c50b607f 100644 --- a/sys/arch/sparc/dev/lebuffervar.h +++ b/sys/arch/sparc/dev/lebuffervar.h @@ -1,4 +1,4 @@ -/* $NetBSD: lebuffervar.h,v 1.1 1996/12/06 21:52:01 pk Exp $ */ +/* $NetBSD: lebuffervar.h,v 1.2 1997/03/10 22:56:54 pk Exp $ */ /* * Copyright (c) 1996 Paul Kranenburg. All rights reserved. @@ -36,4 +36,5 @@ struct lebuf_softc { int sc_burst; /* DVMA burst size in effect */ caddr_t sc_buffer; /* VA of the buffer we provide */ int sc_bufsiz; /* Size of buffer */ + int attached; /* 1: in use by `le' device */ };