diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-04-19 18:49:14 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-04-19 18:49:14 +0000 |
commit | 97d55542cdcd06f4870f56925cc7b94df3f9a5d8 (patch) | |
tree | 404c36ebee041e3c088754660533abf9186cf18d /net-dialup | |
parent | remove old xchat mask (diff) | |
download | gentoo-2-97d55542cdcd06f4870f56925cc7b94df3f9a5d8.tar.gz gentoo-2-97d55542cdcd06f4870f56925cc7b94df3f9a5d8.tar.bz2 gentoo-2-97d55542cdcd06f4870f56925cc7b94df3f9a5d8.zip |
Convert MODULE_PARM to module_param (#130412).
(Portage version: 2.0.54)
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/ltmodem/ChangeLog | 7 | ||||
-rw-r--r-- | net-dialup/ltmodem/Manifest | 13 | ||||
-rw-r--r-- | net-dialup/ltmodem/files/ltmodem-2.6-alk-8-module_param.patch | 21 | ||||
-rw-r--r-- | net-dialup/ltmodem/ltmodem-8.31_alpha10-r2.ebuild | 5 |
4 files changed, 32 insertions, 14 deletions
diff --git a/net-dialup/ltmodem/ChangeLog b/net-dialup/ltmodem/ChangeLog index 4e51bd77809d..dedd532d546e 100644 --- a/net-dialup/ltmodem/ChangeLog +++ b/net-dialup/ltmodem/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-dialup/ltmodem # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ChangeLog,v 1.25 2006/03/12 17:04:12 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ChangeLog,v 1.26 2006/04/19 18:49:14 mrness Exp $ + + 19 Apr 2006; Alin Nastac <mrness@gentoo.org> + +files/ltmodem-2.6-alk-8-module_param.patch, + ltmodem-8.31_alpha10-r2.ebuild: + Convert MODULE_PARM to module_param (#130412). 12 Mar 2006; Alin Nastac <mrness@gentoo.org> -ltmodem-8.31_alpha10-r1.ebuild, ltmodem-8.31_alpha10-r2.ebuild: diff --git a/net-dialup/ltmodem/Manifest b/net-dialup/ltmodem/Manifest index 46a3f594f1fc..b3bf4f847ddd 100644 --- a/net-dialup/ltmodem/Manifest +++ b/net-dialup/ltmodem/Manifest @@ -1,15 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 8f18a9f1e9d0012cbd4642aadf853850 ChangeLog 3761 MD5 c1fadb641074695c728bd065813e112f files/digest-ltmodem-8.31_alpha10-r2 137 +MD5 56e9b5e79f20ba5f7a02d87a0932da53 files/ltmodem-2.6-alk-8-module_param.patch 836 MD5 b990e7d5303c86f37ea21cf471d22e03 files/ltmodem_devfs 198 -MD5 582d28d185a3f78c74af49a29dfd4102 ltmodem-8.31_alpha10-r2.ebuild 3602 +MD5 c4dce0c9e6f1e284c939f6637e2f101f ltmodem-8.31_alpha10-r2.ebuild 3668 MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2.1 (GNU/Linux) - -iD8DBQFEFFSYjG8pv1lIUX4RAsx9AKDh6L/a6YV4llLnEYkfnTD+aiAOmACeMBuz -WVotRLQ8DluIelqStdZqOFw= -=W0xX ------END PGP SIGNATURE----- diff --git a/net-dialup/ltmodem/files/ltmodem-2.6-alk-8-module_param.patch b/net-dialup/ltmodem/files/ltmodem-2.6-alk-8-module_param.patch new file mode 100644 index 000000000000..aae5f1e63f30 --- /dev/null +++ b/net-dialup/ltmodem/files/ltmodem-2.6-alk-8-module_param.patch @@ -0,0 +1,21 @@ +diff -Nru ltmodem-2.6-alk-8.orig/lt_modem.c ltmodem-2.6-alk-8/lt_modem.c +--- ltmodem-2.6-alk-8.orig/lt_modem.c 2005-12-12 03:18:55.000000000 +0200 ++++ ltmodem-2.6-alk-8/lt_modem.c 2006-04-19 21:43:32.142640500 +0300 +@@ -120,14 +120,14 @@ + static int vendor_id = 0; + static int device_id = 0; + +-MODULE_PARM(vendor_id, "i"); ++module_param(vendor_id, int, 0); + MODULE_PARM_DESC(vendor_id, "Vendor ID of the Lucent Modem e.g. vendor_id=0x11c1"); +-MODULE_PARM(device_id, "i"); ++module_param(device_id, int, 0); + MODULE_PARM_DESC(device_id, "Device ID of the Lucent Modem e.g. device_id=0x0440"); + + static int Forced[4] = {-1,-1,-1,0}; + +-MODULE_PARM(Forced, "4i"); ++module_param_array(Forced, int, NULL, 0); + MODULE_PARM_DESC(Forced, "Forced Irq,BaseAddress,ComAddress[,NoDetect] of the Lucent Modem e.g. Forced=3,0x130,0x2f8"); + + static diff --git a/net-dialup/ltmodem/ltmodem-8.31_alpha10-r2.ebuild b/net-dialup/ltmodem/ltmodem-8.31_alpha10-r2.ebuild index 49ded015286e..d5394927bbfe 100644 --- a/net-dialup/ltmodem/ltmodem-8.31_alpha10-r2.ebuild +++ b/net-dialup/ltmodem/ltmodem-8.31_alpha10-r2.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ltmodem-8.31_alpha10-r2.ebuild,v 1.3 2006/03/12 17:04:12 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ltmodem-8.31_alpha10-r2.ebuild,v 1.4 2006/04/19 18:49:14 mrness Exp $ -inherit linux-mod +inherit linux-mod eutils MY_P="${P/_alpha/a}" MY_ALK_VER="2.6-alk-8" @@ -48,6 +48,7 @@ pkg_setup() { src_unpack() { unpack ${A} + epatch "${FILESDIR}/ltmodem-2.6-alk-8-module_param.patch" convert_to_m "${S}/Makefile" } |