From 8813edac8906d10c31df85bf323af2ad364458f1 Mon Sep 17 00:00:00 2001 From: smckown Date: Wed, 25 Nov 2009 20:38:05 +0000 Subject: [PATCH] This module for all arches. Also have build set version in cp210x.c. --- Makefile | 3 ++- debian.in/control | 2 +- src/cp210x.c | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index acaa738..ead51e3 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ PKGVER = 0.11.1 DEBDIST = hardy -DEBRELEASE = 1tmi +DEBRELEASE = 2tmi # No need to change anything below this line @@ -49,6 +49,7 @@ $(BUILD)/src-stamp: Makefile.dkms dkms.conf $(wildcard src/*) mkdir -p $(BUILD) rm -rf $(BUILD)/$(DEBSRC) cp -a src $(BUILD)/$(DEBSRC) + perl -i -pe 's/xxPKGVERxx/$(PKGVER)/g' $(BUILD)/$(DEBSRC)/cp210x.c cp Makefile.dkms $(BUILD)/$(DEBSRC) cp dkms.conf $(BUILD)/$(DEBSRC) perl -i -pe 's/xxPKGVERxx/$(PKGVER)/g' $(BUILD)/$(DEBSRC)/dkms.conf diff --git a/debian.in/control b/debian.in/control index 1f16c50..06c4ffb 100644 --- a/debian.in/control +++ b/debian.in/control @@ -6,7 +6,7 @@ Standards-Version: 3.7.2.0 Build-Depends: dpkg-dev (>= 1.13.9) Package: xxPACKAGExx -Architecture: any +Architecture: all Depends: dkms (>> 2.0.20), linux-headers, linux-image, binutils (>= 2.9.5.0.12), gcc (>= 4:4.2.2), dpatch, file, bzip2, lsb-release Conflicts: cp210x-module-2.6.24-19-generic, cp210x-module-2.6.24-21-generic, cp210x-module-2.6.24-22-generic, cp210x-module-2.6.24-23-generic, cp210x-module-2.6.24-24-generic, cp210x-module-2.6.24-25-generic Replaces: cp210x-module-2.6.24-19-generic, cp210x-module-2.6.24-21-generic, cp210x-module-2.6.24-22-generic, cp210x-module-2.6.24-23-generic, cp210x-module-2.6.24-24-generic, cp210x-module-2.6.24-25-generic diff --git a/src/cp210x.c b/src/cp210x.c index 0df92df..f649335 100644 --- a/src/cp210x.c +++ b/src/cp210x.c @@ -13,8 +13,8 @@ * * Silicon Labs RJM: updated to 0.11 for 2.6.15 and later kernels * - * Port configuration, usb descriptor and gpio management by R. Steve McKown - * rsmckown@gmail.com. + * vxxPKGVERxx by R. Steve McKown, Titanium Mirror, Inc., rsmckown@gmail.com. + * Added port configuration, usb descriptor and gpio management. * * Outstanding Issues: * Buffers are not flushed when the port is opened. @@ -36,7 +36,7 @@ /* * Version Information */ -#define DRIVER_VERSION "v0.11tmi" +#define DRIVER_VERSION "vxxPKGVERxxtmi" #define DRIVER_DESC "Silicon Labs CP2101/CP2102/CP2103 RS232 serial adaptor driver" /* -- 2.39.2