[arch-commits] CVS update of extra/network/ltmodem-ck (5 files)
Tom Killian
tom at archlinux.org
Fri Jul 27 09:59:45 UTC 2007
Date: Friday, July 27, 2007 @ 05:59:45
Author: tom
Path: /home/cvs-extra/extra/network/ltmodem-ck
Removed: 2.6.18-devfs.patch (1.1) PKGBUILD (1.4) kernel-2.6.19.patch (1.1)
ltmodem.install (1.3) module-parm.patch (1.1)
ltmodem replaced by martian
---------------------+
2.6.18-devfs.patch | 22 ----------------------
PKGBUILD | 29 -----------------------------
kernel-2.6.19.patch | 10 ----------
ltmodem.install | 29 -----------------------------
module-parm.patch | 26 --------------------------
5 files changed, 116 deletions(-)
Index: extra/network/ltmodem-ck/2.6.18-devfs.patch
diff -u extra/network/ltmodem-ck/2.6.18-devfs.patch:1.1 extra/network/ltmodem-ck/2.6.18-devfs.patch:removed
--- extra/network/ltmodem-ck/2.6.18-devfs.patch:1.1 Mon Oct 9 15:30:21 2006
+++ extra/network/ltmodem-ck/2.6.18-devfs.patch Fri Jul 27 05:59:45 2007
@@ -1,22 +0,0 @@
---- serial.c~ 2005-12-12 02:07:17.000000000 +0100
-+++ serial.c 2006-07-07 11:52:49.000000000 +0200
-@@ -37,7 +37,7 @@
- *
- * rs_set_termios fixed to look also for changes of the input
- * flags INPCK, BRKINT, PARMRK, IGNPAR and IGNBRK.
-- * Bernd Anhäupl 05/17/96.
-+ * Bernd Anh�pl 05/17/96.
- *
- * 1/97: Extended dumb serial ports are a config option now.
- * Saves 4k. Michael A. Griffith <grif at acm.org>
-@@ -729,10 +729,8 @@
- .owner = THIS_MODULE,
- .driver_name = "ltserial",
- #ifdef LT_USE_OLD_NAMES
-- .devfs_name = "tts/LT",
- .dev_name = "ttyLT",
- #else
-- .devfs_name = "tts/LTM",
- .dev_name = "ttyLTM",
- #endif
- .major = 62,
Index: extra/network/ltmodem-ck/PKGBUILD
diff -u extra/network/ltmodem-ck/PKGBUILD:1.4 extra/network/ltmodem-ck/PKGBUILD:removed
--- extra/network/ltmodem-ck/PKGBUILD:1.4 Sun May 27 09:48:21 2007
+++ extra/network/ltmodem-ck/PKGBUILD Fri Jul 27 05:59:45 2007
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD,v 1.4 2007/05/27 13:48:21 tom Exp $
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-# Contributor: Eric Belanger <belanger at astro.umontreal.ca>
-
-pkgname=ltmodem-ck
-pkgver=8.31
-pkgrel=4
-_kernver=2.6.21-ck
-pkgdesc="Drivers for the Lucent LT Winmodem (PCI). For kernel26ck."
-arch=(i686 x86_64)
-url="http://linmodems.technion.ac.il"
-install=ltmodem.install
-source=(http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/ltmodem-2.6-alk-8.tar.bz2 \
- 2.6.18-devfs.patch module-parm.patch kernel-2.6.19.patch)
-depends=('kernel26ck' 'ltmodem-utils')
-
-build() {
- cd $startdir/src/ltmodem-2.6-alk-8
- patch -Np1 -i ../module-parm.patch || return 1
- patch -Np0 -i ../2.6.18-devfs.patch || return 1
- patch -Np0 -i ../kernel-2.6.19.patch || return 1
- make KERNEL_DIR=/usr/src/linux-${_kernver} || return 1
- #Install kernel modules
- install -D -m 644 ltmodem.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/ltmodem.ko
- install -D -m 644 ltserial.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/ltserial.ko
- sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/ltmodem.install
-}
-md5sums=('0f7df8d31cf662a4afaa378fa5bf790b' 'c7708418fd260755966b996f7843d6f2'\
- '68bf1064468f537908536f7ac569f0fd' '8c98863669ffcac0dc6c245d47ef400f')
Index: extra/network/ltmodem-ck/kernel-2.6.19.patch
diff -u extra/network/ltmodem-ck/kernel-2.6.19.patch:1.1 extra/network/ltmodem-ck/kernel-2.6.19.patch:removed
--- extra/network/ltmodem-ck/kernel-2.6.19.patch:1.1 Sat Dec 9 16:42:30 2006
+++ extra/network/ltmodem-ck/kernel-2.6.19.patch Fri Jul 27 05:59:45 2007
@@ -1,10 +0,0 @@
---- serial.c~ 2006-10-17 18:56:54.000000000 +0200
-+++ serial.c 2006-10-17 18:57:29.000000000 +0200
-@@ -99,7 +99,6 @@
- */
-
- #include <linux/version.h>
--#include <linux/config.h>
- #include <linux/module.h>
- #include <linux/tty.h>
- #include <linux/ioport.h>
Index: extra/network/ltmodem-ck/ltmodem.install
diff -u extra/network/ltmodem-ck/ltmodem.install:1.3 extra/network/ltmodem-ck/ltmodem.install:removed
--- extra/network/ltmodem-ck/ltmodem.install:1.3 Sat Feb 17 08:21:53 2007
+++ extra/network/ltmodem-ck/ltmodem.install Fri Jul 27 05:59:45 2007
@@ -1,29 +0,0 @@
-# arg 1: the new package version
-post_install() {
- # updating module dependencies
- echo ">>> Updating module dependencies. Please wait ..."
- KERNEL_VERSION=2.6.20-ck
- depmod -v $KERNEL_VERSION > /dev/null 2>&1
-echo
-echo
-echo "==> NOTICE:"
-echo "==> For more information about the use and config of the drivers,"
-echo "==> have a look at http://wiki.archlinux.org/index.php/Ltmodem_drivers"
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
- # updating module dependencies
- echo ">>> Updating module dependencies. Please wait ..."
- KERNEL_VERSION=2.6.20-ck
- depmod -v $KERNEL_VERSION > /dev/null 2>&1
-}
-op=$1
-shift
-$op $*
\ No newline at end of file
Index: extra/network/ltmodem-ck/module-parm.patch
diff -u extra/network/ltmodem-ck/module-parm.patch:1.1 extra/network/ltmodem-ck/module-parm.patch:removed
--- extra/network/ltmodem-ck/module-parm.patch:1.1 Mon Oct 9 15:30:22 2006
+++ extra/network/ltmodem-ck/module-parm.patch Fri Jul 27 05:59:45 2007
@@ -1,26 +0,0 @@
---- ltmodem-2.6-alk-8/lt_modem.c~ 2005-12-12 02:18:55.000000000 +0100
-+++ ltmodem-2.6-alk-8/lt_modem.c 2006-04-09 15:53:50.000000000 +0200
-@@ -120,14 +120,20 @@
- 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");
-+/* You can only set the first pair, from old MODULE_PARM code. */
-+static int Forced_set(const char *val, struct kernel_param *kp)
-+{
-+ get_options((char *)val, 4, (int *)Forced);
-+ return 0;
-+}
-+module_param_call(Forced, Forced_set, NULL, NULL, 0);
- MODULE_PARM_DESC(Forced, "Forced Irq,BaseAddress,ComAddress[,NoDetect] of the Lucent Modem e.g. Forced=3,0x130,0x2f8");
-
- static
More information about the arch-commits
mailing list