Fixes for lkm:
1. use VFS_LKM vs ACTUALLY_LKM_NOT_KERNEL 2. don't pass -DCODA to lkm build
This commit is contained in:
parent
5081946172
commit
ecee3646ce
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile,v 1.6 1998/02/06 23:54:22 eivind Exp $
|
||||
# $Id: Makefile,v 1.1.1.1 1998/09/25 17:47:48 rvb Exp $
|
||||
|
||||
.PATH: ${.CURDIR}/../../sys/coda
|
||||
KMOD= coda_mod
|
||||
@ -6,6 +6,5 @@ SRCS= coda_fbsd.c coda_namecache.c coda_psdev.c coda_subr.c \
|
||||
coda_venus.c coda_vfsops.c coda_vnops.c
|
||||
NOMAN=
|
||||
VFS_LKM=
|
||||
CFLAGS+= -DCODA
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
@ -27,11 +27,11 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_fbsd.cr,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_fbsd.c,v 1.5 1998/09/25 17:38:31 rvb Exp $
|
||||
* $Id: coda_fbsd.c,v 1.6 1998/09/28 20:52:57 rvb Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#ifdef ACTUALLY_LKM_NOT_KERNEL
|
||||
#ifdef VFS_LKM
|
||||
#define NVCODA 4
|
||||
#else
|
||||
#include "vcoda.h"
|
||||
@ -223,7 +223,7 @@ coda_fbsd_putpages(v)
|
||||
|
||||
SYSINIT(codadev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+VC_DEV_NO,vc_drvinit,NULL)
|
||||
|
||||
#ifdef ACTUALLY_LKM_NOT_KERNEL
|
||||
#ifdef VFS_LKM
|
||||
|
||||
#include <sys/mount.h>
|
||||
#include <sys/lkm.h>
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_psdev.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_psdev.c,v 1.5 1998/09/25 17:38:31 rvb Exp $
|
||||
* $Id: coda_psdev.c,v 1.6 1998/09/28 20:52:58 rvb Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -53,6 +53,9 @@
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_psdev.c,v $
|
||||
* Revision 1.6 1998/09/28 20:52:58 rvb
|
||||
* Cleanup and fix THE bug
|
||||
*
|
||||
* Revision 1.5 1998/09/25 17:38:31 rvb
|
||||
* Put "stray" printouts under DIAGNOSTIC. Make everything build
|
||||
* with DEBUG on. Add support for lkm. (The macro's don't work
|
||||
@ -166,7 +169,7 @@
|
||||
|
||||
extern int coda_nc_initialized; /* Set if cache has been initialized */
|
||||
|
||||
#ifdef ACTUALLY_LKM_NOT_KERNEL
|
||||
#ifdef VFS_LKM
|
||||
#define NVCODA 4
|
||||
#else
|
||||
#include <vcoda.h>
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_subr.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_subr.c,v 1.5 1998/09/13 13:57:59 rvb Exp $
|
||||
* $Id: coda_subr.c,v 1.6 1998/09/25 17:38:31 rvb Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -46,6 +46,11 @@
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_subr.c,v $
|
||||
* Revision 1.6 1998/09/25 17:38:31 rvb
|
||||
* Put "stray" printouts under DIAGNOSTIC. Make everything build
|
||||
* with DEBUG on. Add support for lkm. (The macro's don't work
|
||||
* for me; for a good chuckle look at the end of coda_fbsd.c.)
|
||||
*
|
||||
* Revision 1.5 1998/09/13 13:57:59 rvb
|
||||
* Finish conversion of cfs -> coda
|
||||
*
|
||||
@ -213,7 +218,7 @@
|
||||
* 4. coda_cacheprint (under DEBUG) prints names with vnode/cnode address
|
||||
*/
|
||||
|
||||
#ifdef ACTUALLY_LKM_NOT_KERNEL
|
||||
#ifdef VFS_LKM
|
||||
#define NVCODA 4
|
||||
#else
|
||||
#include <vcoda.h>
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/cfs/coda_vfsops.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_vfsops.c,v 1.5 1998/09/13 13:57:59 rvb Exp $
|
||||
* $Id: coda_vfsops.c,v 1.6 1998/09/25 17:38:32 rvb Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -47,6 +47,11 @@
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_vfsops.c,v $
|
||||
* Revision 1.6 1998/09/25 17:38:32 rvb
|
||||
* Put "stray" printouts under DIAGNOSTIC. Make everything build
|
||||
* with DEBUG on. Add support for lkm. (The macro's don't work
|
||||
* for me; for a good chuckle look at the end of coda_fbsd.c.)
|
||||
*
|
||||
* Revision 1.5 1998/09/13 13:57:59 rvb
|
||||
* Finish conversion of cfs -> coda
|
||||
*
|
||||
@ -185,7 +190,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifdef ACTUALLY_LKM_NOT_KERNEL
|
||||
#ifdef VFS_LKM
|
||||
#define NVCODA 4
|
||||
#else
|
||||
#include <vcoda.h>
|
||||
@ -734,7 +739,7 @@ struct vfsops coda_vfsops = {
|
||||
coda_init,
|
||||
};
|
||||
|
||||
#ifdef ACTUALLY_LKM_NOT_KERNEL
|
||||
#ifdef VFS_LKM
|
||||
/*
|
||||
* This case is being handled in coda_fbsd.c
|
||||
* What we want is too hairy for VFS_SET to get right!
|
||||
|
@ -27,11 +27,11 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_fbsd.cr,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_fbsd.c,v 1.5 1998/09/25 17:38:31 rvb Exp $
|
||||
* $Id: coda_fbsd.c,v 1.6 1998/09/28 20:52:57 rvb Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#ifdef ACTUALLY_LKM_NOT_KERNEL
|
||||
#ifdef VFS_LKM
|
||||
#define NVCODA 4
|
||||
#else
|
||||
#include "vcoda.h"
|
||||
@ -223,7 +223,7 @@ coda_fbsd_putpages(v)
|
||||
|
||||
SYSINIT(codadev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+VC_DEV_NO,vc_drvinit,NULL)
|
||||
|
||||
#ifdef ACTUALLY_LKM_NOT_KERNEL
|
||||
#ifdef VFS_LKM
|
||||
|
||||
#include <sys/mount.h>
|
||||
#include <sys/lkm.h>
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_psdev.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_psdev.c,v 1.5 1998/09/25 17:38:31 rvb Exp $
|
||||
* $Id: coda_psdev.c,v 1.6 1998/09/28 20:52:58 rvb Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -53,6 +53,9 @@
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_psdev.c,v $
|
||||
* Revision 1.6 1998/09/28 20:52:58 rvb
|
||||
* Cleanup and fix THE bug
|
||||
*
|
||||
* Revision 1.5 1998/09/25 17:38:31 rvb
|
||||
* Put "stray" printouts under DIAGNOSTIC. Make everything build
|
||||
* with DEBUG on. Add support for lkm. (The macro's don't work
|
||||
@ -166,7 +169,7 @@
|
||||
|
||||
extern int coda_nc_initialized; /* Set if cache has been initialized */
|
||||
|
||||
#ifdef ACTUALLY_LKM_NOT_KERNEL
|
||||
#ifdef VFS_LKM
|
||||
#define NVCODA 4
|
||||
#else
|
||||
#include <vcoda.h>
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/coda/coda_subr.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_subr.c,v 1.5 1998/09/13 13:57:59 rvb Exp $
|
||||
* $Id: coda_subr.c,v 1.6 1998/09/25 17:38:31 rvb Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -46,6 +46,11 @@
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_subr.c,v $
|
||||
* Revision 1.6 1998/09/25 17:38:31 rvb
|
||||
* Put "stray" printouts under DIAGNOSTIC. Make everything build
|
||||
* with DEBUG on. Add support for lkm. (The macro's don't work
|
||||
* for me; for a good chuckle look at the end of coda_fbsd.c.)
|
||||
*
|
||||
* Revision 1.5 1998/09/13 13:57:59 rvb
|
||||
* Finish conversion of cfs -> coda
|
||||
*
|
||||
@ -213,7 +218,7 @@
|
||||
* 4. coda_cacheprint (under DEBUG) prints names with vnode/cnode address
|
||||
*/
|
||||
|
||||
#ifdef ACTUALLY_LKM_NOT_KERNEL
|
||||
#ifdef VFS_LKM
|
||||
#define NVCODA 4
|
||||
#else
|
||||
#include <vcoda.h>
|
||||
|
@ -27,7 +27,7 @@
|
||||
* Mellon the rights to redistribute these changes without encumbrance.
|
||||
*
|
||||
* @(#) src/sys/cfs/coda_vfsops.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
|
||||
* $Id: coda_vfsops.c,v 1.5 1998/09/13 13:57:59 rvb Exp $
|
||||
* $Id: coda_vfsops.c,v 1.6 1998/09/25 17:38:32 rvb Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -47,6 +47,11 @@
|
||||
/*
|
||||
* HISTORY
|
||||
* $Log: coda_vfsops.c,v $
|
||||
* Revision 1.6 1998/09/25 17:38:32 rvb
|
||||
* Put "stray" printouts under DIAGNOSTIC. Make everything build
|
||||
* with DEBUG on. Add support for lkm. (The macro's don't work
|
||||
* for me; for a good chuckle look at the end of coda_fbsd.c.)
|
||||
*
|
||||
* Revision 1.5 1998/09/13 13:57:59 rvb
|
||||
* Finish conversion of cfs -> coda
|
||||
*
|
||||
@ -185,7 +190,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifdef ACTUALLY_LKM_NOT_KERNEL
|
||||
#ifdef VFS_LKM
|
||||
#define NVCODA 4
|
||||
#else
|
||||
#include <vcoda.h>
|
||||
@ -734,7 +739,7 @@ struct vfsops coda_vfsops = {
|
||||
coda_init,
|
||||
};
|
||||
|
||||
#ifdef ACTUALLY_LKM_NOT_KERNEL
|
||||
#ifdef VFS_LKM
|
||||
/*
|
||||
* This case is being handled in coda_fbsd.c
|
||||
* What we want is too hairy for VFS_SET to get right!
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile,v 1.6 1998/02/06 23:54:22 eivind Exp $
|
||||
# $Id: Makefile,v 1.1.1.1 1998/09/25 17:47:48 rvb Exp $
|
||||
|
||||
.PATH: ${.CURDIR}/../../sys/coda
|
||||
KMOD= coda_mod
|
||||
@ -6,6 +6,5 @@ SRCS= coda_fbsd.c coda_namecache.c coda_psdev.c coda_subr.c \
|
||||
coda_venus.c coda_vfsops.c coda_vnops.c
|
||||
NOMAN=
|
||||
VFS_LKM=
|
||||
CFLAGS+= -DCODA
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user