nforce/nvnet/nvnet.c and linux kernel 2.5.63
Cannot compile nvnet module with linux kernel 2.5.63 source code.
`_MOD_INC_USE_COUNT' is deprecated
`__MOD_DEC_USE_COUNT' is deprecated
nvnet.c: In function `nvnet_remove':
nvnet.c:1172: structure has no member named `driver_data'
Please see attached patch. It may even work for earlier 2.5 kernel versions. I just chose the 2.5.63 kernel version. By the way, rename it from nvnet-patch-2.5.63.diff.txt to nvnet-patch-2.5.63.diff because this forum only accepts the .txt extension and some others.
I did not test it yet but since it compiles just fine it should work. The function you want to test is nvnet_remove. If anyone has any success with this patch write a reply post to let everyone know it worked.