Deleted Added
full compact
ixp425_wdog.c (167950) ixp425_wdog.c (186352)
1/*-
2 * Copyright (c) 2006 Sam Leffler. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

17 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */
24#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2006 Sam Leffler. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

17 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */
24#include <sys/cdefs.h>
25__FBSDID("$FreeBSD: head/sys/arm/xscale/ixp425/ixp425_wdog.c 167950 2007-03-27 21:03:37Z n_hibma $");
25__FBSDID("$FreeBSD: head/sys/arm/xscale/ixp425/ixp425_wdog.c 186352 2008-12-20 03:26:09Z sam $");
26
27/*
26
27/*
28 * IXP425 Watchdog Timer Support.
28 * IXP4XX Watchdog Timer Support.
29 */
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/kernel.h>
33#include <sys/module.h>
34#include <sys/time.h>
35#include <sys/bus.h>
36#include <sys/resource.h>

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

83 WR4(sc, IXP425_OST_WDOG_ENAB, 0);
84 }
85 WR4(sc, IXP425_OST_WDOG_KEY, 0);
86}
87
88static int
89ixpwdog_probe(device_t dev)
90{
29 */
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/kernel.h>
33#include <sys/module.h>
34#include <sys/time.h>
35#include <sys/bus.h>
36#include <sys/resource.h>

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

83 WR4(sc, IXP425_OST_WDOG_ENAB, 0);
84 }
85 WR4(sc, IXP425_OST_WDOG_KEY, 0);
86}
87
88static int
89ixpwdog_probe(device_t dev)
90{
91 device_set_desc(dev, "IXP425 Watchdog Timer");
91 device_set_desc(dev, "IXP4XX Watchdog Timer");
92 return (0);
93}
94
95static int
96ixpwdog_attach(device_t dev)
97{
98 struct ixpwdog_softc *sc = device_get_softc(dev);
99

--- 19 unchanged lines hidden ---
92 return (0);
93}
94
95static int
96ixpwdog_attach(device_t dev)
97{
98 struct ixpwdog_softc *sc = device_get_softc(dev);
99

--- 19 unchanged lines hidden ---