if_sfreg.h (158471) | if_sfreg.h (162315) |
---|---|
1/*- 2 * Copyright (c) 1997, 1998, 1999 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, 1999 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/dev/sf/if_sfreg.h 158471 2006-05-12 05:04:46Z jhb $ | 32 * $FreeBSD: head/sys/dev/sf/if_sfreg.h 162315 2006-09-15 10:40:54Z glebius $ |
33 */ 34 35/* 36 * Registers for the Adaptec AIC-6915 Starfire. The Starfire has a 512K 37 * register space. These registers can be accessed in the following way: 38 * - PCI config registers are always accessible through PCI config space 39 * - Full 512K space mapped into memory using PCI memory mapped access 40 * - 256-byte I/O space mapped through PCI I/O access --- 986 unchanged lines hidden (view full) --- 1027 */ 1028 struct sf_rx_bufdesc_type0 sf_rx_dlist_small[SF_RX_DLIST_CNT]; 1029#endif 1030 struct sf_rx_cmpdesc_type3 sf_rx_clist[SF_RX_CLIST_CNT]; 1031}; 1032 1033struct sf_softc { 1034 struct ifnet *sf_ifp; /* interface info */ | 33 */ 34 35/* 36 * Registers for the Adaptec AIC-6915 Starfire. The Starfire has a 512K 37 * register space. These registers can be accessed in the following way: 38 * - PCI config registers are always accessible through PCI config space 39 * - Full 512K space mapped into memory using PCI memory mapped access 40 * - 256-byte I/O space mapped through PCI I/O access --- 986 unchanged lines hidden (view full) --- 1027 */ 1028 struct sf_rx_bufdesc_type0 sf_rx_dlist_small[SF_RX_DLIST_CNT]; 1029#endif 1030 struct sf_rx_cmpdesc_type3 sf_rx_clist[SF_RX_CLIST_CNT]; 1031}; 1032 1033struct sf_softc { 1034 struct ifnet *sf_ifp; /* interface info */ |
1035 device_t sf_dev; /* device info */ |
|
1035 bus_space_handle_t sf_bhandle; /* bus space handle */ 1036 bus_space_tag_t sf_btag; /* bus space tag */ 1037 void *sf_intrhand; /* interrupt handler cookie */ 1038 struct resource *sf_irq; /* irq resource descriptor */ 1039 struct resource *sf_res; /* mem/ioport resource */ 1040 struct sf_type *sf_info; /* Starfire adapter info */ 1041 device_t sf_miibus; 1042 struct sf_list_data *sf_ldata; --- 16 unchanged lines hidden --- | 1036 bus_space_handle_t sf_bhandle; /* bus space handle */ 1037 bus_space_tag_t sf_btag; /* bus space tag */ 1038 void *sf_intrhand; /* interrupt handler cookie */ 1039 struct resource *sf_irq; /* irq resource descriptor */ 1040 struct resource *sf_res; /* mem/ioport resource */ 1041 struct sf_type *sf_info; /* Starfire adapter info */ 1042 device_t sf_miibus; 1043 struct sf_list_data *sf_ldata; --- 16 unchanged lines hidden --- |