aboutsummaryrefslogtreecommitdiffstats
path: root/misc/dahdi-kmod/files/patch-freebsd-drivers-dahdi-dahdi-base.c
blob: 8f41048ee7ace5b2fee4ba05e92e321f62e40f30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- freebsd/drivers/dahdi/dahdi-base.c.orig 2013-10-31 17:36:56.000000000 +0700
+++ freebsd/drivers/dahdi/dahdi-base.c  2013-10-31 17:47:28.000000000 +0700
@@ -9206,7 +9263,9 @@
    .d_poll     = dahdi_device_poll,
    .d_mmap     = dahdi_device_mmap,
    .d_name     = "dahdi",
-#if __FreeBSD_version >= 800039
+#if __FreeBSD_version >= 1000000
+   .d_flags    = D_TRACKCLOSE | D_NEEDMINOR,
+#elif __FreeBSD_version >= 800039
    .d_flags    = D_PSEUDO | D_TRACKCLOSE | D_NEEDMINOR
 #else
    .d_flags    = D_PSEUDO | D_TRACKCLOSE