obs200_autoconf.c revision 1.1.6.2 1 1.1.6.2 kent /* $NetBSD: obs200_autoconf.c,v 1.1.6.2 2005/04/29 11:28:09 kent Exp $ */
2 1.1.6.2 kent
3 1.1.6.2 kent /*
4 1.1.6.2 kent * Copyright 2004 Shigeyuki Fukushima.
5 1.1.6.2 kent * All rights reserved.
6 1.1.6.2 kent *
7 1.1.6.2 kent * Written by Shigeyuki Fukushima for The NetBSD Project.
8 1.1.6.2 kent *
9 1.1.6.2 kent * Redistribution and use in source and binary forms, with or without
10 1.1.6.2 kent * modification, are permitted provided that the following conditions
11 1.1.6.2 kent * are met:
12 1.1.6.2 kent * 1. Redistributions of source code must retain the above copyright
13 1.1.6.2 kent * notice, this list of conditions and the following disclaimer.
14 1.1.6.2 kent * 2. Redistributions in binary form must reproduce the above
15 1.1.6.2 kent * copyright notice, this list of conditions and the following
16 1.1.6.2 kent * disclaimer in the documentation and/or other materials provided
17 1.1.6.2 kent * with the distribution.
18 1.1.6.2 kent * 3. The name of the author may not be used to endorse or promote
19 1.1.6.2 kent * products derived from this software without specific prior
20 1.1.6.2 kent * written permission.
21 1.1.6.2 kent *
22 1.1.6.2 kent * THIS SOFTWARE IS PROVIDED THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
23 1.1.6.2 kent * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
24 1.1.6.2 kent * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
25 1.1.6.2 kent * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE
26 1.1.6.2 kent * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27 1.1.6.2 kent * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
28 1.1.6.2 kent * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
29 1.1.6.2 kent * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
30 1.1.6.2 kent * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 1.1.6.2 kent * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
32 1.1.6.2 kent * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
33 1.1.6.2 kent * DAMAGE.
34 1.1.6.2 kent */
35 1.1.6.2 kent #include <sys/cdefs.h>
36 1.1.6.2 kent __KERNEL_RCSID(0, "$NetBSD: obs200_autoconf.c,v 1.1.6.2 2005/04/29 11:28:09 kent Exp $");
37 1.1.6.2 kent
38 1.1.6.2 kent #include <sys/systm.h>
39 1.1.6.2 kent #include <sys/device.h>
40 1.1.6.2 kent
41 1.1.6.2 kent #include <machine/obs200.h>
42 1.1.6.2 kent
43 1.1.6.2 kent void device_register(struct device *dev, void *aux)
44 1.1.6.2 kent {
45 1.1.6.2 kent
46 1.1.6.2 kent obs405_device_register(dev, aux, OBS200_COM_FREQ);
47 1.1.6.2 kent }
48