NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/40011: can't load smbfs module



>>>>> "Andrew" == Andrew Doran <ad%netbsd.org@localhost> writes:

    Andrew> Hmm, I think the nsmb driver needs to be included in the
    Andrew> module.

Should it be that easy?:

Index: smbfs/Makefile
===================================================================
RCS file: /cvsroot/src/sys/modules/smbfs/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- smbfs/Makefile      28 Jun 2008 16:11:36 -0000      1.1
+++ smbfs/Makefile      24 May 2009 20:53:11 -0000
@@ -5,7 +5,13 @@
 .PATH: ${S}/fs/smbfs
 
 KMOD=  smbfs
-SRCS=  smbfs_io.c smbfs_kq.c smbfs_node.c smbfs_smb.c smbfs_subr.c \
+
+.PATH: ${S}/netsmb
+SRCS=  iconv.c smb_conn.c smb_crypt.c smb_dev.c smb_iod.c smb_rq.c \
+       smb_smb.c smb_subr.c smb_trantcp.c smb_usr.c subr_mchain.c
+
+.PATH: ${S}/fs/smbfs
+SRCS+= smbfs_io.c smbfs_kq.c smbfs_node.c smbfs_smb.c smbfs_subr.c \
        smbfs_vfsops.c smbfs_vnops.c
 
 .include <bsd.kmodule.mk>

Compiles and runs fine for me...

Markus.


Home | Main Index | Thread Index | Old Index