* [PATCH] drivers/video/sis/ macros for old kernels removal
@ 2005-08-08 15:10 Jiri Slaby
2005-08-08 15:23 ` Jiri Slaby
0 siblings, 1 reply; 4+ messages in thread
From: Jiri Slaby @ 2005-08-08 15:10 UTC (permalink / raw)
To: Linux Kernel Mailing List
This patch removes some #ifs, which controls kernel version (2.4 or
like), so the code could be removed with the macros.
linux/version.h inclusions also removed.
init.h | 5
init301.h | 5
sis.h | 46 ---
sis_accel.c | 243 ------------------
sis_accel.h | 13 -
sis_main.c | 780
------------------------------------------------------------
sis_main.h | 55 ----
vgatypes.h | 2
8 files changed, 2 insertions(+), 1147 deletions(-)
patch is here (45 KiB):
http://www.fi.muni.cz/~xslaby/lnx/sis_macros.txt
--
Jiri Slaby www.fi.muni.cz/~xslaby
~\-/~ jirislaby@gmail.com ~\-/~
241B347EC88228DE51EE A49C4A73A25004CB2A10
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] drivers/video/sis/ macros for old kernels removal
2005-08-08 15:10 [PATCH] drivers/video/sis/ macros for old kernels removal Jiri Slaby
@ 2005-08-08 15:23 ` Jiri Slaby
2005-08-08 15:48 ` Arjan van de Ven
0 siblings, 1 reply; 4+ messages in thread
From: Jiri Slaby @ 2005-08-08 15:23 UTC (permalink / raw)
To: Jiri Slaby; +Cc: Linux Kernel Mailing List
Jiri Slaby napsal(a):
> This patch removes some #ifs, which controls kernel version (2.4 or
> like), so the code could be removed with the macros.
> linux/version.h inclusions also removed.
Sorry, this was bad idea. X includes some of these file, doesn't it?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] drivers/video/sis/ macros for old kernels removal
2005-08-08 15:23 ` Jiri Slaby
@ 2005-08-08 15:48 ` Arjan van de Ven
0 siblings, 0 replies; 4+ messages in thread
From: Arjan van de Ven @ 2005-08-08 15:48 UTC (permalink / raw)
To: Jiri Slaby; +Cc: Linux Kernel Mailing List
On Mon, 2005-08-08 at 17:23 +0200, Jiri Slaby wrote:
> Jiri Slaby napsal(a):
>
> > This patch removes some #ifs, which controls kernel version (2.4 or
> > like), so the code could be removed with the macros.
> > linux/version.h inclusions also removed.
>
> Sorry, this was bad idea. X includes some of these file, doesn't it?
X can't depend on the version of the kernel anyway; the "version" in
version.h has no relation with the running kernel anyway (or with the
version of the kernel that will be used to run the X binaries on)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] drivers/video/sis/ macros for old kernels removal
@ 2005-08-08 17:19 Thomas Winischhofer
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Winischhofer @ 2005-08-08 17:19 UTC (permalink / raw)
To: Linux Kernel Mailing List
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Arjan van de Ven wrote:
> On Mon, 2005-08-08 at 17:23 +0200, Jiri Slaby wrote:
> > Jiri Slaby napsal(a):
> >
>>> This patch removes some #ifs, which controls kernel version (2.4 or
>>> like), so the code could be removed with the macros.
>>> linux/version.h inclusions also removed.
>>
>> Sorry, this was bad idea. X includes some of these file, doesn't it?
>
> X can't depend on the version of the kernel anyway; the "version" in
> version.h has no relation with the running kernel anyway (or with the
> version of the kernel that will be used to run the X binaries on)
No good idea anyway. X does, of course, not "include" these files, but
they are reused. I don't want to maintain two different versions of the
files.
Furthermore, I have a quite big sisfb update in the queue which I intend
to submit after 2.6.13 is out. It, amongst others, removes a lot of 2.4
related stuff.
It's best to leave it alone for now.
Thomas
- --
Thomas Winischhofer
Vienna/Austria
thomas AT winischhofer DOT net http://www.winischhofer.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC95QVzydIRAktyUcRAkrHAJ98HUOIk7LjHQKWhgMVQqqaiH4mQACePYeG
Xl3yGGJeINOsgTT2FOdpQI8=
=aItr
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-08-08 17:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-08 15:10 [PATCH] drivers/video/sis/ macros for old kernels removal Jiri Slaby
2005-08-08 15:23 ` Jiri Slaby
2005-08-08 15:48 ` Arjan van de Ven
-- strict thread matches above, loose matches on Subject: below --
2005-08-08 17:19 Thomas Winischhofer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox