Deleted Added
full compact
if_fxp.c (41766) if_fxp.c (43309)
1/*
2 * Copyright (c) 1995, David Greenman
3 * All rights reserved.
4 *
5 * Modifications to support NetBSD and media selection:
6 * Copyright (c) 1997 Jason R. Thorpe. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
1/*
2 * Copyright (c) 1995, David Greenman
3 * All rights reserved.
4 *
5 * Modifications to support NetBSD and media selection:
6 * Copyright (c) 1997 Jason R. Thorpe. All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * $Id: if_fxp.c,v 1.58 1998/10/22 02:00:49 dg Exp $
30 * $Id: if_fxp.c,v 1.59 1998/12/14 05:47:27 dillon Exp $
31 */
32
33/*
34 * Intel EtherExpress Pro/100B PCI Fast Ethernet driver
35 */
36
37#include "bpfilter.h"
38

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

118 * Inline function to copy a 16-bit aligned 32-bit quantity.
119 */
120static __inline void fxp_lwcopy __P((volatile u_int32_t *,
121 volatile u_int32_t *));
122static __inline void
123fxp_lwcopy(src, dst)
124 volatile u_int32_t *src, *dst;
125{
31 */
32
33/*
34 * Intel EtherExpress Pro/100B PCI Fast Ethernet driver
35 */
36
37#include "bpfilter.h"
38

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

118 * Inline function to copy a 16-bit aligned 32-bit quantity.
119 */
120static __inline void fxp_lwcopy __P((volatile u_int32_t *,
121 volatile u_int32_t *));
122static __inline void
123fxp_lwcopy(src, dst)
124 volatile u_int32_t *src, *dst;
125{
126 volatile u_int16_t *a = (u_int16_t *)src;
127 volatile u_int16_t *b = (u_int16_t *)dst;
126 volatile u_int16_t *a = (volatile u_int16_t *)src;
127 volatile u_int16_t *b = (volatile u_int16_t *)dst;
128
129 b[0] = a[0];
130 b[1] = a[1];
131}
132
133/*
134 * Template for default configuration parameters.
135 * See struct fxp_cb_config for the bit definitions.

--- 1712 unchanged lines hidden ---
128
129 b[0] = a[0];
130 b[1] = a[1];
131}
132
133/*
134 * Template for default configuration parameters.
135 * See struct fxp_cb_config for the bit definitions.

--- 1712 unchanged lines hidden ---