xref: /freebsd/stand/libofw/ofw_module.c (revision 4cddd20e1ea8b9c622c72edfad3e64f70e9d56a9)
1*475008d6SBrandon Bergren /*-
2*475008d6SBrandon Bergren  * Copyright (c) 1998 Michael Smith <msmith@freebsd.org>
3*475008d6SBrandon Bergren  * All rights reserved.
4*475008d6SBrandon Bergren  *
5*475008d6SBrandon Bergren  * Redistribution and use in source and binary forms, with or without
6*475008d6SBrandon Bergren  * modification, are permitted provided that the following conditions
7*475008d6SBrandon Bergren  * are met:
8*475008d6SBrandon Bergren  * 1. Redistributions of source code must retain the above copyright
9*475008d6SBrandon Bergren  *    notice, this list of conditions and the following disclaimer.
10*475008d6SBrandon Bergren  * 2. Redistributions in binary form must reproduce the above copyright
11*475008d6SBrandon Bergren  *    notice, this list of conditions and the following disclaimer in the
12*475008d6SBrandon Bergren  *    documentation and/or other materials provided with the distribution.
13*475008d6SBrandon Bergren  *
14*475008d6SBrandon Bergren  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15*475008d6SBrandon Bergren  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16*475008d6SBrandon Bergren  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17*475008d6SBrandon Bergren  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18*475008d6SBrandon Bergren  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19*475008d6SBrandon Bergren  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20*475008d6SBrandon Bergren  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21*475008d6SBrandon Bergren  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22*475008d6SBrandon Bergren  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23*475008d6SBrandon Bergren  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24*475008d6SBrandon Bergren  * SUCH DAMAGE.
25*475008d6SBrandon Bergren  */
26*475008d6SBrandon Bergren 
27*475008d6SBrandon Bergren /*
28*475008d6SBrandon Bergren  * ofw-specific module functionality.
29*475008d6SBrandon Bergren  *
30*475008d6SBrandon Bergren  */
31*475008d6SBrandon Bergren 
32*475008d6SBrandon Bergren #include <stand.h>
33*475008d6SBrandon Bergren #include <string.h>
34*475008d6SBrandon Bergren 
35*475008d6SBrandon Bergren #include "bootstrap.h"
36*475008d6SBrandon Bergren #include "libofw.h"
37*475008d6SBrandon Bergren 
38*475008d6SBrandon Bergren /*
39*475008d6SBrandon Bergren  * Use voodoo to load modules required by current hardware.
40*475008d6SBrandon Bergren  */
41*475008d6SBrandon Bergren int
ofw_autoload(void)42*475008d6SBrandon Bergren ofw_autoload(void)
43*475008d6SBrandon Bergren {
44*475008d6SBrandon Bergren     /* XXX Call some machdep autoload routine? */
45*475008d6SBrandon Bergren     return (0);
46*475008d6SBrandon Bergren }
47