Re: PATCH: Added amd64 support for aperture driver (plus cosmetics to make aperture building on sun4v)
On Mon, 26 Jun 2006, Martin Bochnig wrote: ### ### ## ## I have uploaded two files to ## http://fiesta.cs.tu-berlin.de/~mbeinsx/aperture_amd64_sun4v/ ## ### ### ... it was summer solstice on June 20/21 (UTC Date). And therefore also half-time between two Happy Holidays seasons, Tempus Fugit! So Cristmas is six short long months away - in whatever direction we look. This will, however, not hinder me from releasing my _few_ added bits to the public, which make XFree86's / Xorg's aperture driver work on amd64 64 bit (Open)Solaris kernels, where the un-open /dev/xsvc driver can not be distributed legally, and where the lack of a working amd64-aperture module has been kind of a show-stopper for over a year. So I'm indeed publishing those changes, before I actually have out marTux for x86/x64 (which I publically announce hereby) and because of that give Belenix, Nextenda and Schillix the chance to be out with a release featuring X11 in amd64 mode, before myself's marTux is. So go, hurry! :-) You may notice, that interestingly both XFree86 and Xorg still have 100% exactly the same apSolaris.shar inside their current CVS, last modified in 2002 (though the webcvs entries and even revisions look different at first): http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/hw/xfree86/etc/apSolaris.shar http://webcvs.freedesktop.org/xorg/xserver/xorg/hw/xfree86/os-support/solaris/apSolaris.shar?view=log --- -rw-r--r-- 1 bochnig bochnig16546 Jun 26 00:30 XF86_apSolaris.shar -rw-r--r-- 1 bochnig bochnig16546 Jun 26 00:29 Xorg_apSolaris.shar bash-3.1$ diff -cu XF86_apSolaris.shar Xorg_apSolaris.shar No differences encountered Both projects can (or could?) therefore use the same attached diff, if they decide to incorporate something. I also chose a new detection mechanism for ISA-dependent selection of Makefiles: I use isainfo -k instead of uname -m. The reasons for this are: #0.) You cannot determine with uname (on Solaris), whether or not we are running on a plain x86, or on amd64. Especially can't we determine, wich kernel we're running. uname -m would always and only give i86pc on amd64. #1.) sun4u is by no means the only implementation of sparcv9 anymore: Take into account SUNW's throughput computing (sun4v) or - not to forget - the vendor FJSV, that may become much more wide- spread in the future, when SUNW/FJSV's APL will be out. The ISA is important to us, rather then the machine platform. To summarize this: Integrated support for generic sparcv9 - and therefore also sun4v aka Niagara servers, later APL, Rock, Rock2 etc. in the mid term future. All that by means of a rather cosmetical change. This has now been committed to our repository, modulo a small number of cosmetic changes. Thanks for the patch! Marc. +--+---+ | Marc Aurele La France | work: 1-780-492-9310 | | Academic Information and| fax:1-780-492-1729 | |Communications Technologies | email: [EMAIL PROTECTED] | | 352 General Services Building +---+ | University of Alberta | | | Edmonton, Alberta | Standard disclaimers apply| | T6G 2H1 | | | CANADA | | +--+---+ XFree86 developer and VP. ATI driver and X server internals. ___ Devel mailing list Devel@XFree86.Org http://XFree86.Org/mailman/listinfo/devel
PATCH: Added amd64 support for aperture driver (plus cosmetics to make aperture building on sun4v)
apSolaris.shar apSolaris.shar__amd64_sun4v.diff ### ### ## ## I have uploaded two files to ## http://fiesta.cs.tu-berlin.de/~mbeinsx/aperture_amd64_sun4v/ ## ### ### ... it was summer solstice on June 20/21 (UTC Date). And therefore also half-time between two Happy Holidays seasons, Tempus Fugit! So Cristmas is six short long months away - in whatever direction we look. This will, however, not hinder me from releasing my _few_ added bits to the public, which make XFree86's / Xorg's aperture driver work on amd64 64 bit (Open)Solaris kernels, where the un-open /dev/xsvc driver can not be distributed legally, and where the lack of a working amd64-aperture module has been kind of a show-stopper for over a year. So I'm indeed publishing those changes, before I actually have out marTux for x86/x64 (which I publically announce hereby) and because of that give Belenix, Nextenda and Schillix the chance to be out with a release featuring X11 in amd64 mode, before myself's marTux is. So go, hurry! :-) You may notice, that interestingly both XFree86 and Xorg still have 100% exactly the same apSolaris.shar inside their current CVS, last modified in 2002 (though the webcvs entries and even revisions look different at first): http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/hw/xfree86/etc/apSolaris.shar http://webcvs.freedesktop.org/xorg/xserver/xorg/hw/xfree86/os-support/solaris/apSolaris.shar?view=log Both projects can (or could?) therefore use the same attached diff, if they decide to incorporate something. I also chose a new detection mechanism for ISA-dependent selection of Makefiles: I use isainfo -k instead of uname -m. The reasons for this are: #0.) You cannot determine with uname (on Solaris), whether or not we are running on a plain x86, or on amd64. Especially can't we determine, wich kernel we're running. uname -m would always and only give i86pc on amd64. #1.) sun4u is by no means the only implementation of sparcv9 anymore: Take into account SUNW's throughput computing (sun4v) or - not to forget - the vendor FJSV, that may become much more wide- spread in the future, when SUNW/FJSV's APL will be out. The ISA is important to us, rather then the machine platform. To summarize this: Integrated support for generic sparcv9 - and therefore also sun4v aka Niagara servers, later APL, Rock, Rock2 etc. in the mid term future. All that by means of a rather cosmetical change. --- Go OpenSolaris, go! --- :) -- Martin Bochnig [EMAIL PROTECTED] www: martux.org / martux.net / martux.com (starting ASAP over the week) apSolaris.shar Description: Binary data --- /apSolaris.shar Sat Jun 24 12:07:46 2006 +++ apSolaris.shar Sun Jun 25 20:59:11 2006 @@ -1,40 +1,30 @@ #!/bin/sh -# $XFree86$ -# This is a shell archive (produced by GNU sharutils 4.2c). -# To extract the files from this archive, save it to some FILE, remove -# everything before the `!/bin/sh' line above, then type `sh FILE'. +# for $XFree86$ +# and$Xorg$ # -# Made on 2002-10-04 13:41 MDT by [EMAIL PROTECTED]. -# Source directory was `/archives'. +# This is a shell archive. Save it in a file, remove anything before +# this line, and then unpack it by entering sh file. Note, it may +# create directories; files and directories will be owned by you and +# have default permissions. +# Made on Sun Jun 25 20:24:59 CEST 2006 by Martin Bochnig at martux.org # -# Existing files will *not* be overwritten unless `-c' is specified. -# This format requires very little intelligence at unshar time. -# if test, echo, mkdir, and sed may be needed. +# This archive contains: # -# This shar contains: -# length mode name -# -- -- -- -# 1521 -rw-r--r-- aperture/Makefile -# 1659 -rw-r--r-- aperture/README -# 7557 -rw-r--r-- aperture/aperture.c -#450 -rw-r--r-- aperture/aperture.conf -# 87 -rw-r--r-- aperture/devlink.tab -# 1062 -rw-r--r-- aperture/Makefile.sun4u +# ./aperture +# +# ./aperture/Makefile +# ./aperture/Makefile.amd64 +# ./aperture/Makefile.sparcv9 +# ./aperture/README +# ./aperture/aperture.c +# ./aperture/aperture.conf +# ./aperture/devlink.tab # -echo=echo -shar_tty= shar_n= shar_c=' -' -mkdir _sh09806 || ( echo 'failed to create locking directory' '_sh09806'; exit 1 ) -# = aperture/Makefile == -if test ! -d 'aperture'; then - $echo $echo_n 'x -' 'aperture: '$echo_c - if mkdir 'aperture'; then $echo 'created'; else $echo 'failed to create'; fi -fi -if test -f 'aperture/Makefile' test $first_param != -c; then - $echo 'x -' SKIPPING 'aperture/Makefile' '(file already exists)' -else - $echo 'x -' extracting
PATCH: Added amd64 support for aperture driver (plus cosmetics to make aperture building on sun4v)
apSolaris.shar apSolaris.shar__amd64_sun4v.diff ### ### ## ## I have uploaded two files to ## http://fiesta.cs.tu-berlin.de/~mbeinsx/aperture_amd64_sun4v/ ## ### ### ... it was summer solstice on June 20/21 (UTC Date). And therefore also half-time between two Happy Holidays seasons, Tempus Fugit! So Cristmas is six short long months away - in whatever direction we look. This will, however, not hinder me from releasing my _few_ added bits to the public, which make XFree86's / Xorg's aperture driver work on amd64 64 bit (Open)Solaris kernels, where the un-open /dev/xsvc driver can not be distributed legally, and where the lack of a working amd64-aperture module has been kind of a show-stopper for over a year. So I'm indeed publishing those changes, before I actually have out marTux for x86/x64 (which I publically announce hereby) and because of that give Belenix, Nextenda and Schillix the chance to be out with a release featuring X11 in amd64 mode, before myself's marTux is. So go, hurry! :-) You may notice, that interestingly both XFree86 and Xorg still have 100% exactly the same apSolaris.shar inside their current CVS, last modified in 2002 (though the webcvs entries and even revisions look different at first): http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/hw/xfree86/etc/apSolaris.shar http://webcvs.freedesktop.org/xorg/xserver/xorg/hw/xfree86/os-support/solaris/apSolaris.shar?view=log --- -rw-r--r-- 1 bochnig bochnig16546 Jun 26 00:30 XF86_apSolaris.shar -rw-r--r-- 1 bochnig bochnig16546 Jun 26 00:29 Xorg_apSolaris.shar bash-3.1$ diff -cu XF86_apSolaris.shar Xorg_apSolaris.shar No differences encountered Both projects can (or could?) therefore use the same attached diff, if they decide to incorporate something. I also chose a new detection mechanism for ISA-dependent selection of Makefiles: I use isainfo -k instead of uname -m. The reasons for this are: #0.) You cannot determine with uname (on Solaris), whether or not we are running on a plain x86, or on amd64. Especially can't we determine, wich kernel we're running. uname -m would always and only give i86pc on amd64. #1.) sun4u is by no means the only implementation of sparcv9 anymore: Take into account SUNW's throughput computing (sun4v) or - not to forget - the vendor FJSV, that may become much more wide- spread in the future, when SUNW/FJSV's APL will be out. The ISA is important to us, rather then the machine platform. To summarize this: Integrated support for generic sparcv9 - and therefore also sun4v aka Niagara servers, later APL, Rock, Rock2 etc. in the mid term future. All that by means of a rather cosmetical change. --- Go OpenSolaris, go! --- :) -- Martin Bochnig [EMAIL PROTECTED] www: martux.org / martux.net / martux.com (starting ASAP over the week) apSolaris.shar Description: Binary data --- /apSolaris.shar Sat Jun 24 12:07:46 2006 +++ apSolaris.shar Sun Jun 25 20:59:11 2006 @@ -1,40 +1,30 @@ #!/bin/sh -# $XFree86$ -# This is a shell archive (produced by GNU sharutils 4.2c). -# To extract the files from this archive, save it to some FILE, remove -# everything before the `!/bin/sh' line above, then type `sh FILE'. +# for $XFree86$ +# and$Xorg$ # -# Made on 2002-10-04 13:41 MDT by [EMAIL PROTECTED]. -# Source directory was `/archives'. +# This is a shell archive. Save it in a file, remove anything before +# this line, and then unpack it by entering sh file. Note, it may +# create directories; files and directories will be owned by you and +# have default permissions. +# Made on Sun Jun 25 20:24:59 CEST 2006 by Martin Bochnig at martux.org # -# Existing files will *not* be overwritten unless `-c' is specified. -# This format requires very little intelligence at unshar time. -# if test, echo, mkdir, and sed may be needed. +# This archive contains: # -# This shar contains: -# length mode name -# -- -- -- -# 1521 -rw-r--r-- aperture/Makefile -# 1659 -rw-r--r-- aperture/README -# 7557 -rw-r--r-- aperture/aperture.c -#450 -rw-r--r-- aperture/aperture.conf -# 87 -rw-r--r-- aperture/devlink.tab -# 1062 -rw-r--r-- aperture/Makefile.sun4u +# ./aperture +# +# ./aperture/Makefile +# ./aperture/Makefile.amd64 +# ./aperture/Makefile.sparcv9 +# ./aperture/README +# ./aperture/aperture.c +# ./aperture/aperture.conf +# ./aperture/devlink.tab # -echo=echo -shar_tty= shar_n= shar_c=' -' -mkdir _sh09806 || ( echo 'failed to create locking directory' '_sh09806'; exit 1 ) -# = aperture/Makefile == -if test ! -d 'aperture'; then - $echo $echo_n 'x -' 'aperture: '$echo_c - if mkdir