summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons/snake
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-10-28 12:35:14 +0000
committerpeter <peter@FreeBSD.org>1995-10-28 12:35:14 +0000
commitcb39a8365e221ff2749620b51e86782d346a1407 (patch)
tree82d972add7e7b42b080d221c860f2d3f1e511a97 /sys/dev/syscons/snake
parent466353d34a79d4d0e9ee249600e9424f3bc90d9f (diff)
downloadFreeBSD-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/dev/syscons/snake')
-rw-r--r--sys/dev/syscons/snake/snake_saver.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/syscons/snake/snake_saver.c b/sys/dev/syscons/snake/snake_saver.c
index 508d764..7a44bcd 100644
--- a/sys/dev/syscons/snake/snake_saver.c
+++ b/sys/dev/syscons/snake/snake_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: snake_saver.c,v 1.4 1995/05/30 06:06:18 rgrimes Exp $
+ * $Id: snake_saver.c,v 1.5 1995/09/04 03:02:08 peter Exp $
*/
#include <sys/param.h>
@@ -99,7 +99,7 @@ snake_saver(int blank)
}
}
-saver_load(struct lkm_table *lkmtp, int cmd)
+snake_saver_load(struct lkm_table *lkmtp, int cmd)
{
(*current_saver)(0);
old_saver = current_saver;
@@ -108,7 +108,7 @@ saver_load(struct lkm_table *lkmtp, int cmd)
return 0;
}
-saver_unload(struct lkm_table *lkmtp, int cmd)
+snake_saver_unload(struct lkm_table *lkmtp, int cmd)
{
(*current_saver)(0);
current_saver = old_saver;
@@ -116,7 +116,7 @@ saver_unload(struct lkm_table *lkmtp, int cmd)
return 0;
}
-saver_init(struct lkm_table *lkmtp, int cmd, int ver)
+snake_saver_mod(struct lkm_table *lkmtp, int cmd, int ver)
{
- DISPATCH(lkmtp, cmd, ver, saver_load, saver_unload, nosys);
+ DISPATCH(lkmtp, cmd, ver, snake_saver_load, snake_saver_unload, nosys);
}
OpenPOWER on IntegriCloud