diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2005-04-17 07:44:28 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2005-04-17 07:44:28 +0000 |
commit | e5e2a21eeccd64c209e827210c060dd211537f4f (patch) | |
tree | 0a1715d3b89b6d74312130247206851e2f66c7a8 /misc/zaptel/files/patch-zaptel::zaptel.c | |
parent | Update to the latest snapshot of the driver. This improves existing support (diff) |
Forgot to add/remove patches in the previous commit.
Notes
Notes:
svn path=/head/; revision=133508
Diffstat (limited to 'misc/zaptel/files/patch-zaptel::zaptel.c')
-rw-r--r-- | misc/zaptel/files/patch-zaptel::zaptel.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/misc/zaptel/files/patch-zaptel::zaptel.c b/misc/zaptel/files/patch-zaptel::zaptel.c deleted file mode 100644 index a5fc0b4cf7d9..000000000000 --- a/misc/zaptel/files/patch-zaptel::zaptel.c +++ /dev/null @@ -1,26 +0,0 @@ - -$FreeBSD$ - ---- zaptel/zaptel.c -+++ zaptel/zaptel.c -@@ -156,12 +156,17 @@ - #endif - - static struct cdevsw zt_devsw = { --#if __FreeBSD_version >= 502103 -+#if __FreeBSD_version < 502103 -+#ifdef MAJOR_AUTO -+ .d_maj = MAJOR_AUTO, -+#else -+ .d_maj = ZT_MAJOR, -+#endif -+#else - .d_version = D_VERSION, - #endif - .d_open = ztopen, -- .d_name = "zaptel", -- .d_maj = ZT_MAJOR -+ .d_name = "zaptel" - }; - - |