Deleted Added
full compact
if_tsec.h (176774) if_tsec.h (177111)
1/*-
2 * Copyright (C) 2006-2007 Semihalf
3 * All rights reserved.
4 *
5 * Written by: Piotr Kruszynski <ppk@semihalf.com>
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

21 * NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
23 * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
24 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
25 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
26 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 *
1/*-
2 * Copyright (C) 2006-2007 Semihalf
3 * All rights reserved.
4 *
5 * Written by: Piotr Kruszynski <ppk@semihalf.com>
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

21 * NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
23 * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
24 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
25 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
26 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 *
29 * $FreeBSD: head/sys/dev/tsec/if_tsec.h 176774 2008-03-03 19:03:44Z raj $
29 * $FreeBSD: head/sys/dev/tsec/if_tsec.h 177111 2008-03-12 16:35:25Z raj $
30 */
31
32#define TSEC_RX_NUM_DESC 256
33#define TSEC_TX_NUM_DESC 256
34
35#define OCP_TSEC_RID_TXIRQ 0
36#define OCP_TSEC_RID_RXIRQ 1
37#define OCP_TSEC_RID_ERRIRQ 2

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

86 void *sc_receive_ihand;
87 int sc_receive_irid;
88 struct resource *sc_error_ires;
89 void *sc_error_ihand;
90 int sc_error_irid;
91
92 int tsec_if_flags;
93
30 */
31
32#define TSEC_RX_NUM_DESC 256
33#define TSEC_TX_NUM_DESC 256
34
35#define OCP_TSEC_RID_TXIRQ 0
36#define OCP_TSEC_RID_RXIRQ 1
37#define OCP_TSEC_RID_ERRIRQ 2

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

86 void *sc_receive_ihand;
87 int sc_receive_irid;
88 struct resource *sc_error_ires;
89 void *sc_error_ihand;
90 int sc_error_irid;
91
92 int tsec_if_flags;
93
94 /* Watchdog related */
95 struct callout wd_callout;
96 int wd_timer;
97
94 /* TX maps */
95 bus_dmamap_t tx_map_data[TSEC_TX_NUM_DESC];
96
97 /* unused TX maps data */
98 uint32_t tx_map_unused_get_cnt;
99 uint32_t tx_map_unused_put_cnt;
100 bus_dmamap_t *tx_map_unused_data[TSEC_TX_NUM_DESC];
101

--- 183 unchanged lines hidden ---
98 /* TX maps */
99 bus_dmamap_t tx_map_data[TSEC_TX_NUM_DESC];
100
101 /* unused TX maps data */
102 uint32_t tx_map_unused_get_cnt;
103 uint32_t tx_map_unused_put_cnt;
104 bus_dmamap_t *tx_map_unused_data[TSEC_TX_NUM_DESC];
105

--- 183 unchanged lines hidden ---