diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 1994-10-23 21:28:03 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 1994-10-23 21:28:03 +0000 |
commit | 2f86936a077e531bc6fed8688d33030ae28ea45a (patch) | |
tree | c2370b235711beb410091996b92230bc38cd2a7e /sys/i386/isa/if_le.c | |
parent | e8fbe458e4e300f2d5edc97a04eeee01c368267a (diff) | |
download | src-2f86936a077e531bc6fed8688d33030ae28ea45a.tar.gz src-2f86936a077e531bc6fed8688d33030ae28ea45a.zip |
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).
Notes
Notes:
svn path=/head/; revision=3816
Diffstat (limited to 'sys/i386/isa/if_le.c')
-rw-r--r-- | sys/i386/isa/if_le.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/sys/i386/isa/if_le.c b/sys/i386/isa/if_le.c index cfe00cb371fd..d3ab8cf3ab77 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 |