rpms/qmc2/F-18 .cvsignore, 1.26, 1.27 qmc2-ini.patch, 1.12, 1.13 qmc2.spec, 1.40, 1.41 sources, 1.26, 1.27
by Julian Sikorski
Author: belegdol
Update of /cvs/nonfree/rpms/qmc2/F-18
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv29352
Modified Files:
.cvsignore qmc2-ini.patch qmc2.spec sources
Log Message:
* Thu Sep 19 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.40-1
- Updated to 0.50
- cheat_file → cheatpath
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/qmc2/F-18/.cvsignore,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- .cvsignore 17 Jun 2013 18:45:00 -0000 1.26
+++ .cvsignore 19 Sep 2013 18:55:21 -0000 1.27
@@ -1 +1 @@
-qmc2-0.39.tar.bz2
+qmc2-0.40.tar.bz2
qmc2-ini.patch:
qmc2.ini.template | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Index: qmc2-ini.patch
===================================================================
RCS file: /cvs/nonfree/rpms/qmc2/F-18/qmc2-ini.patch,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- qmc2-ini.patch 13 Jan 2013 10:54:05 -0000 1.12
+++ qmc2-ini.patch 19 Sep 2013 18:55:21 -0000 1.13
@@ -13,7 +13,7 @@
+Configuration\Global\rompath="DATADIR/mame/roms;DATADIR/mame/chds"
+Configuration\Global\samplepath=DATADIR/mame/samples
+Configuration\Global\artpath="DATADIR/mame/artwork;DATADIR/mame/effects"
-+Configuration\Global\cheat_file=DATADIR/mame/cheat.dat
++Configuration\Global\cheatpath=DATADIR/mame/cheat
+Configuration\Global\ctrlrpath=DATADIR/mame/ctrlr
+Configuration\Global\cfg_directory=$HOME/.mame/cfg
+Configuration\Global\comment_directory=$HOME/.mame/comments
@@ -42,7 +42,7 @@
+Configuration\Global\rompath="DATADIR/mess/roms;DATADIR/mess/chds"
+Configuration\Global\samplepath=DATADIR/mess/samples
+Configuration\Global\artpath="DATADIR/mess/artwork;DATADIR/mess/effects"
-+Configuration\Global\cheat_file=DATADIR/mess/cheat.dat
++Configuration\Global\cheatpath=DATADIR/mess/cheat
+Configuration\Global\ctrlrpath=DATADIR/mess/ctrlr
+Configuration\Global\cfg_directory=$HOME/.mess/cfg
+Configuration\Global\comment_directory=$HOME/.mess/comments
Index: qmc2.spec
===================================================================
RCS file: /cvs/nonfree/rpms/qmc2/F-18/qmc2.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- qmc2.spec 17 Jun 2013 18:45:00 -0000 1.40
+++ qmc2.spec 19 Sep 2013 18:55:22 -0000 1.41
@@ -1,5 +1,5 @@
Name: qmc2
-Version: 0.39
+Version: 0.40
Release: 1%{?dist}
Summary: M.A.M.E./M.E.S.S./U.M.E. Catalog / Launcher II, common files
@@ -135,6 +135,10 @@
%changelog
+* Thu Sep 19 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.40-1
+- Updated to 0.50
+- cheat_file → cheatpath
+
* Mon Jun 17 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.39-1
- Updated to 0.39
- Added qchdman
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/qmc2/F-18/sources,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- sources 17 Jun 2013 18:45:00 -0000 1.26
+++ sources 19 Sep 2013 18:55:22 -0000 1.27
@@ -1 +1 @@
-c736d62a6ee98b2e157801751760afe7 qmc2-0.39.tar.bz2
+b392c43f950345a465aee811e54ed35a qmc2-0.40.tar.bz2
11 years, 2 months
rpms/qmc2/F-19 .cvsignore, 1.26, 1.27 qmc2-ini.patch, 1.12, 1.13 qmc2.spec, 1.40, 1.41 sources, 1.26, 1.27
by Julian Sikorski
Author: belegdol
Update of /cvs/nonfree/rpms/qmc2/F-19
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv29244
Modified Files:
.cvsignore qmc2-ini.patch qmc2.spec sources
Log Message:
* Thu Sep 19 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.40-1
- Updated to 0.50
- cheat_file → cheatpath
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/qmc2/F-19/.cvsignore,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- .cvsignore 17 Jun 2013 18:44:54 -0000 1.26
+++ .cvsignore 19 Sep 2013 18:55:16 -0000 1.27
@@ -1 +1 @@
-qmc2-0.39.tar.bz2
+qmc2-0.40.tar.bz2
qmc2-ini.patch:
qmc2.ini.template | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Index: qmc2-ini.patch
===================================================================
RCS file: /cvs/nonfree/rpms/qmc2/F-19/qmc2-ini.patch,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- qmc2-ini.patch 13 Jan 2013 10:54:05 -0000 1.12
+++ qmc2-ini.patch 19 Sep 2013 18:55:16 -0000 1.13
@@ -13,7 +13,7 @@
+Configuration\Global\rompath="DATADIR/mame/roms;DATADIR/mame/chds"
+Configuration\Global\samplepath=DATADIR/mame/samples
+Configuration\Global\artpath="DATADIR/mame/artwork;DATADIR/mame/effects"
-+Configuration\Global\cheat_file=DATADIR/mame/cheat.dat
++Configuration\Global\cheatpath=DATADIR/mame/cheat
+Configuration\Global\ctrlrpath=DATADIR/mame/ctrlr
+Configuration\Global\cfg_directory=$HOME/.mame/cfg
+Configuration\Global\comment_directory=$HOME/.mame/comments
@@ -42,7 +42,7 @@
+Configuration\Global\rompath="DATADIR/mess/roms;DATADIR/mess/chds"
+Configuration\Global\samplepath=DATADIR/mess/samples
+Configuration\Global\artpath="DATADIR/mess/artwork;DATADIR/mess/effects"
-+Configuration\Global\cheat_file=DATADIR/mess/cheat.dat
++Configuration\Global\cheatpath=DATADIR/mess/cheat
+Configuration\Global\ctrlrpath=DATADIR/mess/ctrlr
+Configuration\Global\cfg_directory=$HOME/.mess/cfg
+Configuration\Global\comment_directory=$HOME/.mess/comments
Index: qmc2.spec
===================================================================
RCS file: /cvs/nonfree/rpms/qmc2/F-19/qmc2.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- qmc2.spec 17 Jun 2013 18:44:54 -0000 1.40
+++ qmc2.spec 19 Sep 2013 18:55:16 -0000 1.41
@@ -1,5 +1,5 @@
Name: qmc2
-Version: 0.39
+Version: 0.40
Release: 1%{?dist}
Summary: M.A.M.E./M.E.S.S./U.M.E. Catalog / Launcher II, common files
@@ -135,6 +135,10 @@
%changelog
+* Thu Sep 19 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.40-1
+- Updated to 0.50
+- cheat_file → cheatpath
+
* Mon Jun 17 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.39-1
- Updated to 0.39
- Added qchdman
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/qmc2/F-19/sources,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- sources 17 Jun 2013 18:44:54 -0000 1.26
+++ sources 19 Sep 2013 18:55:16 -0000 1.27
@@ -1 +1 @@
-c736d62a6ee98b2e157801751760afe7 qmc2-0.39.tar.bz2
+b392c43f950345a465aee811e54ed35a qmc2-0.40.tar.bz2
11 years, 2 months
rpms/qmc2/devel .cvsignore, 1.26, 1.27 qmc2-ini.patch, 1.12, 1.13 qmc2.spec, 1.40, 1.41 sources, 1.26, 1.27
by Julian Sikorski
Author: belegdol
Update of /cvs/nonfree/rpms/qmc2/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv29134
Modified Files:
.cvsignore qmc2-ini.patch qmc2.spec sources
Log Message:
* Thu Sep 19 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.40-1
- Updated to 0.50
- cheat_file → cheatpath
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/qmc2/devel/.cvsignore,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- .cvsignore 17 Jun 2013 18:44:47 -0000 1.26
+++ .cvsignore 19 Sep 2013 18:55:10 -0000 1.27
@@ -1 +1 @@
-qmc2-0.39.tar.bz2
+qmc2-0.40.tar.bz2
qmc2-ini.patch:
qmc2.ini.template | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Index: qmc2-ini.patch
===================================================================
RCS file: /cvs/nonfree/rpms/qmc2/devel/qmc2-ini.patch,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- qmc2-ini.patch 13 Jan 2013 10:54:05 -0000 1.12
+++ qmc2-ini.patch 19 Sep 2013 18:55:10 -0000 1.13
@@ -13,7 +13,7 @@
+Configuration\Global\rompath="DATADIR/mame/roms;DATADIR/mame/chds"
+Configuration\Global\samplepath=DATADIR/mame/samples
+Configuration\Global\artpath="DATADIR/mame/artwork;DATADIR/mame/effects"
-+Configuration\Global\cheat_file=DATADIR/mame/cheat.dat
++Configuration\Global\cheatpath=DATADIR/mame/cheat
+Configuration\Global\ctrlrpath=DATADIR/mame/ctrlr
+Configuration\Global\cfg_directory=$HOME/.mame/cfg
+Configuration\Global\comment_directory=$HOME/.mame/comments
@@ -42,7 +42,7 @@
+Configuration\Global\rompath="DATADIR/mess/roms;DATADIR/mess/chds"
+Configuration\Global\samplepath=DATADIR/mess/samples
+Configuration\Global\artpath="DATADIR/mess/artwork;DATADIR/mess/effects"
-+Configuration\Global\cheat_file=DATADIR/mess/cheat.dat
++Configuration\Global\cheatpath=DATADIR/mess/cheat
+Configuration\Global\ctrlrpath=DATADIR/mess/ctrlr
+Configuration\Global\cfg_directory=$HOME/.mess/cfg
+Configuration\Global\comment_directory=$HOME/.mess/comments
Index: qmc2.spec
===================================================================
RCS file: /cvs/nonfree/rpms/qmc2/devel/qmc2.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- qmc2.spec 17 Jun 2013 18:44:47 -0000 1.40
+++ qmc2.spec 19 Sep 2013 18:55:10 -0000 1.41
@@ -1,5 +1,5 @@
Name: qmc2
-Version: 0.39
+Version: 0.40
Release: 1%{?dist}
Summary: M.A.M.E./M.E.S.S./U.M.E. Catalog / Launcher II, common files
@@ -135,6 +135,10 @@
%changelog
+* Thu Sep 19 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.40-1
+- Updated to 0.50
+- cheat_file → cheatpath
+
* Mon Jun 17 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.39-1
- Updated to 0.39
- Added qchdman
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/qmc2/devel/sources,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- sources 17 Jun 2013 18:44:47 -0000 1.26
+++ sources 19 Sep 2013 18:55:10 -0000 1.27
@@ -1 +1 @@
-c736d62a6ee98b2e157801751760afe7 qmc2-0.39.tar.bz2
+b392c43f950345a465aee811e54ed35a qmc2-0.40.tar.bz2
11 years, 2 months
rpms/mame/F-18 .cvsignore, 1.75, 1.76 mame.spec, 1.86, 1.87 sources, 1.75, 1.76
by Julian Sikorski
Author: belegdol
Update of /cvs/nonfree/rpms/mame/F-18
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv28534
Modified Files:
.cvsignore mame.spec sources
Log Message:
* Thu Sep 19 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.150-1
- Updated to 0.150
- Fixed the cheatpath
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/mame/F-18/.cvsignore,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- .cvsignore 24 Jul 2013 18:04:14 -0000 1.75
+++ .cvsignore 19 Sep 2013 18:51:04 -0000 1.76
@@ -1,2 +1 @@
-mame0149s.exe
-0149u1_diff.zip
+mame0150s.exe
Index: mame.spec
===================================================================
RCS file: /cvs/nonfree/rpms/mame/F-18/mame.spec,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- mame.spec 24 Jul 2013 18:04:14 -0000 1.86
+++ mame.spec 19 Sep 2013 18:51:04 -0000 1.87
@@ -4,8 +4,8 @@
%bcond_without ldplayer
%bcond_with debug
-%global baseversion 149
-%global sourceupdate 1
+%global baseversion 150
+#global sourceupdate 1
#global svn 21418
%if 0%{?svn}
@@ -38,7 +38,7 @@
#Source100: whatsnew.zip
%if 0%{?sourceupdate}
#Source updates
-Source1: http://mamedev.org/updates/0%{baseversion}u1_diff.zip
+#Source1: http://mamedev.org/updates/0%{baseversion}u1_diff.zip
#Source2: http://mamedev.org/updates/0%{baseversion}u2_diff.zip
#Source3: http://mamedev.org/updates/0%{baseversion}u3_diff.zip
#Source4: http://mamedev.org/updates/0%{baseversion}u4_diff.zip
@@ -182,7 +182,7 @@
cat > %{name}.ini << EOF
# Define multi-user paths
artpath %{_datadir}/%{name}/artwork;%{_datadir}/%{name}/effects
-cheatpath %{_datadir}/%{name}/cheats
+cheatpath %{_datadir}/%{name}/cheat
ctrlrpath %{_datadir}/%{name}/ctrlr
fontpath %{_datadir}/%{name}/fonts
hashpath %{_datadir}/%{name}/hash
@@ -387,6 +387,10 @@
%changelog
+* Thu Sep 19 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.150-1
+- Updated to 0.150
+- Fixed the cheatpath
+
* Wed Jul 24 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.149u1-1
- Updated to 0.149u1
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/mame/F-18/sources,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- sources 24 Jul 2013 18:04:14 -0000 1.75
+++ sources 19 Sep 2013 18:51:04 -0000 1.76
@@ -1,2 +1 @@
-2b0e49d93a9d21c9938c57f35fa3bab5 mame0149s.exe
-166d77d930d9a4d129c145bb11b13628 0149u1_diff.zip
+3fbf35429f03412fcd19f2374183764d mame0150s.exe
11 years, 2 months
rpms/mame/F-19 .cvsignore, 1.72, 1.73 mame.spec, 1.84, 1.85 sources, 1.72, 1.73
by Julian Sikorski
Author: belegdol
Update of /cvs/nonfree/rpms/mame/F-19
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv28440
Modified Files:
.cvsignore mame.spec sources
Log Message:
* Thu Sep 19 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.150-1
- Updated to 0.150
- Fixed the cheatpath
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/mame/F-19/.cvsignore,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- .cvsignore 24 Jul 2013 18:04:12 -0000 1.72
+++ .cvsignore 19 Sep 2013 18:51:00 -0000 1.73
@@ -1,2 +1 @@
-mame0149s.exe
-0149u1_diff.zip
+mame0150s.exe
Index: mame.spec
===================================================================
RCS file: /cvs/nonfree/rpms/mame/F-19/mame.spec,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -r1.84 -r1.85
--- mame.spec 24 Jul 2013 18:04:12 -0000 1.84
+++ mame.spec 19 Sep 2013 18:51:00 -0000 1.85
@@ -4,8 +4,8 @@
%bcond_without ldplayer
%bcond_with debug
-%global baseversion 149
-%global sourceupdate 1
+%global baseversion 150
+#global sourceupdate 1
#global svn 21418
%if 0%{?svn}
@@ -38,7 +38,7 @@
#Source100: whatsnew.zip
%if 0%{?sourceupdate}
#Source updates
-Source1: http://mamedev.org/updates/0%{baseversion}u1_diff.zip
+#Source1: http://mamedev.org/updates/0%{baseversion}u1_diff.zip
#Source2: http://mamedev.org/updates/0%{baseversion}u2_diff.zip
#Source3: http://mamedev.org/updates/0%{baseversion}u3_diff.zip
#Source4: http://mamedev.org/updates/0%{baseversion}u4_diff.zip
@@ -182,7 +182,7 @@
cat > %{name}.ini << EOF
# Define multi-user paths
artpath %{_datadir}/%{name}/artwork;%{_datadir}/%{name}/effects
-cheatpath %{_datadir}/%{name}/cheats
+cheatpath %{_datadir}/%{name}/cheat
ctrlrpath %{_datadir}/%{name}/ctrlr
fontpath %{_datadir}/%{name}/fonts
hashpath %{_datadir}/%{name}/hash
@@ -387,6 +387,10 @@
%changelog
+* Thu Sep 19 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.150-1
+- Updated to 0.150
+- Fixed the cheatpath
+
* Wed Jul 24 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.149u1-1
- Updated to 0.149u1
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/mame/F-19/sources,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -r1.72 -r1.73
--- sources 24 Jul 2013 18:04:12 -0000 1.72
+++ sources 19 Sep 2013 18:51:00 -0000 1.73
@@ -1,2 +1 @@
-2b0e49d93a9d21c9938c57f35fa3bab5 mame0149s.exe
-166d77d930d9a4d129c145bb11b13628 0149u1_diff.zip
+3fbf35429f03412fcd19f2374183764d mame0150s.exe
11 years, 2 months
rpms/mame/devel .cvsignore, 1.76, 1.77 mame.spec, 1.88, 1.89 sources, 1.76, 1.77
by Julian Sikorski
Author: belegdol
Update of /cvs/nonfree/rpms/mame/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv28242
Modified Files:
.cvsignore mame.spec sources
Log Message:
* Thu Sep 19 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.150-1
- Updated to 0.150
- Fixed the cheatpath
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/mame/devel/.cvsignore,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- .cvsignore 24 Jul 2013 18:04:09 -0000 1.76
+++ .cvsignore 19 Sep 2013 18:50:57 -0000 1.77
@@ -1,2 +1 @@
-mame0149s.exe
-0149u1_diff.zip
+mame0150s.exe
Index: mame.spec
===================================================================
RCS file: /cvs/nonfree/rpms/mame/devel/mame.spec,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -r1.88 -r1.89
--- mame.spec 24 Jul 2013 18:04:09 -0000 1.88
+++ mame.spec 19 Sep 2013 18:50:57 -0000 1.89
@@ -4,8 +4,8 @@
%bcond_without ldplayer
%bcond_with debug
-%global baseversion 149
-%global sourceupdate 1
+%global baseversion 150
+#global sourceupdate 1
#global svn 21418
%if 0%{?svn}
@@ -38,7 +38,7 @@
#Source100: whatsnew.zip
%if 0%{?sourceupdate}
#Source updates
-Source1: http://mamedev.org/updates/0%{baseversion}u1_diff.zip
+#Source1: http://mamedev.org/updates/0%{baseversion}u1_diff.zip
#Source2: http://mamedev.org/updates/0%{baseversion}u2_diff.zip
#Source3: http://mamedev.org/updates/0%{baseversion}u3_diff.zip
#Source4: http://mamedev.org/updates/0%{baseversion}u4_diff.zip
@@ -182,7 +182,7 @@
cat > %{name}.ini << EOF
# Define multi-user paths
artpath %{_datadir}/%{name}/artwork;%{_datadir}/%{name}/effects
-cheatpath %{_datadir}/%{name}/cheats
+cheatpath %{_datadir}/%{name}/cheat
ctrlrpath %{_datadir}/%{name}/ctrlr
fontpath %{_datadir}/%{name}/fonts
hashpath %{_datadir}/%{name}/hash
@@ -387,6 +387,10 @@
%changelog
+* Thu Sep 19 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.150-1
+- Updated to 0.150
+- Fixed the cheatpath
+
* Wed Jul 24 2013 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.149u1-1
- Updated to 0.149u1
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/mame/devel/sources,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- sources 24 Jul 2013 18:04:09 -0000 1.76
+++ sources 19 Sep 2013 18:50:57 -0000 1.77
@@ -1,2 +1 @@
-2b0e49d93a9d21c9938c57f35fa3bab5 mame0149s.exe
-166d77d930d9a4d129c145bb11b13628 0149u1_diff.zip
+3fbf35429f03412fcd19f2374183764d mame0150s.exe
11 years, 2 months
rpms/xorg-x11-drv-catalyst/devel xorg-x11-drv-catalyst.spec,1.7,1.8
by Leigh Scott
Author: leigh123linux
Update of /cvs/nonfree/rpms/xorg-x11-drv-catalyst/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv9409
Modified Files:
xorg-x11-drv-catalyst.spec
Log Message:
* Thu Sep 19 2013 Leigh Scott <leigh123linux(a)googlemail.com> - 13.8-0.3.beta2
- rebuilt
Index: xorg-x11-drv-catalyst.spec
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-catalyst/devel/xorg-x11-drv-catalyst.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- xorg-x11-drv-catalyst.spec 18 Sep 2013 14:41:38 -0000 1.7
+++ xorg-x11-drv-catalyst.spec 19 Sep 2013 10:28:05 -0000 1.8
@@ -5,7 +5,7 @@
%global __strip /bin/true
Name: xorg-x11-drv-catalyst
Version: 13.8
-Release: 0.2.beta2%{?dist}
+Release: 0.3.beta2%{?dist}
Summary: AMD's proprietary driver for ATI graphic cards
Group: User Interface/X Hardware Support
License: Redistributable, no modification permitted
@@ -405,6 +405,9 @@
%changelog
+* Thu Sep 19 2013 Leigh Scott <leigh123linux(a)googlemail.com> - 13.8-0.3.beta2
+- rebuilt
+
* Wed Sep 18 2013 Leigh Scott <leigh123linux(a)googlemail.com> - 13.8-0.2.beta2
- Update to Catalyst 13.8beta1 (internal version 13.20.11)
11 years, 2 months
rpms/catalyst-kmod/devel .cvsignore, 1.6, 1.7 catalyst-kmod.spec, 1.16, 1.17 sources, 1.6, 1.7
by Leigh Scott
Author: leigh123linux
Update of /cvs/nonfree/rpms/catalyst-kmod/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv26108
Modified Files:
.cvsignore catalyst-kmod.spec sources
Log Message:
* Wed Sep 18 2013 Leigh Scott <leigh123linux(a)googlemail.com> - 13.8-0.3.beta2
- Update to Catalyst 13.8beta1 (internal version 13.20.11)
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/catalyst-kmod/devel/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore 16 Nov 2011 22:56:44 -0000 1.6
+++ .cvsignore 18 Sep 2013 14:51:52 -0000 1.7
@@ -1 +1 @@
-catalyst-kmod-data-11.11.tar.bz2
+catalyst-kmod-data-13.8.tar.bz2
Index: catalyst-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/catalyst-kmod/devel/catalyst-kmod.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- catalyst-kmod.spec 7 Aug 2013 15:28:31 -0000 1.16
+++ catalyst-kmod.spec 18 Sep 2013 14:51:52 -0000 1.17
@@ -13,7 +13,7 @@
Name: catalyst-kmod
Version: 13.8
-Release: 0.2.beta1%{?dist}
+Release: 0.3.beta2%{?dist}
# Taken over by kmodtool
Summary: AMD display driver kernel module
Group: System Environment/Kernel
@@ -99,6 +99,9 @@
%changelog
+* Wed Sep 18 2013 Leigh Scott <leigh123linux(a)googlemail.com> - 13.8-0.3.beta2
+- Update to Catalyst 13.8beta1 (internal version 13.20.11)
+
* Wed Aug 07 2013 Leigh Scott <leigh123linux(a)googlemail.com> - 13.8-0.2.beta1
- fix proc perms
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/catalyst-kmod/devel/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources 7 Aug 2013 15:18:02 -0000 1.6
+++ sources 18 Sep 2013 14:51:52 -0000 1.7
@@ -1 +1 @@
-c825603d6b0adeca862804fdd5093fb4 catalyst-kmod-data-13.8.tar.bz2
+c3b90f3129408293e4b98c94589f7b3d catalyst-kmod-data-13.8.tar.bz2
11 years, 2 months
rpms/xorg-x11-drv-catalyst/devel .cvsignore, 1.5, 1.6 sources, 1.5, 1.6 xorg-x11-drv-catalyst.spec, 1.6, 1.7
by Leigh Scott
Author: leigh123linux
Update of /cvs/nonfree/rpms/xorg-x11-drv-catalyst/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv25568
Modified Files:
.cvsignore sources xorg-x11-drv-catalyst.spec
Log Message:
* Wed Sep 18 2013 Leigh Scott <leigh123linux(a)googlemail.com> - 13.8-0.2.beta2
- Update to Catalyst 13.8beta1 (internal version 13.20.11)
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-catalyst/devel/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- .cvsignore 16 Nov 2011 22:47:05 -0000 1.5
+++ .cvsignore 18 Sep 2013 14:41:38 -0000 1.6
@@ -1,2 +1,3 @@
xvba-sdk-0.74-404001.tar.gz
ati-driver-installer-11-11-x86.x86_64.run
+amd-catalyst-13.8-beta2-linux-x86.x86_64.zip
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-catalyst/devel/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources 7 Aug 2013 15:23:42 -0000 1.5
+++ sources 18 Sep 2013 14:41:38 -0000 1.6
@@ -1,2 +1,2 @@
b8f56bc55aa70cb19dd12857fdc184cc xvba-sdk-0.74-404001.tar.gz
-87fc4a1d842856f4eb28cdff6b602466 amd-catalyst-13.8-beta1-linux-x86.x86_64.zip
+9aa4508f8a89b6bfc09fea71e354336a amd-catalyst-13.8-beta2-linux-x86.x86_64.zip
Index: xorg-x11-drv-catalyst.spec
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-catalyst/devel/xorg-x11-drv-catalyst.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- xorg-x11-drv-catalyst.spec 7 Aug 2013 15:23:42 -0000 1.6
+++ xorg-x11-drv-catalyst.spec 18 Sep 2013 14:41:38 -0000 1.7
@@ -1,16 +1,16 @@
%global atilibdir %{_libdir}/catalyst
-%global amdrun amd-catalyst-13.8-beta1-linux-x86.x86_64.run
+%global amdrun amd-catalyst-13.8-beta2-linux-x86.x86_64.run
%global debug_package %{nil}
%global __strip /bin/true
Name: xorg-x11-drv-catalyst
Version: 13.8
-Release: 0.1.beta1%{?dist}
+Release: 0.2.beta2%{?dist}
Summary: AMD's proprietary driver for ATI graphic cards
Group: User Interface/X Hardware Support
License: Redistributable, no modification permitted
URL: http://www.ati.com/support/drivers/linux/radeon-linux.html
-Source0: http://www2.ati.com/drivers/beta/amd-catalyst-13.8-beta1-linux-x86.x86_64...
+Source0: http://www2.ati.com/drivers/beta/amd-catalyst-13.8-beta2-linux-x86.x86_64...
Source1: http://developer.amd.com/downloads/xvba-sdk-0.74-404001.tar.gz
Source2: catalyst-README.Fedora
Source3: amdcccle.desktop
@@ -405,6 +405,9 @@
%changelog
+* Wed Sep 18 2013 Leigh Scott <leigh123linux(a)googlemail.com> - 13.8-0.2.beta2
+- Update to Catalyst 13.8beta1 (internal version 13.20.11)
+
* Sat Aug 03 2013 Leigh Scott <leigh123linux(a)googlemail.com> - 13.8-0.1.beta1
- Update to Catalyst 13.8beta1 (internal version 13.20.5)
11 years, 2 months
rpms/nvidia-173xx-kmod/F-19 fix-build-with-linux-3.11.patch, NONE, 1.1 nvidia-173xx-kmod.spec, 1.64, 1.65 fix-build-with-linux-3.10.patch, 1.1, NONE
by Leigh Scott
Author: leigh123linux
Update of /cvs/nonfree/rpms/nvidia-173xx-kmod/F-19
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv18964
Modified Files:
nvidia-173xx-kmod.spec
Added Files:
fix-build-with-linux-3.11.patch
Removed Files:
fix-build-with-linux-3.10.patch
Log Message:
* Tue Sep 17 2013 Leigh Scott <leigh123linux(a)googlemail.com> - 173.14.37-3
- patch for 3.11 kernel
fix-build-with-linux-3.11.patch:
b/usr/src/nv/nv-i2c.c | 13 -
b/usr/src/nv/nv-linux.h | 1
b/usr/src/nv/nv.c | 376 ++++++++++++++++++++++++++++------------------
usr/src/nv/os-interface.c | 4
4 files changed, 245 insertions(+), 149 deletions(-)
--- NEW FILE fix-build-with-linux-3.11.patch ---
>From c3248bb6c976c112e9efa9e8f202590b2f9b40a5 Mon Sep 17 00:00:00 2001
From: Alberto Milone <alberto.milone(a)canonical.com>
Date: Tue, 18 Jun 2013 15:16:18 +0200
Subject: [PATCH 1/1] Add support for Linux 3.10
---
nv-i2c.c | 13 +--
nv-linux.h | 1 +
nv.c | 375 ++++++++++++++++++++++++++++++++++++++----------------------
3 files changed, 241 insertions(+), 148 deletions(-)
diff --git a/usr/src/nv/nv-i2c.c b/usr/src/nv/nv-i2c.c
index 143f9e4..aaee787 100644
--- a/usr/src/nv/nv-i2c.c
+++ b/usr/src/nv/nv-i2c.c
@@ -307,8 +307,6 @@ void* NV_API_CALL nv_i2c_add_adapter(nv_state_t *nv, U032 port)
BOOL NV_API_CALL nv_i2c_del_adapter(nv_state_t *nv, void *data)
{
struct i2c_adapter *pI2cAdapter = (struct i2c_adapter *)data;
- int osstatus = 0;
- BOOL wasReleased = FALSE;
#if defined(KERNEL_2_4)
if (!NV_WEAK_SYMBOL_PRESENT(i2c_add_adapter))
@@ -320,15 +318,10 @@ BOOL NV_API_CALL nv_i2c_del_adapter(nv_state_t *nv, void *data)
if (!pI2cAdapter) return FALSE;
// attempt release with the OS
- osstatus = i2c_del_adapter(pI2cAdapter);
-
- if (!osstatus)
- {
- os_free_mem(pI2cAdapter);
- wasReleased = TRUE;
- }
+ i2c_del_adapter(pI2cAdapter);
+ os_free_mem(pI2cAdapter);
- return wasReleased;
+ return TRUE;
}
#else // (defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE))
diff --git a/usr/src/nv/nv-linux.h b/usr/src/nv/nv-linux.h
index 963e059..9aac81a 100644
--- a/usr/src/nv/nv-linux.h
+++ b/usr/src/nv/nv-linux.h
@@ -163,6 +163,7 @@
#ifdef CONFIG_PROC_FS
#include <linux/proc_fs.h>
+#include <linux/seq_file.h>
#endif
#ifdef CONFIG_MTRR
--- a/usr/src/nv/os-interface.c
+++ b/usr/src/nv/os-interface.c
@@ -292,7 +292,11 @@ NvU64 NV_API_CALL os_get_page_mask(void)
NvU64 NV_API_CALL os_get_system_memory_size(void)
{
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 11, 0)
+ return ((NvU64) get_num_physpages() * PAGE_SIZE) / RM_PAGE_SIZE;
+#else
return ((NvU64) num_physpages * PAGE_SIZE) / RM_PAGE_SIZE;
+#endif
}
//
diff --git a/usr/src/nv/nv.c b/usr/src/nv/nv.c
index f82e46f..570c266 100644
--- a/usr/src/nv/nv.c
+++ b/usr/src/nv/nv.c
@@ -291,7 +291,6 @@ void NV_API_CALL nv_verify_pci_config(nv_state_t *nv, BOOL check_the_bars)
/* nvos_ functions.. do not take a state device parameter */
static void nvos_proc_create(void);
-static void nvos_proc_remove_all(struct proc_dir_entry *);
static void nvos_proc_remove(void);
static int nvos_count_devices(nv_stack_t *);
@@ -333,12 +332,34 @@ void nv_kern_rc_timer(unsigned long);
static int nv_kern_apm_event(struct pm_dev *, pm_request_t, void *);
#endif
-static int nv_kern_read_cardinfo(char *, char **, off_t off, int, int *, void *);
-static int nv_kern_read_status(char *, char **, off_t off, int, int *, void *);
-static int nv_kern_read_registry(char *, char **, off_t off, int, int *, void *);
-static int nv_kern_read_agpinfo(char *, char **, off_t off, int, int *, void *);
-static int nv_kern_read_version(char *, char **, off_t off, int, int *, void *);
-static int nv_kern_read_text_file(char *, char **, off_t off, int, int *, void *);
+static const struct file_operations nv_procfs_text_fops;
+static const struct file_operations nv_procfs_read_card_info_fops;
+static const struct file_operations nv_procfs_version_fops;
+static const struct file_operations nv_procfs_read_agp_info_fops;
+static const struct file_operations nv_procfs_read_agp_info_gpu_fops;
+static const struct file_operations nv_procfs_read_agp_status_fops;
+static const struct file_operations nv_procfs_registry_fops;
+
+static int nv_procfs_show_text_file(struct seq_file *, void *);
+static int nv_procfs_open_text_file(struct inode *, struct file *);
+static void nvos_proc_add_text_file(struct proc_dir_entry *, const char *, const char *);
+
+static int nv_procfs_show_card_info(struct seq_file *, void *);
+static int nv_procfs_read_card_info(struct inode *, struct file *);
+
+static int nv_procfs_show_version(struct seq_file *, void *);
+static int nv_procfs_open_version(struct inode *, struct file *);
+
+static int nv_procfs_show_agp_info(struct seq_file *, void *);
+static int nv_procfs_read_agp_info(struct inode *, struct file *);
+
+static int nv_procfs_read_agp_info_gpu(struct inode *, struct file *file);
+static int nv_procfs_show_agp_status(struct seq_file *, void *);
+static int nv_procfs_read_agp_status(struct inode *, struct file *);
+
+static int nv_procfs_show_registry(struct seq_file *, void *);
+static int nv_procfs_open_registry(struct inode *, struct file *);
+
int nv_kern_ctl_open(struct inode *, struct file *);
int nv_kern_ctl_close(struct inode *, struct file *);
@@ -604,6 +625,12 @@ static struct pci_dev* nv_get_pci_device(nv_state_t *nv)
return NULL;
}
+#if LINUX_VERSION_CODE <= KERNEL_VERSION(3,9,255)
+static inline void *PDE_DATA(const struct inode *inode) {
+ return PDE(inode)->data;
+}
+#endif
+
static void nvos_proc_create(void)
{
#ifdef CONFIG_PROC_FS
@@ -623,19 +650,19 @@ static void nvos_proc_create(void)
nv_state_t *nv;
nv_linux_state_t *nvl;
- proc_nvidia = create_proc_entry("driver/nvidia", d_flags, NULL);
+ proc_nvidia = proc_mkdir_mode("driver/nvidia", d_flags, NULL);
if (!proc_nvidia)
goto failed;
- proc_nvidia_cards = create_proc_entry("cards", d_flags, proc_nvidia);
+ proc_nvidia_cards = proc_mkdir_mode("cards", d_flags, proc_nvidia);
if (!proc_nvidia_cards)
goto failed;
- proc_nvidia_warnings = create_proc_entry("warnings", d_flags, proc_nvidia);
+ proc_nvidia_warnings = proc_mkdir_mode("warnings", d_flags, proc_nvidia);
if (!proc_nvidia_warnings)
goto failed;
- proc_nvidia_patches = create_proc_entry("patches", d_flags, proc_nvidia);
+ proc_nvidia_patches = proc_mkdir_mode("patches", d_flags, proc_nvidia);
if (!proc_nvidia_patches)
goto failed;
@@ -660,24 +687,19 @@ static void nvos_proc_create(void)
break;
sprintf(name, "%d", i++);
- entry = create_proc_entry(name, flags, proc_nvidia_cards);
+ entry = proc_create_data(name, flags, proc_nvidia_cards,
+ &nv_procfs_read_card_info_fops, nv);
if (!entry) {
NV_PCI_DEV_PUT(dev);
goto failed;
}
- entry->data = nv;
- entry->read_proc = nv_kern_read_cardinfo;
-#if defined(NV_PROC_DIR_ENTRY_HAS_OWNER)
- entry->owner = THIS_MODULE;
-#endif
-
if (nvos_find_agp_capability(dev)) {
/*
* Create the /proc/driver/nvidia/agp/{status,host-bridge,card}
* entries now that we know there's AGP hardware.
*/
- entry = create_proc_entry("agp", d_flags, proc_nvidia);
+ entry = proc_mkdir_mode("agp", d_flags, proc_nvidia);
if (!entry) {
NV_PCI_DEV_PUT(dev);
goto failed;
@@ -688,72 +710,78 @@ static void nvos_proc_create(void)
#endif
proc_nvidia_agp = entry;
- entry = create_proc_entry("status", flags, proc_nvidia_agp);
+ entry = proc_create_data("status", flags, proc_nvidia_agp,
+ &nv_procfs_read_agp_status_fops, nv);
if (!entry) {
NV_PCI_DEV_PUT(dev);
goto failed;
}
- entry->data = nv;
- entry->read_proc = nv_kern_read_status;
-#if defined(NV_PROC_DIR_ENTRY_HAS_OWNER)
- entry->owner = THIS_MODULE;
-#endif
+ entry = proc_create("host-bridge", flags, proc_nvidia_agp,
+ &nv_procfs_read_agp_info_fops);
- entry = create_proc_entry("host-bridge", flags, proc_nvidia_agp);
if (!entry) {
NV_PCI_DEV_PUT(dev);
goto failed;
}
- entry->data = NULL;
- entry->read_proc = nv_kern_read_agpinfo;
-#if defined(NV_PROC_DIR_ENTRY_HAS_OWNER)
- entry->owner = THIS_MODULE;
-#endif
-
- entry = create_proc_entry("card", flags, proc_nvidia_agp);
+ entry = proc_create_data("card", flags, proc_nvidia_agp,
+ &nv_procfs_read_agp_info_gpu_fops, nv);
if (!entry) {
NV_PCI_DEV_PUT(dev);
goto failed;
}
- entry->data = nv;
- entry->read_proc = nv_kern_read_agpinfo;
-#if defined(NV_PROC_DIR_ENTRY_HAS_OWNER)
- entry->owner = THIS_MODULE;
-#endif
}
NV_PCI_DEV_PUT(dev);
}
- entry = create_proc_entry("version", flags, proc_nvidia);
+ entry = proc_create("version", flags, proc_nvidia, &nv_procfs_version_fops);
if (!entry)
goto failed;
- entry->read_proc = nv_kern_read_version;
-#if defined(NV_PROC_DIR_ENTRY_HAS_OWNER)
- entry->owner = THIS_MODULE;
-#endif
-
- entry = create_proc_entry("registry", flags, proc_nvidia);
+ entry = proc_create("registry", flags, proc_nvidia,
+ &nv_procfs_registry_fops);
if (!entry)
goto failed;
- entry->read_proc = nv_kern_read_registry;
-#if defined(NV_PROC_DIR_ENTRY_HAS_OWNER)
- entry->owner = THIS_MODULE;
-#endif
-
return;
failed:
nv_printf(NV_DBG_ERRORS, "NVRM: failed to create /proc entries!\n");
- nvos_proc_remove_all(proc_nvidia);
+ remove_proc_subtree("nvidia", proc_nvidia);
#endif
}
+static int
+nv_procfs_show_text_file(
+ struct seq_file *m,
+ void *v
+)
+{
+ seq_printf(m, "%s", (char *)m->private);
+
+ return 0;
+}
+
+static int
+nv_procfs_open_text_file(
+ struct inode *inode,
+ struct file *file
+)
+{
+ return single_open(file, nv_procfs_show_text_file, PDE_DATA(inode));
+}
+
+static const struct file_operations nv_procfs_text_fops = {
+ .owner = THIS_MODULE,
+ .open = nv_procfs_open_text_file,
+ .read = seq_read,
+ .llseek = seq_lseek,
+ .release = single_release,
+};
+
static void
nvos_proc_add_text_file(
struct proc_dir_entry *parent,
@@ -762,41 +790,18 @@ nvos_proc_add_text_file(
)
{
#ifdef CONFIG_PROC_FS
- struct proc_dir_entry *entry;
-
/* world readable file */
int flags = S_IFREG | S_IRUGO;
- entry = create_proc_entry(filename, flags, parent);
- if (!entry) return;
-
- entry->data = (void *)text;
- entry->read_proc = nv_kern_read_text_file;
-#if defined(NV_PROC_DIR_ENTRY_HAS_OWNER)
- entry->owner = THIS_MODULE;
-#endif
+ proc_create_data(filename, flags, parent, &nv_procfs_text_fops,
+ (void *)text);
#endif
}
-#ifdef CONFIG_PROC_FS
-static void nvos_proc_remove_all(struct proc_dir_entry *entry)
-{
- while (entry) {
- struct proc_dir_entry *next = entry->next;
- if (entry->subdir)
- nvos_proc_remove_all(entry->subdir);
- remove_proc_entry(entry->name, entry->parent);
- if (entry == proc_nvidia)
- break;
- entry = next;
- }
-}
-#endif
-
static void nvos_proc_remove(void)
{
#ifdef CONFIG_PROC_FS
- nvos_proc_remove_all(proc_nvidia);
+ remove_proc_subtree("nvidia", proc_nvidia);
#endif
}
@@ -3065,18 +3070,19 @@ void NV_API_CALL nv_set_dma_address_size(
}
static int
-nv_kern_read_cardinfo(char *page, char **start, off_t off,
- int count, int *eof, void *data)
+nv_procfs_show_card_info(
+ struct seq_file *m,
+ void *v
+)
{
struct pci_dev *dev;
char *type, *fmt, tmpstr[NV_DEVICE_NAME_LENGTH];
- int len = 0, status;
+ int status;
U032 vbios_rev1, vbios_rev2, vbios_rev3, vbios_rev4, vbios_rev5;
nv_stack_t *sp = NULL;
nv_state_t *nv;
- nv = (nv_state_t *) data;
- *eof = 1;
+ nv = (nv_state_t *) m->private;
dev = nv_get_pci_device(nv);
if (!dev)
@@ -3094,38 +3100,38 @@ nv_kern_read_cardinfo(char *page, char **start, off_t off,
strcpy (tmpstr, "Unknown");
}
- len += sprintf(page+len, "Model: \t\t %s\n", tmpstr);
- len += sprintf(page+len, "IRQ: \t\t %d\n", nv->interrupt_line);
+ seq_printf(m, "Model: \t\t %s\n", tmpstr);
+ seq_printf(m, "IRQ: \t\t %d\n", nv->interrupt_line);
status = rm_get_vbios_version(sp, nv, &vbios_rev1, &vbios_rev2,
&vbios_rev3, &vbios_rev4, &vbios_rev5);
if (status < 0) {
/* before rm_init_adapter */
- len += sprintf(page+len, "Video BIOS: \t ??.??.??.??.??\n");
+ seq_printf(m, "Video BIOS: \t ??.??.??.??.??\n");
} else {
fmt = "Video BIOS: \t %02x.%02x.%02x.%02x.%02x\n";
- len += sprintf(page+len, fmt, vbios_rev1, vbios_rev2, vbios_rev3,
+ seq_printf(m, fmt, vbios_rev1, vbios_rev2, vbios_rev3,
vbios_rev4, vbios_rev5);
}
if (nvos_find_agp_capability(dev)) type = "AGP";
else if (nvos_find_pci_express_capability(dev)) type = "PCI-E";
else type = "PCI";
- len += sprintf(page+len, "Card Type: \t %s\n", type);
+ seq_printf(m, "Card Type: \t %s\n", type);
// Report the number of bits set in dev->dma_mask
- len += sprintf(page+len, "DMA Size: \t %d bits\n",
+ seq_printf(m, "DMA Size: \t %d bits\n",
nv_count_bits(dev->dma_mask));
- len += sprintf(page+len, "DMA Mask: \t 0x%llx\n", dev->dma_mask);
- len += sprintf(page+len, "Bus Location: \t %02x.%02x.%x\n",
+ seq_printf(m, "DMA Mask: \t 0x%llx\n", dev->dma_mask);
+ seq_printf(m, "Bus Location: \t %02x.%02x.%x\n",
nv->bus, nv->slot, PCI_FUNC(dev->devfn));
#ifdef DEBUG
do
{
int j;
for (j = 0; j < NV_GPU_NUM_BARS; j++)
- len += sprintf(page+len, "BAR%i: \t\t 0x%08x (%iMB)\n",
+ seq_printf(m, "BAR%i: \t\t 0x%08x (%iMB)\n",
j, nv->bars[j].address, nv->bars[j].size >> 20);
} while(0);
#endif
@@ -3133,35 +3139,68 @@ nv_kern_read_cardinfo(char *page, char **start, off_t off,
NV_KMEM_CACHE_FREE_STACK(sp);
NV_PCI_DEV_PUT(dev);
- return len;
+ return 0;
+}
+
+static int
+nv_procfs_read_card_info(
+ struct inode *inode,
+ struct file *file
+)
+{
+ return single_open(file, nv_procfs_show_card_info, PDE_DATA(inode));
}
+static const struct file_operations nv_procfs_read_card_info_fops = {
+ .owner = THIS_MODULE,
+ .open = nv_procfs_read_card_info,
+ .read = seq_read,
+ .llseek = seq_lseek,
+ .release = single_release,
+};
+
static int
-nv_kern_read_version(char *page, char **start, off_t off,
- int count, int *eof, void *data)
+nv_procfs_show_version(
+ struct seq_file *m,
+ void *v
+)
{
- int len = 0;
- *eof = 1;
-
- len += sprintf(page+len, "NVRM version: %s\n", pNVRM_ID);
- len += sprintf(page+len, "GCC version: %s\n", NV_COMPILER);
-
- return len;
+ seq_printf(m, "NVRM version: %s\n", pNVRM_ID);
+ seq_printf(m, "GCC version: %s\n", NV_COMPILER);
+
+ return 0;
+}
+
+static int
+nv_procfs_open_version(
+ struct inode *inode,
+ struct file *file
+)
+{
+ return single_open(file, nv_procfs_show_version, NULL);
}
+static const struct file_operations nv_procfs_version_fops = {
+ .owner = THIS_MODULE,
+ .open = nv_procfs_open_version,
+ .read = seq_read,
+ .llseek = seq_lseek,
+ .release = single_release,
+};
+
static int
-nv_kern_read_agpinfo(char *page, char **start, off_t off,
- int count, int *eof, void *data)
+nv_procfs_show_agp_info(
+ struct seq_file *m,
+ void *v
+)
{
struct pci_dev *dev;
char *fw, *sba;
u8 cap_ptr;
u32 status, command, agp_rate;
- int len = 0;
nv_state_t *nv;
- nv = (nv_state_t *) data;
- *eof = 1;
+ nv = (nv_state_t *) m->private;
if (nv) {
dev = nv_get_pci_device(nv);
@@ -3172,12 +3211,12 @@ nv_kern_read_agpinfo(char *page, char **start, off_t off,
if (!dev)
return 0;
- len += sprintf(page+len, "Host Bridge: \t ");
+ seq_printf(m, "Host Bridge: \t ");
#if defined(CONFIG_PCI_NAMES)
- len += sprintf(page+len, "%s\n", NV_PCI_DEVICE_NAME(dev));
+ seq_printf(m, "%s\n", NV_PCI_DEVICE_NAME(dev));
#else
- len += sprintf(page+len, "PCI device %04x:%04x\n",
+ seq_printf(m, "PCI device %04x:%04x\n",
dev->vendor, dev->device);
#endif
}
@@ -3191,40 +3230,74 @@ nv_kern_read_agpinfo(char *page, char **start, off_t off,
fw = (status & 0x00000010) ? "Supported" : "Not Supported";
sba = (status & 0x00000200) ? "Supported" : "Not Supported";
- len += sprintf(page+len, "Fast Writes: \t %s\n", fw);
- len += sprintf(page+len, "SBA: \t\t %s\n", sba);
+ seq_printf(m, "Fast Writes: \t %s\n", fw);
+ seq_printf(m, "SBA: \t\t %s\n", sba);
agp_rate = status & 0x7;
if (status & 0x8) // agp 3.0
agp_rate <<= 2;
- len += sprintf(page+len, "AGP Rates: \t %s%s%s%s\n",
+ seq_printf(m, "AGP Rates: \t %s%s%s%s\n",
(agp_rate & 0x00000008) ? "8x " : "",
(agp_rate & 0x00000004) ? "4x " : "",
(agp_rate & 0x00000002) ? "2x " : "",
(agp_rate & 0x00000001) ? "1x " : "");
- len += sprintf(page+len, "Registers: \t 0x%08x:0x%08x\n", status, command);
+ seq_printf(m, "Registers: \t 0x%08x:0x%08x\n", status, command);
NV_PCI_DEV_PUT(dev);
- return len;
+ return 0;
+}
+
+static int
+nv_procfs_read_agp_info(
+ struct inode *inode,
+ struct file *file
+)
+{
+ return single_open(file, nv_procfs_show_agp_info, NULL);
}
+static const struct file_operations nv_procfs_read_agp_info_fops = {
+ .owner = THIS_MODULE,
+ .open = nv_procfs_read_agp_info,
+ .read = seq_read,
+ .llseek = seq_lseek,
+ .release = single_release,
+};
+
static int
-nv_kern_read_status(char *page, char **start, off_t off,
- int count, int *eof, void *data)
+nv_procfs_read_agp_info_gpu(
+ struct inode *inode,
+ struct file *file
+)
+{
+ return single_open(file, nv_procfs_show_agp_info, PDE_DATA(inode));
+}
+
+static const struct file_operations nv_procfs_read_agp_info_gpu_fops = {
+ .owner = THIS_MODULE,
+ .open = nv_procfs_read_agp_info_gpu,
+ .read = seq_read,
+ .llseek = seq_lseek,
+ .release = single_release,
+};
+
+static int
+nv_procfs_show_agp_status(
+ struct seq_file *m,
+ void *v
+)
{
struct pci_dev *dev;
char *fw, *sba, *drv;
- int len = 0;
u8 cap_ptr;
u32 scratch;
u32 status, command, agp_rate;
nv_stack_t *sp = NULL;
nv_state_t *nv;
- nv = (nv_state_t *) data;
- *eof = 1;
+ nv = (nv_state_t *) m->private;
dev = nvos_get_agp_device_by_class(PCI_CLASS_BRIDGE_HOST);
if (!dev)
@@ -3246,10 +3319,10 @@ nv_kern_read_status(char *page, char **start, off_t off,
command &= scratch;
if (NV_AGP_ENABLED(nv) && (command & 0x100)) {
- len += sprintf(page+len, "Status: \t Enabled\n");
+ seq_printf(m, "Status: \t Enabled\n");
drv = NV_OSAGP_ENABLED(nv) ? "AGPGART" : "NVIDIA";
- len += sprintf(page+len, "Driver: \t %s\n", drv);
+ seq_printf(m, "Driver: \t %s\n", drv);
// mask off agp rate.
// If this is agp 3.0, we need to shift the value
@@ -3257,13 +3330,13 @@ nv_kern_read_status(char *page, char **start, off_t off,
if (status & 0x8) // agp 3.0
agp_rate <<= 2;
- len += sprintf(page+len, "AGP Rate: \t %dx\n", agp_rate);
+ seq_printf(m, "AGP Rate: \t %dx\n", agp_rate);
fw = (command & 0x00000010) ? "Enabled" : "Disabled";
- len += sprintf(page+len, "Fast Writes: \t %s\n", fw);
+ seq_printf(m, "Fast Writes: \t %s\n", fw);
sba = (command & 0x00000200) ? "Enabled" : "Disabled";
- len += sprintf(page+len, "SBA: \t\t %s\n", sba);
+ seq_printf(m, "SBA: \t\t %s\n", sba);
} else {
int agp_config = 0;
@@ -3274,7 +3347,7 @@ nv_kern_read_status(char *page, char **start, off_t off,
return 0;
}
- len += sprintf(page+len, "Status: \t Disabled\n\n");
+ seq_printf(m, "Status: \t Disabled\n\n");
/*
* If we find AGP is disabled, but the RM registry indicates it
@@ -3288,7 +3361,7 @@ nv_kern_read_status(char *page, char **start, off_t off,
rm_read_registry_dword(sp, nv, "NVreg", "XNvAGP", &agp_config);
if (agp_config != NVOS_AGP_CONFIG_DISABLE_AGP && NV_AGP_FAILED(nv)) {
- len += sprintf(page+len,
+ seq_printf(m,
"AGP initialization failed, please check the ouput \n"
"of the 'dmesg' command and/or your system log file \n"
"for additional information on this problem. \n");
@@ -3298,37 +3371,63 @@ nv_kern_read_status(char *page, char **start, off_t off,
}
NV_PCI_DEV_PUT(dev);
- return len;
+ return 0;
+}
+
+static int
+nv_procfs_read_agp_status(
+ struct inode *inode,
+ struct file *file
+)
+{
+ return single_open(file, nv_procfs_show_agp_status, PDE_DATA(inode));
}
+static const struct file_operations nv_procfs_read_agp_status_fops = {
+ .owner = THIS_MODULE,
+ .open = nv_procfs_read_agp_status,
+ .read = seq_read,
+ .llseek = seq_lseek,
+ .release = single_release,
+};
+
extern nv_parm_t nv_parms[];
extern char *NVreg_RegistryDwords;
static int
-nv_kern_read_registry(char *page, char **start, off_t off,
- int count, int *eof, void *data)
+nv_procfs_show_registry(
+ struct seq_file *m,
+ void *v
+)
{
- unsigned int i, len = 0;
+ unsigned int i;
nv_parm_t *entry;
- *eof = 1;
for (i = 0; (entry = &nv_parms[i])->name != NULL; i++)
- len += sprintf(page+len, "%s: %u\n", entry->name, *entry->data);
+ seq_printf(m, "%s: %u\n", entry->name, *entry->data);
- len += sprintf(page+len, "RegistryDwords: \"%s\"\n",
+ seq_printf(m, "RegistryDwords: \"%s\"\n",
(NVreg_RegistryDwords != NULL) ? NVreg_RegistryDwords : "");
- return len;
+ return 0;
}
static int
-nv_kern_read_text_file(char *page, char **start, off_t off,
- int count, int *eof, void *data)
+nv_procfs_open_registry(
+ struct inode *inode,
+ struct file *file
+)
{
- *eof = 1;
- return sprintf(page, "%s", (char *)data);
+ return single_open(file, nv_procfs_show_registry, NULL);
}
+static const struct file_operations nv_procfs_registry_fops = {
+ .open = nv_procfs_open_registry,
+ .read = seq_read,
+ .llseek = seq_lseek,
+ .release = single_release,
+};
+
/***
*** EXPORTS to rest of resman
***/
--
1.7.9.5
Index: nvidia-173xx-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/nvidia-173xx-kmod/F-19/nvidia-173xx-kmod.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- nvidia-173xx-kmod.spec 30 Aug 2013 06:14:00 -0000 1.64
+++ nvidia-173xx-kmod.spec 17 Sep 2013 17:20:51 -0000 1.65
@@ -3,12 +3,12 @@
# "buildforkernels newest" macro for just that build; immediately after
# queuing that build enable the macro again for subsequent builds; that way
# a new akmod package will only get build when a new one is actually needed
-%global buildforkernels newest
+%global buildforkernels current
Name: nvidia-173xx-kmod
Version: 173.14.37
# Taken over by kmodtool
-Release: 2%{?dist}.6
+Release: 3%{?dist}
Summary: NVIDIA 173xx display driver kernel module
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -18,7 +18,7 @@
# http://us.download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linu...
Source0: nvidia-kmod-data-%{version}.tar.bz2
-Patch0: fix-build-with-linux-3.10.patch
+Patch0: fix-build-with-linux-3.11.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -90,6 +90,9 @@
%changelog
+* Tue Sep 17 2013 Leigh Scott <leigh123linux(a)googlemail.com> - 173.14.37-3
+- patch for 3.11 kernel
+
* Fri Aug 30 2013 Nicolas Chauvet <kwizart(a)gmail.com> - 173.14.37-2.6
- Rebuilt for kernel
--- fix-build-with-linux-3.10.patch DELETED ---
11 years, 2 months