Commit 28dbfcb1 authored by Aaron Plattner's avatar Aaron Plattner

331.17

parent 7da52c0d
This diff is collapsed.
......@@ -55,6 +55,8 @@
int nvidia_modprobe(const int print_errors, int module_instance);
int nvidia_mknod(int minor, int module_instance);
int nvidia_uvm_modprobe(const int print_errors);
int nvidia_uvm_mknod(int minor);
#endif /* NV_LINUX */
......
......@@ -150,23 +150,25 @@ int main(int argc, char *argv[])
}
}
/* Load the kernel module. */
ret = nvidia_modprobe(0, module_instance);
if (!ret)
{
goto done;
}
/* Load the kernel module. */
/* Create any device files requested. */
for (i = 0; i < num_minors; i++)
{
ret = nvidia_mknod(minors[i], module_instance);
ret = nvidia_modprobe(0, module_instance);
if (!ret)
{
goto done;
}
/* Create any device files requested. */
for (i = 0; i < num_minors; i++)
{
ret = nvidia_mknod(minors[i], module_instance);
if (!ret)
{
goto done;
}
}
}
done:
......
NVIDIA_VERSION = 331.13
NVIDIA_VERSION = 331.17
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment