Deleted Added
full compact
nsgphy.c (119418) nsgphy.c (129844)
1/*
2 * Copyright (c) 2001 Wind River Systems
3 * Copyright (c) 2001
4 * Bill Paul <wpaul@bsdi.com>. All rights reserved.
5 * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
6 * All rights reserved.
7 *
8 * This code is derived from software contributed to The NetBSD Foundation

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

33 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
34 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
35 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
36 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
37 * THE POSSIBILITY OF SUCH DAMAGE.
38 */
39
40#include <sys/cdefs.h>
1/*
2 * Copyright (c) 2001 Wind River Systems
3 * Copyright (c) 2001
4 * Bill Paul <wpaul@bsdi.com>. All rights reserved.
5 * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
6 * All rights reserved.
7 *
8 * This code is derived from software contributed to The NetBSD Foundation

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

33 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
34 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
35 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
36 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
37 * THE POSSIBILITY OF SUCH DAMAGE.
38 */
39
40#include <sys/cdefs.h>
41__FBSDID("$FreeBSD: head/sys/dev/mii/nsgphy.c 119418 2003-08-24 17:55:58Z obrien $");
41__FBSDID("$FreeBSD: head/sys/dev/mii/nsgphy.c 129844 2004-05-29 18:09:10Z marius $");
42
43/*
44 * Driver for the National Semiconductor DP83891 and DP83861
45 * 10/100/1000 PHYs.
46 * Datasheet available at: http://www.national.com/ds/DP/DP83861.pdf
47 *
48 * The DP83891 is the older NatSemi gigE PHY which isn't being sold
49 * anymore. The DP83861 is its replacement, which is an 'enhanced'
50 * firmware driven component. The major difference between the
51 * two is that the 83891 can't generate interrupts, while the
52 * 83861 can. (I think it wasn't originally designed to do this, but
53 * it can now thanks to firmware updates.) The 83861 also allows
54 * access to its internal RAM via indirect register access.
55 */
56
42
43/*
44 * Driver for the National Semiconductor DP83891 and DP83861
45 * 10/100/1000 PHYs.
46 * Datasheet available at: http://www.national.com/ds/DP/DP83861.pdf
47 *
48 * The DP83891 is the older NatSemi gigE PHY which isn't being sold
49 * anymore. The DP83861 is its replacement, which is an 'enhanced'
50 * firmware driven component. The major difference between the
51 * two is that the 83891 can't generate interrupts, while the
52 * 83861 can. (I think it wasn't originally designed to do this, but
53 * it can now thanks to firmware updates.) The 83861 also allows
54 * access to its internal RAM via indirect register access.
55 */
56
57#include <sys/cdefs.h>
58__FBSDID("$FreeBSD: head/sys/dev/mii/nsgphy.c 119418 2003-08-24 17:55:58Z obrien $");
59
60#include <sys/param.h>
61#include <sys/systm.h>
62#include <sys/kernel.h>
63#include <sys/socket.h>
64#include <sys/bus.h>
65
66#include <machine/clock.h>
67

--- 218 unchanged lines hidden ---
57#include <sys/param.h>
58#include <sys/systm.h>
59#include <sys/kernel.h>
60#include <sys/socket.h>
61#include <sys/bus.h>
62
63#include <machine/clock.h>
64

--- 218 unchanged lines hidden ---