if_xlreg.h (149251) | if_xlreg.h (162315) |
---|---|
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 * | 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 149251 2005-08-18 19:24:30Z jhb $ | 32 * $FreeBSD: head/sys/pci/if_xlreg.h 162315 2006-09-15 10:40:54Z glebius $ |
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 --- 535 unchanged lines hidden (view full) --- 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 */ | 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 --- 535 unchanged lines hidden (view full) --- 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 device_t xl_dev; /* device 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 --- | 585 struct ifmedia ifmedia; /* media info */ 586 bus_space_handle_t xl_bhandle; 587 bus_space_tag_t xl_btag; 588 void *xl_intrhand; 589 struct resource *xl_irq; 590 struct resource *xl_res; 591 device_t xl_miibus; 592 struct xl_type *xl_info; /* 3Com adapter info */ --- 150 unchanged lines hidden --- |