* Expand softc sc_connectors field to 16 bits.

For now, we really only need 8 bits of media type.

* Add bogus definitions for 100mbit transcievers, to be set in the
  "conn" argument to ep_config(). Should  really  use the same bits
  as in EP_W0_CONFIG_CTRL bits, but I don't know what bits the 3c515
  &c use for 100mbit media.

* Define bitflags for 100Mbit transceiver options in ep_connectors.

* Add definitions of powerup/powerdown commands. for interfaces with
  power management. Should send a powerup after APM resume?

* Add definition of fragment-busmaster (vortex) START_DMA command.

* Add definition  of PCI configuration-space media-present bits.
  (really just EP_W3_RESET_OPTIONS remapped into pci config space.)

* Add comments describing what the #define's above are used for.
This commit is contained in:
jonathan 1996-12-29 12:36:43 +00:00
parent 89dcb48dfb
commit 48f7828104

View File

@ -1,4 +1,4 @@
/* $NetBSD: elink3var.h,v 1.7 1996/11/17 23:58:31 jonathan Exp $ */
/* $NetBSD: elink3var.h,v 1.8 1996/12/29 12:36:43 jonathan Exp $ */
/*
* Copyright (c) 1994 Herb Peyerl <hpeyerl@beer.org>
@ -40,7 +40,7 @@ struct ep_softc {
struct arpcom sc_arpcom; /* Ethernet common part */
bus_space_tag_t sc_iot; /* bus cookie */
bus_space_handle_t sc_ioh; /* bus i/o handle */
char ep_connectors; /* Connectors on this card. */
u_short ep_connectors; /* Connectors on this card. */
#define MAX_MBS 8 /* # of mbufs we keep around */
struct mbuf *mb[MAX_MBS]; /* spare mbuf storage. */
int next_mb; /* Which mbuf to use next. */