Deleted Added
full compact
if_kr.c (180332) if_kr.c (182901)
1/*-
2 * Copyright (C) 2007
3 * Oleksandr Tymoshenko <gonzo@freebsd.org>. 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

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

23 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
24 * THE POSSIBILITY OF SUCH DAMAGE.
25 *
26 * $Id: $
27 *
28 */
29
30#include <sys/cdefs.h>
1/*-
2 * Copyright (C) 2007
3 * Oleksandr Tymoshenko <gonzo@freebsd.org>. 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

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

23 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
24 * THE POSSIBILITY OF SUCH DAMAGE.
25 *
26 * $Id: $
27 *
28 */
29
30#include <sys/cdefs.h>
31__FBSDID("$FreeBSD: head/sys/mips/idt/if_kr.c 178173 2008-04-13 07:44:55Z imp $");
31__FBSDID("$FreeBSD: head/sys/mips/idt/if_kr.c 182901 2008-09-10 03:49:08Z gonzo $");
32
33/*
34 * RC32434 Ethernet interface driver
35 */
36#include <sys/param.h>
37#include <sys/endian.h>
38#include <sys/systm.h>
39#include <sys/sockio.h>

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

64#include <dev/pci/pcireg.h>
65#include <dev/pci/pcivar.h>
66
67MODULE_DEPEND(kr, ether, 1, 1, 1);
68MODULE_DEPEND(kr, miibus, 1, 1, 1);
69
70#include "miibus_if.h"
71
32
33/*
34 * RC32434 Ethernet interface driver
35 */
36#include <sys/param.h>
37#include <sys/endian.h>
38#include <sys/systm.h>
39#include <sys/sockio.h>

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

64#include <dev/pci/pcireg.h>
65#include <dev/pci/pcivar.h>
66
67MODULE_DEPEND(kr, ether, 1, 1, 1);
68MODULE_DEPEND(kr, miibus, 1, 1, 1);
69
70#include "miibus_if.h"
71
72#include <mips/mips32/idt/if_krreg.h>
72#include
73
74#define KR_DEBUG
75
76static int kr_attach(device_t);
77static int kr_detach(device_t);
78static int kr_ifmedia_upd(struct ifnet *);
79static void kr_ifmedia_sts(struct ifnet *, struct ifmediareq *);
80static int kr_ioctl(struct ifnet *, u_long, caddr_t);

--- 1535 unchanged lines hidden ---
73
74#define KR_DEBUG
75
76static int kr_attach(device_t);
77static int kr_detach(device_t);
78static int kr_ifmedia_upd(struct ifnet *);
79static void kr_ifmedia_sts(struct ifnet *, struct ifmediareq *);
80static int kr_ioctl(struct ifnet *, u_long, caddr_t);

--- 1535 unchanged lines hidden ---