diff options
author | Ian Romanick <idr@umwelt.(none)> | 2006-08-08 10:28:33 -0700 |
---|---|---|
committer | Ian Romanick <idr@umwelt.(none)> | 2006-08-08 10:28:33 -0700 |
commit | 6ac341e9fd4157a0cdb7fd3d043c136d5799146f (patch) | |
tree | a7da62f465687b1f496b2b9837d0631482a76a23 | |
parent | ee91d006596634d339a853aaaa09b33b74b60235 (diff) |
Add some more missing license statements. Trivial whitespace clean-ups.
-rw-r--r-- | src/savage_cursor.c | 51 | ||||
-rw-r--r-- | src/savage_driver.c | 36 | ||||
-rw-r--r-- | src/savage_streams.c | 28 | ||||
-rw-r--r-- | src/savage_video.c | 28 |
4 files changed, 123 insertions, 20 deletions
diff --git a/src/savage_cursor.c b/src/savage_cursor.c index 8885496..1af2449 100644 --- a/src/savage_cursor.c +++ b/src/savage_cursor.c @@ -1,12 +1,40 @@ -/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/savage/savage_cursor.c,v 1.7 2002/05/14 20:19:51 alanh Exp $ */ - /* - * Hardware cursor support for S3 Savage 4.0 driver. Taken with - * very few changes from the s3virge cursor file. + * Copyright (C) 1994-2000 The XFree86 Project, Inc. All Rights Reserved. + * Copyright (c) 2003-2006, X.Org Foundation + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + * + * Except as contained in this notice, the name of the copyright holder(s) + * and author(s) shall not be used in advertising or otherwise to promote + * the sale, use or other dealings in this Software without prior written + * authorization from the copyright holder(s) and author(s). + */ + +/** + * \file savage_cursor.c + * Hardware cursor support for S3 Savage driver. Taken with very few changes + * from the s3virge cursor file. * - * S. Marineau, 19/04/97. - * Modified by Amancio Hasty and Jon Tombs - * Ported to 4.0 by Tim Roberts. + * \author S. Marineau (19/04/97) + * \author Amancio Hasty + * \author Jon Tombs + * \author Tim Roberts */ #ifdef HAVE_CONFIG_H @@ -94,12 +122,9 @@ SavageHWCursorInit(ScreenPtr pScreen) * use palettized values at 8-bit when not clock doubled. */ - if( - ((psav->Chipset != S3_SAVAGE4) - && (inSRReg(0x18) & 0x80) && (inSRReg(0x15) & 0x50) ) - || - S3_SAVAGE_MOBILE_SERIES(psav->Chipset) - ) + if (((psav->Chipset != S3_SAVAGE4) + && (inSRReg(0x18) & 0x80) && (inSRReg(0x15) & 0x50)) + || S3_SAVAGE_MOBILE_SERIES(psav->Chipset)) infoPtr->Flags |= HARDWARE_CURSOR_TRUECOLOR_AT_8BPP; #endif /* diff --git a/src/savage_driver.c b/src/savage_driver.c index 6f08f55..a3ddc99 100644 --- a/src/savage_driver.c +++ b/src/savage_driver.c @@ -1,14 +1,38 @@ -/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/savage/savage_driver.c,v 1.48tsi Exp $ */ /* - * vim: sw=4 ts=8 ai ic: + * Copyright (C) 1994-2000 The XFree86 Project, Inc. All Rights Reserved. + * Copyright (c) 2003-2006, X.Org Foundation * - * XFree86 4.0 S3 Savage driver + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: * - * Tim Roberts <timr@probo.com> - * Ani Joshi <ajoshi@unixbox.com> + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. * - * TODO: add credits for the 3.3.x authors... + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. * + * Except as contained in this notice, the name of the copyright holder(s) + * and author(s) shall not be used in advertising or otherwise to promote + * the sale, use or other dealings in this Software without prior written + * authorization from the copyright holder(s) and author(s). + */ + +/** + * \file savage_driver.c + * + * \author Tim Roberts <timr@probo.com> + * \author Ani Joshi <ajoshi@unixbox.com> + * + * \todo Add credits for the 3.3.x authors. */ #ifdef HAVE_CONFIG_H diff --git a/src/savage_streams.c b/src/savage_streams.c index e580001..c959da6 100644 --- a/src/savage_streams.c +++ b/src/savage_streams.c @@ -1,3 +1,31 @@ +/* + * Copyright (C) 1994-2000 The XFree86 Project, Inc. All Rights Reserved. + * Copyright (c) 2003-2006, X.Org Foundation + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + * + * Except as contained in this notice, the name of the copyright holder(s) + * and author(s) shall not be used in advertising or otherwise to promote + * the sale, use or other dealings in this Software without prior written + * authorization from the copyright holder(s) and author(s). + */ + #ifdef HAVE_CONFIG_H #include "config.h" #endif diff --git a/src/savage_video.c b/src/savage_video.c index f953787..ed45b0f 100644 --- a/src/savage_video.c +++ b/src/savage_video.c @@ -1,4 +1,30 @@ -/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/savage/savage_video.c,v 1.17tsi Exp $ */ +/* + * Copyright (C) 1994-2000 The XFree86 Project, Inc. All Rights Reserved. + * Copyright (c) 2003-2006, X.Org Foundation + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + * + * Except as contained in this notice, the name of the copyright holder(s) + * and author(s) shall not be used in advertising or otherwise to promote + * the sale, use or other dealings in this Software without prior written + * authorization from the copyright holder(s) and author(s). + */ #ifdef HAVE_CONFIG_H #include "config.h" |