summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_xlreg.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-07-20 21:23:17 +0000
committerwpaul <wpaul@FreeBSD.org>1999-07-20 21:23:17 +0000
commit636feedd28b9d8d576a4624516dbcd34d7598dae (patch)
treed0364f774de340b9d6450379c5e5c1180fe54d2d /sys/pci/if_xlreg.h
parentab3ab1d2c07331358b51abfe403df7a9113aca45 (diff)
downloadFreeBSD-src-636feedd28b9d8d576a4624516dbcd34d7598dae.zip
FreeBSD-src-636feedd28b9d8d576a4624516dbcd34d7598dae.tar.gz
Convert the xl driver to newbus. It is now possible to make this driver
into a loadable module, and all of the platform dependencies are gone (except for the alpha_XXX_dmamap() thing, which is another issue -- I still don't know how to use the busdma stuff with a network driver). Also increase the delay in xl_reset(); testing on a 486/66 with a 3c905C shows that reading the EEPROM fails immediately after a reset. Waiting a little longer after the reset completes seems to fix it.
Diffstat (limited to 'sys/pci/if_xlreg.h')
-rw-r--r--sys/pci/if_xlreg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/pci/if_xlreg.h b/sys/pci/if_xlreg.h
index 49f95a4..c748246 100644
--- a/sys/pci/if_xlreg.h
+++ b/sys/pci/if_xlreg.h
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_xlreg.h,v 1.16 1999/05/26 23:01:52 gallatin Exp $
+ * $Id: if_xlreg.h,v 1.17 1999/05/30 18:09:17 wpaul Exp $
*/
#define XL_EE_READ 0x0080 /* read, 5 bit address */
@@ -541,6 +541,9 @@ struct xl_softc {
struct ifmedia ifmedia; /* media info */
bus_space_handle_t xl_bhandle;
bus_space_tag_t xl_btag;
+ void *xl_intrhand;
+ struct resource *xl_irq;
+ struct resource *xl_res;
struct xl_type *xl_info; /* 3Com adapter info */
struct xl_type *xl_pinfo; /* phy info */
u_int8_t xl_unit; /* interface number */
OpenPOWER on IntegriCloud