guillemj
22a95077f9
Use the "new" kernel level exception handling for memory accesses
...
introduced in linux 2.1.8, which obsoletes verify_aread.
* 3dfx_device.c (doQueryFetch): Remove verify_area and check for
copy_to_user return values.
(doPIORead): Likewise.
(doQueryUpdate): Remove verify_area and check for copy_from_user
return values.
(doQuery): Likewise.
(doPIOWrite): Likewise.
(doPIO): Likewise.
(verify_area) [DEBUG]: Remove function.
(a_last_dummy_function) [DEBUG]: Likewise.
2006-12-03 07:51:02 +00:00
guillemj
8c2fdd661a
* 3dfx_device.c (doQueryFetch): Assign desc->device to i, and use it
...
when referencing cards.
2006-12-03 07:34:28 +00:00
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
1738b62d40
Fix spaces in ChangeLog entry.
2006-09-01 19:22:40 +00:00
guillemj
91fdbf4feb
Rename HAVE_MTRR to CONFIG_MTRR.
2006-03-03 02:15:27 +00:00
guillemj
7e265ee0e5
Add GPL notice.
2005-04-23 22:18:15 +00:00
guillemj
8bc22af8d8
3dfx_device.c: Add Macronix MX86251 Voodoo Rush support.
...
Thanks to Ozkan Sezer <sezeroz@gmail.com >.
2005-04-23 22:16:30 +00:00
guillemj
fe7ea78d17
3dfx_device.c (setmtrr_3dfx): Add missing break on default case.
...
Thanks to Ozkan Sezer <sezeroz@gmail.com >.
2005-04-23 22:13:06 +00:00
guillemj
a5eca811b3
* 3dfx_device.c: Fix comment format. Remove obsolete compiler flags
...
info.
2005-04-23 21:45:05 +00:00
guillemj
92f8d35750
Move ChangeLog entries to a separate file.
2005-04-23 21:29:11 +00:00
guillemj
05750ad397
Move KVERS and MODULES_DIR to the outern Makefile so they get a value when
...
no config file exist.
2004-08-21 07:16:26 +00:00
guillemj
1a752ef706
Document new build system.
2004-08-21 05:57:46 +00:00
guillemj
e049e53976
New build system for Linux kernels using kbuild (2.6+) and the legacy ones.
2004-08-21 05:44:39 +00:00
dborca
b7ca0e0fa7
restrict ports that can be accessed
2004-08-20 08:26:47 +00:00
guillemj
d34710e10d
Do not show the modules target as a default example.
2004-08-18 18:32:15 +00:00
guillemj
b58bfd998c
Add module version macro.
2004-08-18 18:31:10 +00:00
guillemj
74574721b7
Use designators in fops_3dfx instead of the obsolete colon syntax.
2004-05-04 22:36:29 +00:00
guillemj
7338f90ad4
Indentation fixes. Normalized ChangeLog date format.
2004-05-04 21:47:41 +00:00
guillemj
250ed3ef5b
Finish porting to linux kernel 2.6, using the new api, and new kernel build
...
system, by Aristeu Sergio Rozanski Filho <aris@cathedrallabs.org >. Thanks!
Reworked the new kernel build system support from Aristeu's patch.
2004-05-04 20:55:05 +00:00
guillemj
d0a9cb47d6
Support linux kernels 2.6.
2004-01-25 09:40:47 +00:00
guillemj
0b9e4e1c84
Added changelog entry.
2004-01-25 08:39:01 +00:00
guillemj
b57e2c294b
Ported to linux kernel 2.6.
2004-01-21 12:58:52 +00:00
guillemj
ff0a4a4905
Splitted install target.
...
Do not trash user variables (CFLAGS).
Honour DESTDIR.
Added support for KVERS, KHEADERS, and MODULES_DIR.
2003-11-03 08:33:08 +00:00
dborca
29570c57c4
SST IO support. Napalm recognition. Makefile fixes.
2003-10-09 15:33:23 +00:00
FIXME
eaf0155978
This commit was manufactured by cvs2svn to create branch 'glide-devel-
...
branch'.
2003-06-28 19:31:07 +00:00
FIXME
f65153dfe9
This commit was manufactured by cvs2svn to create branch 'glide-devel-
...
branch'.
2002-04-09 22:21:44 +00:00
mercury
aa7ed8a4ee
Compile for MTRR if the kernel is, without checking the cpuinfo.
...
(And if setting the MTRR fails the module still works fine.)
Updated to remove the support for kernels before 2.2.x.
(Made the first a bit easier.)
We now only use kinfo for the makefile.
2001-07-28 08:00:12 +00:00
mercury
b3ee445a2a
Use named structure members for init, instead of order.
...
(Patch from 'neuro', SF bug #109556 )
2000-11-02 09:45:11 +00:00
joseph
1f53061678
Oops
2000-04-08 23:41:03 +00:00
joseph
30599495dc
Updated for 2.3-5
...
Check both the kernel and the processor for MTRR support before enabling.
2000-04-08 23:32:31 +00:00
joseph
9b672b9cf5
Added support to check /proc/cpuinfo for mtrr support in addition to kernel
...
support.
2000-04-08 23:27:38 +00:00
joseph
5b73e717a0
Fixed typo (missing comma) in fscanf line. Submitted by Cary Sandvig
2000-02-25 22:40:50 +00:00
joseph
d78b6ef83f
Its not enough just to check if the kernel supports MTRRs the processor
...
support needs to be checked as well.
2000-02-08 01:48:10 +00:00
joseph
33fcdf1435
Initial Checkin to sourceforge
2000-02-04 20:36:41 +00:00
joseph
f9ac588d58
Updated Carlo Wood's email address in the changelog.
2000-02-04 20:36:22 +00:00
joseph
d3390ac582
Added CFLAGS for Alpha (contributed by Niki W. Waibel)
2000-02-04 19:04:47 +00:00
joseph
abc00c46c0
Initial Checkin
2000-01-07 20:12:43 +00:00