View Single Post
Old 02-23-03, 07:02 PM   #1
Registered User
Join Date: Feb 2003
Location: Toronto, ON, CAN
Posts: 4
Default 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.
Attached Files
File Type: txt nvnet-patch-2.5.63.diff.txt (2.0 KB, 245 views)
bisailb is offline   Reply With Quote