SPECS: slmodem.spec - rel 0.20061021.2 - added patch slmodem-2.9.1...

mguevara mguevara at pld-linux.org
Mon Jan 15 12:50:54 CET 2007


Author: mguevara                     Date: Mon Jan 15 11:50:54 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 0.20061021.2
- added patch slmodem-2.9.11-irq-global-pt_regs-2.6.19.patch for 2.6.19+
  compatibility
- builds on 2.6.20-rc5

---- Files affected:
SPECS:
   slmodem.spec (1.34 -> 1.35) 

---- Diffs:

================================================================
Index: SPECS/slmodem.spec
diff -u SPECS/slmodem.spec:1.34 SPECS/slmodem.spec:1.35
--- SPECS/slmodem.spec:1.34	Sun Nov 19 22:18:49 2006
+++ SPECS/slmodem.spec	Mon Jan 15 12:50:49 2007
@@ -2,6 +2,9 @@
 # NOTE: no SMP drivers for now - I don't know if these binaries would work?
 # TODO: test it on SMP and add SMP modules or update above comment
 #
+# - for 2.6.20 - symbols usb_deregister and usb_register_driver used by slusb.ko
+#   will be GPL-only in a future.
+# 
 # Conditional build:
 %bcond_without	dist_kernel	# without kernel from distribution
 %bcond_without	kernel		# don't build kernel modules
@@ -12,7 +15,7 @@
 %define _snap	20061021
 
 #
-%define	rel	0.%{_snap}.1
+%define	rel	0.%{_snap}.2
 Summary:	Smart Link soft modem drivers
 Summary(de):	Smart Link Software Modem Treiber
 Summary(pl):	Sterowniki do modemów programowych Smart Link
@@ -25,6 +28,9 @@
 # Source0-md5:	8e1858b0a6d16fce73966759732986ab
 Source1:	%{name}.init
 Source2:	%{name}.sysconfig
+# In 2.6.19 there was an interrupt handling infrastructure change - per cpu global struct pt_regs *
+# variable is used instead of passing it in irq handlers.
+Patch1:		%{name}-2.9.11-irq-global-pt_regs-2.6.19.patch
 URL:		http://www.smlink.com/
 BuildRequires:	%{kgcc_package}
 %{?with_dist_kernel:BuildRequires:	kernel%{_alt_kernel}-module-build}
@@ -137,6 +143,8 @@
 %prep
 %setup -q -n %{name}-%{version}-%{_snap}
 
+%patch1 -p1
+
 %build
 cd drivers
 mv amrlibs.o ..
@@ -240,6 +248,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.35  2007/01/15 11:50:49  mguevara
+- rel 0.20061021.2
+- added patch slmodem-2.9.11-irq-global-pt_regs-2.6.19.patch for 2.6.19+
+  compatibility
+- builds on 2.6.20-rc5
+
 Revision 1.34  2006/11/19 21:18:49  sparky
 - smp modules build fine, what more do you want ?
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/slmodem.spec?r1=1.34&r2=1.35&f=u



More information about the pld-cvs-commit mailing list