Lines 45-51
Link Here
|
45 |
.d_poll = nvidia_dev_poll, |
45 |
.d_poll = nvidia_dev_poll, |
46 |
.d_mmap = nvidia_dev_mmap, |
46 |
.d_mmap = nvidia_dev_mmap, |
47 |
.d_name = "nvidia", |
47 |
.d_name = "nvidia", |
|
|
48 |
#if __FreeBSD_version < 502103 |
48 |
.d_maj = CDEV_MAJOR, |
49 |
.d_maj = CDEV_MAJOR, |
49 |
.d_flags = D_MEM|D_TRACKCLOSE |
50 |
.d_flags = D_MEM|D_TRACKCLOSE |
|
|
51 |
#else |
52 |
.d_version = D_VERSION, |
53 |
.d_flags = D_MEM|D_TRACKCLOSE|D_NEEDGIANT |
54 |
#endif |
50 |
#endif |
55 |
#endif |
51 |
}; |
56 |
}; |