Deleted Added
full compact
ixp425_iic.c (181303) ixp425_iic.c (186352)
1/*
2 * Copyright (c) 2006 Kevin Lo. 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.

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

19 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
20 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
23 * POSSIBILITY OF SUCH DAMAGE.
24 */
25
26#include <sys/cdefs.h>
1/*
2 * Copyright (c) 2006 Kevin Lo. 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.

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

19 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
20 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
23 * POSSIBILITY OF SUCH DAMAGE.
24 */
25
26#include <sys/cdefs.h>
27__FBSDID("$FreeBSD: head/sys/arm/xscale/ixp425/ixp425_iic.c 181303 2008-08-04 20:46:15Z jhb $");
27__FBSDID("$FreeBSD: head/sys/arm/xscale/ixp425/ixp425_iic.c 186352 2008-12-20 03:26:09Z sam $");
28
29#include <sys/param.h>
30#include <sys/systm.h>
31#include <sys/kernel.h>
32#include <sys/module.h>
33#include <sys/bus.h>
34#include <sys/uio.h>
35

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

58 device_t iicbb;
59};
60
61static struct ixpiic_softc *ixpiic_sc = NULL;
62
63static int
64ixpiic_probe(device_t dev)
65{
28
29#include <sys/param.h>
30#include <sys/systm.h>
31#include <sys/kernel.h>
32#include <sys/module.h>
33#include <sys/bus.h>
34#include <sys/uio.h>
35

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

58 device_t iicbb;
59};
60
61static struct ixpiic_softc *ixpiic_sc = NULL;
62
63static int
64ixpiic_probe(device_t dev)
65{
66 device_set_desc(dev, "IXP425 GPIO-Based I2C Interface");
66 device_set_desc(dev, "IXP4XX GPIO-Based I2C Interface");
67 return (0);
68}
69
70static int
71ixpiic_attach(device_t dev)
72{
73 struct ixpiic_softc *sc = device_get_softc(dev);
74 struct ixp425_softc *sa = device_get_softc(device_get_parent(dev));

--- 121 unchanged lines hidden ---
67 return (0);
68}
69
70static int
71ixpiic_attach(device_t dev)
72{
73 struct ixpiic_softc *sc = device_get_softc(dev);
74 struct ixp425_softc *sa = device_get_softc(device_get_parent(dev));

--- 121 unchanged lines hidden ---