Deleted Added
full compact
if_skreg.h (60938) if_skreg.h (64837)
1/*
2 * Copyright (c) 1997, 1998, 1999, 2000
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, 2000
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/sk/if_skreg.h 60938 2000-05-26 02:09:24Z jake $
32 * $FreeBSD: head/sys/dev/sk/if_skreg.h 64837 2000-08-19 08:32:59Z dwmalone $
33 */
34
35/*
36 * SysKonnect PCI vendor ID
37 */
38#define SK_VENDORID 0x1148
39
40/*

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

1119 (SK_JRAWLEN % sizeof(u_int64_t))))
1120#define SK_MCLBYTES (SK_JLEN - sizeof(u_int64_t))
1121#define SK_JPAGESZ PAGE_SIZE
1122#define SK_RESID (SK_JPAGESZ - (SK_JLEN * SK_JSLOTS) % SK_JPAGESZ)
1123#define SK_JMEM ((SK_JLEN * SK_JSLOTS) + SK_RESID)
1124
1125struct sk_jslot {
1126 caddr_t sk_buf;
33 */
34
35/*
36 * SysKonnect PCI vendor ID
37 */
38#define SK_VENDORID 0x1148
39
40/*

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

1119 (SK_JRAWLEN % sizeof(u_int64_t))))
1120#define SK_MCLBYTES (SK_JLEN - sizeof(u_int64_t))
1121#define SK_JPAGESZ PAGE_SIZE
1122#define SK_RESID (SK_JPAGESZ - (SK_JLEN * SK_JSLOTS) % SK_JPAGESZ)
1123#define SK_JMEM ((SK_JLEN * SK_JSLOTS) + SK_RESID)
1124
1125struct sk_jslot {
1126 caddr_t sk_buf;
1127 int sk_inuse;
1128};
1129
1130struct sk_jpool_entry {
1131 int slot;
1132 SLIST_ENTRY(sk_jpool_entry) jpool_entries;
1133};
1134
1135struct sk_chain {

--- 88 unchanged lines hidden ---
1127};
1128
1129struct sk_jpool_entry {
1130 int slot;
1131 SLIST_ENTRY(sk_jpool_entry) jpool_entries;
1132};
1133
1134struct sk_chain {

--- 88 unchanged lines hidden ---