1/*- 2 * Copyright (c) 1997, 1998 3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 30 * THE POSSIBILITY OF SUCH DAMAGE. 31 * |
32 * $FreeBSD: head/sys/pci/if_xlreg.h 147256 2005-06-10 16:49:24Z brooks $ |
33 */ 34 35#define XL_EE_READ 0x0080 /* read, 5 bit address */ 36#define XL_EE_WRITE 0x0040 /* write, 5 bit address */ 37#define XL_EE_ERASE 0x00c0 /* erase, 5 bit address */ 38#define XL_EE_EWEN 0x0030 /* erase, no data needed */ 39#define XL_EE_8BIT_READ 0x0200 /* read, 8 bit address */ 40#define XL_EE_BUSY 0x8000 --- 534 unchanged lines hidden (view full) --- 575#define XL_FLAG_INVERT_MII_PWR 0x0040 576#define XL_FLAG_NO_XCVR_PWR 0x0080 577#define XL_FLAG_USE_MMIO 0x0100 578#define XL_FLAG_NO_MMIO 0x0200 579 580#define XL_NO_XCVR_PWR_MAGICBITS 0x0900 581 582struct xl_softc { |
583 struct ifnet *xl_ifp; /* interface info */ |
584 struct ifmedia ifmedia; /* media info */ 585 bus_space_handle_t xl_bhandle; 586 bus_space_tag_t xl_btag; 587 void *xl_intrhand; 588 struct resource *xl_irq; 589 struct resource *xl_res; 590 device_t xl_miibus; 591 struct xl_type *xl_info; /* 3Com adapter info */ --- 150 unchanged lines hidden --- |