Commit Graph

577 Commits

Author SHA1 Message Date
guillemj
3a78ad5818 Remove first forgotten argument from pci_write_config_*. 2006-12-03 07:30:26 +00:00
guillemj
b92f14b42c * 3dfx_device.c (setmtrr_3dfx): Make it static.
(resetmtrr_3dfx): Likewise.
2006-12-03 07:13:34 +00:00
guillemj
3afa27274d Bah, fix typo VMA_OFFSET_ALIGNED -> VM_OFFSET_ALIGNED. 2006-12-03 07:10:47 +00:00
guillemj
97b9d60875 * 3dfx_device.c (id_table_3dfx): Move newar the corresponding ifdef
for older kernels.
	(findCards): Likewise.
	(driver_3dfx): Forward declare.
2006-12-03 07:09:57 +00:00
guillemj
054807b1dd Rename functions obsoleted in linux 2.1.93.
* 3dfx_device.c (pcibios_read_config_byte): Rename to ...
	(pci_read_config_byte): ... this and remove first argument.
	(pcibios_read_config_word): Rename to ...
	(pci_read_config_word): ... this and remove first argument.
	(pcibios_read_config_dword): Rename to ...
	(pci_read_config_dword): ... this and remove first argument.
	(pcibios_write_config_dword): Rename to ...
	(pci_write_config_dword): ... this and remove first argument.
2006-12-03 06:50:14 +00:00
guillemj
526262f4a6 * 3dfx_device.c (VMA_OFFSET_ALIGNED): New macro.
(mmap_3dfx): Use VMA_OFFSET_ALIGNED, instead of checking for specific
	kernel versions and changing behaviour.
2006-12-03 05:48:58 +00:00
guillemj
0ee0b2add4 Indentation fixes. 2006-12-03 05:42:50 +00:00
guillemj
871c2bcf65 Backport "sequence point" fix for string upper code from glide3x. 2006-12-03 04:49:19 +00:00
guillemj
37d9fc555e Ooops, forgot to add this file.
Backported from glide3x.
2006-12-03 04:47:28 +00:00
guillemj
4372942b61 Remove the shared library on realclean as well. 2006-11-30 09:45:33 +00:00
guillemj
acbd24bb88 Unify library name to be libglide3.
Create the shared library with the full major.minor (taking the number from
old sources).
Create a symlink for the shared library for the .so file.
2006-11-30 09:42:50 +00:00
guillemj
a1e9017af6 No autoconf anymore. 2006-11-30 09:21:28 +00:00
guillemj
1ffbd85481 No TEXUS2 option in glide2x. 2006-11-30 09:18:59 +00:00
guillemj
9c38a603a0 Switch to the new "build system", to be in sync with the rest of glide.
Backport cpudtect.asm from glide3 for h3.
Add fpu.c to cvg.
2006-11-30 09:16:50 +00:00
guillemj
b11bb573b0 Link against fxmisc/fxos.o and fxmisc/fximg.o to match the old library
signature, should be checked if it's really needed.
2006-11-30 09:10:25 +00:00
guillemj
019a1ff4dc Sync Makefile to the general style used in the other libs. 2006-11-30 09:05:08 +00:00
guillemj
fd08c9c716 Link libraries against libm, needed by pow. 2006-11-12 02:38:43 +00:00
guillemj
1d47a8de8e Remove the autoconf build system. It was broken and out of sync with the
working makefiles.linux.
2006-09-04 23:02:01 +00:00
guillemj
6cc1fe6e7e Move library soname to GLIDE_SONAME. 2006-09-04 20:55:56 +00:00
guillemj
959334ad71 Remove redundant definition of single_precision_asm and double_precision_asm,
to fix the code not building from source.
2006-09-02 03:13:53 +00:00
guillemj
910bd84cf8 Backport glide3 fix for PIC compilation with gcc 4.1 from Hans de Goede. 2006-09-02 03:12:29 +00:00
guillemj
00a387e94f Fix typo (glide3x -> glide2x). 2006-09-01 19:45:54 +00:00
guillemj
dfd3327037 Fix warnings by moving the assignments from inside the if conditionals
to outside.
2006-09-01 19:44:38 +00:00
guillemj
0070c1729d Make main return an int instead of void.
Protect assignment inside the while conditional.
Actually pass strings to the printf code with %s.
2006-09-01 19:43:08 +00:00
guillemj
84cd0d554f Make tlErrorMessage function return something (true). 2006-09-01 19:40:34 +00:00
guillemj
5a517c8e2f Remove init96SetupRendering function prototype from inside init96MapBoard
function to the beginning of the file.
2006-09-01 19:39:25 +00:00
guillemj
f82d3a3a0a Remove redundant (and thus making it fail to build) PCI_VENDOR_ID and
PCI_DEVICE_ID declarations.
2006-09-01 19:36:46 +00:00
guillemj
87f391fec1 Add missing include <string.h>. 2006-09-01 19:35:12 +00:00
guillemj
1738b62d40 Fix spaces in ChangeLog entry. 2006-09-01 19:22:40 +00:00
dborca
ebbc49b41b Missing Rush files. 2006-07-24 06:52:23 +00:00
guillemj
91fdbf4feb Rename HAVE_MTRR to CONFIG_MTRR. 2006-03-03 02:15:27 +00:00
jwrdegoede
1561d5a656 Fix gcc 4.1 new type-punned ptr breaks antialias. warnings 2006-01-16 21:22:46 +00:00
dborca
d2e6e8062f removed -mcpu=pentium 2005-11-29 22:05:55 +00:00
guillemj
c67e1e2526 Protect against multiple macro definitions. 2005-09-21 22:21:57 +00:00
guillemj
fd64b6ac96 Move imageConvert declaration from inside main to before it.
Fixes build failure with gcc 4.0.1.
2005-09-21 22:12:27 +00:00
jwrdegoede
fef69dbf9a Add -soname to linux linkerflags 2005-08-15 15:21:20 +00:00
jwrdegoede
93f42cc6f8 Last needed 64 bit fixes for h5/h3, complete 64 bit support for cvg 2005-08-13 21:07:04 +00:00
jwrdegoede
a30877fb0f Add 64 bit todo list 2005-06-26 07:06:10 +00:00
jwrdegoede
4338d7a4e9 Add warning about stack layout assumptions 2005-06-25 20:56:53 +00:00
jwrdegoede
12dbdd977a Add Linux-portability.txt 2005-06-25 20:53:42 +00:00
jwrdegoede
0c312424e3 Add missing P6FENCE for x86_64 2005-06-23 20:03:38 +00:00
jwrdegoede
23a241e1c7 change some scanf %u back to %i to allow using both hex and dec numbers 2005-06-17 14:53:33 +00:00
jwrdegoede
87a74e1a2b Fix few warnings when USE_X86=1 is not set 2005-06-17 14:18:50 +00:00
jwrdegoede
759cde16ea Fix 2 sst1 bugs accidently introduced by warning fixes 2005-06-16 18:58:33 +00:00
jwrdegoede
a072e43eb1 Really fix cvg linking when GL_X86 is not defined 2005-06-10 19:10:54 +00:00
jwrdegoede
fb1109315a Fix linking when GL_X86 is not defined 2005-06-10 18:59:00 +00:00
jwrdegoede
6f3645a1cf Fix compilation when GL_X86 is not defined 2005-06-10 14:17:56 +00:00
jwrdegoede
8106609282 h3/h5 Remove swlibs/fxmisc/linutil.o on a make clean 2005-06-09 18:34:50 +00:00
jwrdegoede
4b63afa845 Fixed all warnings with gcc4 -Wall -W -Wno-unused-parameter, except for a couple I believe to be a gcc bug. This has been reported to gcc. 2005-06-09 18:32:40 +00:00
jwrdegoede
dca89ecb08 Make h5 and h3 tree 64 bit clean. This is ported over from the non-devel branch so this might be incomplete 2005-05-25 08:56:37 +00:00