summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_le.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-10-23 21:28:03 +0000
committerwollman <wollman@FreeBSD.org>1994-10-23 21:28:03 +0000
commit7b8e09399aded7c12a148b104ccf05419e73ba88 (patch)
treec2370b235711beb410091996b92230bc38cd2a7e /sys/i386/isa/if_le.c
parent5727d2fc7e7202ade434ecfa3f1e91a6f714d47e (diff)
downloadFreeBSD-src-7b8e09399aded7c12a148b104ccf05419e73ba88.zip
FreeBSD-src-7b8e09399aded7c12a148b104ccf05419e73ba88.tar.gz
Finished device configuration database work for all ISA devices (except `ze')
and all SCSI devices (except that it's not done quite the way I want). New information added includes: - A text description of the device - A ``state''---unknown, unconfigured, idle, or busy - A generic parent device (with support in the m.i. code) - An interrupt mask type field (which will hopefully go away) so that . ``doconfig'' can be written This requires a new version of the `lsdev' program as well (next commit).
Diffstat (limited to 'sys/i386/isa/if_le.c')
-rw-r--r--sys/i386/isa/if_le.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/sys/i386/isa/if_le.c b/sys/i386/isa/if_le.c
index cfe00cb..d3ab8cf 100644
--- a/sys/i386/isa/if_le.c
+++ b/sys/i386/isa/if_le.c
@@ -21,9 +21,13 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_le.c,v 1.7 1994/10/12 11:39:37 se Exp $
+ * $Id: if_le.c,v 1.8 1994/10/19 01:59:03 wollman Exp $
*
* $Log: if_le.c,v $
+ * Revision 1.8 1994/10/19 01:59:03 wollman
+ * Add support for devconf to a large number of device drivers, and do
+ * the right thing in dev_goawayall() when kdc_goaway is null.
+ *
* Revision 1.7 1994/10/12 11:39:37 se
* Submitted by: Matt Thomas <thomas@lkg.dec.com>
* #ifdef MULTICAST removed.
@@ -337,8 +341,12 @@ unsigned le_intrs[NLE];
static struct kern_devconf kdc_le[NLE] = { {
0, 0, 0, /* filled in by dev_attach */
- "le", 0, { "isa0", MDDT_ISA, 0 },
- isa_generic_externalize, 0, 0, ISA_EXTERNALLEN
+ "le", 0, { MDDT_ISA, 0, "net" },
+ isa_generic_externalize, 0, 0, ISA_EXTERNALLEN,
+ &kdc_isa0, /* parent */
+ 0, /* parentdata */
+ DC_BUSY, /* network interfaces are always busy */
+ "DEC EtherWorks II or EtherWorks III Ethernet adapter"
} };
static inline void
OpenPOWER on IntegriCloud