Hello community,
here is the log from the commit of package zaptel
checked in at Fri Mar 31 15:54:59 CEST 2006.
--------
--- zaptel/zaptel.changes 2006-03-20 18:15:42.000000000 +0100
+++ zaptel/zaptel.changes 2006-03-30 16:12:54.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Mar 30 16:08:03 CEST 2006 - max@suse.de
+
+- Use module_param instead of MODULE_PARM (bug #162172).
+
+-------------------------------------------------------------------
New:
----
zaptel-modparam.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ zaptel.spec ++++++
--- /var/tmp/diff_new_pack.LZDF7D/_old 2006-03-31 15:54:28.000000000 +0200
+++ /var/tmp/diff_new_pack.LZDF7D/_new 2006-03-31 15:54:28.000000000 +0200
@@ -16,7 +16,7 @@
%define bristuff bristuff-0.3.0-PRE-1k
Summary: Tools for the Zapata Telephony Interface Driver
Version: 1.2.4
-Release: 1
+Release: 3
License: GPL
Group: Productivity/Telephony/Utilities
PreReq: %insserv_prereq %fillup_prereq udev
@@ -33,6 +33,7 @@
Patch0: %name-%bristuff.patch
Patch1: %name.patch
Patch2: %name-km.patch
+Patch3: %name-modparam.patch
%description
This package contains configuration files, header files, and setup
@@ -79,6 +80,7 @@
%patch0 -p1
%patch1
%patch2
+%patch3
%build
make prereq all OPTFLAGS="%optflags"
@@ -137,6 +139,8 @@
/usr/include/linux/*.h
%changelog -n zaptel
+* Thu Mar 30 2006 - max@suse.de
+- Use module_param instead of MODULE_PARM (bug #162172).
* Mon Mar 20 2006 - max@suse.de
- zaptel now requires zaptel-kmp.
- New versions: zaptel-1.2.4, bristuff-0.3.0-PRE-1k .
++++++ zaptel-modparam.patch ++++++
--- cwain.c
+++ cwain.c
@@ -1497,8 +1497,8 @@
}
#endif
-MODULE_PARM(ports,"i");
-MODULE_PARM(debug,"i");
+module_param(ports, int, 0400);
+module_param(debug, int, 0600);
MODULE_DESCRIPTION("cwain zaptel driver");
MODULE_AUTHOR("Klaus-Peter Junghanns