Deleted Added
full compact
adapter.h (346878) adapter.h (346883)
1/*-
2 * Copyright (c) 2011 Chelsio Communications, Inc.
3 * All rights reserved.
4 * Written by: Navdeep Parhar <np@FreeBSD.org>
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 10 unchanged lines hidden (view full) ---

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
1/*-
2 * Copyright (c) 2011 Chelsio Communications, Inc.
3 * All rights reserved.
4 * Written by: Navdeep Parhar <np@FreeBSD.org>
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 10 unchanged lines hidden (view full) ---

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 * $FreeBSD: stable/11/sys/dev/cxgbe/adapter.h 346878 2019-04-29 05:01:34Z np $
27 * $FreeBSD: stable/11/sys/dev/cxgbe/adapter.h 346883 2019-04-29 05:35:52Z np $
28 *
29 */
30
31#ifndef __T4_ADAPTER_H__
32#define __T4_ADAPTER_H__
33
34#include <sys/kernel.h>
35#include <sys/bus.h>

--- 1092 unchanged lines hidden (view full) ---

1128void vi_tick(void *);
1129int rw_via_memwin(struct adapter *, int, uint32_t, uint32_t *, int, int);
1130int alloc_atid_tab(struct tid_info *, int);
1131void free_atid_tab(struct tid_info *);
1132int alloc_atid(struct adapter *, void *);
1133void *lookup_atid(struct adapter *, int);
1134void free_atid(struct adapter *, int);
1135void release_tid(struct adapter *, int, struct sge_wrq *);
28 *
29 */
30
31#ifndef __T4_ADAPTER_H__
32#define __T4_ADAPTER_H__
33
34#include <sys/kernel.h>
35#include <sys/bus.h>

--- 1092 unchanged lines hidden (view full) ---

1128void vi_tick(void *);
1129int rw_via_memwin(struct adapter *, int, uint32_t, uint32_t *, int, int);
1130int alloc_atid_tab(struct tid_info *, int);
1131void free_atid_tab(struct tid_info *);
1132int alloc_atid(struct adapter *, void *);
1133void *lookup_atid(struct adapter *, int);
1134void free_atid(struct adapter *, int);
1135void release_tid(struct adapter *, int, struct sge_wrq *);
1136int cxgbe_media_change(struct ifnet *);
1137void cxgbe_media_status(struct ifnet *, struct ifmediareq *);
1136
1137#ifdef DEV_NETMAP
1138/* t4_netmap.c */
1139struct sge_nm_rxq;
1140void cxgbe_nm_attach(struct vi_info *);
1141void cxgbe_nm_detach(struct vi_info *);
1142void service_nm_rxq(struct sge_nm_rxq *);
1143#endif

--- 119 unchanged lines hidden ---
1138
1139#ifdef DEV_NETMAP
1140/* t4_netmap.c */
1141struct sge_nm_rxq;
1142void cxgbe_nm_attach(struct vi_info *);
1143void cxgbe_nm_detach(struct vi_info *);
1144void service_nm_rxq(struct sge_nm_rxq *);
1145#endif

--- 119 unchanged lines hidden ---