diff options
author | peter <peter@FreeBSD.org> | 1995-10-28 12:35:14 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1995-10-28 12:35:14 +0000 |
commit | cb39a8365e221ff2749620b51e86782d346a1407 (patch) | |
tree | 82d972add7e7b42b080d221c860f2d3f1e511a97 /sys/modules/syscons/star | |
parent | 466353d34a79d4d0e9ee249600e9424f3bc90d9f (diff) | |
download | FreeBSD-src-cb39a8365e221ff2749620b51e86782d346a1407.zip FreeBSD-src-cb39a8365e221ff2749620b51e86782d346a1407.tar.gz |
Do a pass over the broken LKM's and update them to use the "new"
convention of having their entry point named "<modname>_mod"".
Symorder is enforcing this when the current bsd.kmod.mk is installed.
I've not tested all these, but at least they all compile now.
Reattach them to the makefile.
Note that the change that I made to symorder needs to be compiled and
installed before any LKM's will work - the last version was corrupting
the relocation tables. A "make world" will to this, but if you
manually run a make on the lkm's you'll need to take care of it by
hand.
Diffstat (limited to 'sys/modules/syscons/star')
-rw-r--r-- | sys/modules/syscons/star/star_saver.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/modules/syscons/star/star_saver.c b/sys/modules/syscons/star/star_saver.c index d023228..f78996b 100644 --- a/sys/modules/syscons/star/star_saver.c +++ b/sys/modules/syscons/star/star_saver.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: star_saver.c,v 1.2 1995/03/30 15:10:03 sos Exp $ + * $Id: star_saver.c,v 1.3 1995/05/30 06:06:20 rgrimes Exp $ */ #include <sys/param.h> @@ -89,7 +89,7 @@ star_saver(int blank) } } -saver_load(struct lkm_table *lkmtp, int cmd) +star_saver_load(struct lkm_table *lkmtp, int cmd) { (*current_saver)(0); old_saver = current_saver; @@ -98,7 +98,7 @@ saver_load(struct lkm_table *lkmtp, int cmd) return 0; } -saver_unload(struct lkm_table *lkmtp, int cmd) +star_saver_unload(struct lkm_table *lkmtp, int cmd) { (*current_saver)(0); current_saver = old_saver; @@ -106,7 +106,7 @@ saver_unload(struct lkm_table *lkmtp, int cmd) return 0; } -saver_init(struct lkm_table *lkmtp, int cmd, int ver) +star_saver_mod(struct lkm_table *lkmtp, int cmd, int ver) { - DISPATCH(lkmtp, cmd, ver, saver_load, saver_unload, nosys); + DISPATCH(lkmtp, cmd, ver, star_saver_load, star_saver_unload, nosys); } |