freebsd-dev/sys
Eric Anholt d450e052dc Add support for G965/Q965/GM965/GME965/GME945 AGP.
This adds a function to agp.c to set the aperture resource ID if it's
not the usual AGP_APBASE.  Previously, agp.c had been assuming
AGP_APBASE, which resulted in incorrect agp_info, and contortions by
agp_i810.c to work around it.

This also adds functions to agp.c for default AGP_GET_APERTURE() and
AGP_SET_APERTURE(), which return the aperture resource size and disallow
aperture size changes.  Moving to these for our AGP drivers will likely
result in stability improvements.  This should fix 855-class aperture
size detection.

Additionally, refuse to attach agp_i810 when some RAM is above 4GB and
the GART can't reference memory that high.  This should be very rare.
The correct solution would be bus_dma conversion for agp, which is
beyond the scope of this change.  Other AGP drivers could likely use
this change as well.

G33/Q35/Q33 AGP support is also included, but disconnected by default
due to lack of testing.

PR:             kern/109724 (855 aperture issue)
Submitted by:   FUJIMOTO Kou<fujimoto@j.dendai.ac.jp>
Approved by:	re (hrs)
2007-07-13 16:28:12 +00:00
..
amd64 Fix a couple of issues with the stack limit for 32-bit processes on 64-bit 2007-07-12 18:01:31 +00:00
arm The iop34x has 128 interrupts. 2007-06-16 15:03:33 +00:00
boot MFp4: 2007-07-13 14:27:05 +00:00
bsm Change $P4$ ID strings to P4 ID strings so that they are not auto-expanded 2007-04-17 12:27:08 +00:00
cam After talking with njl@, change this wildcard entry to be a bit less wild. 2007-07-01 17:42:07 +00:00
cddl Correct a reference-counting mistake in the ZFS code which led to abnormal 2007-07-09 09:03:49 +00:00
compat Fix a couple of issues with the stack limit for 32-bit processes on 64-bit 2007-07-12 18:01:31 +00:00
conf Complete repo-copy and move of Coda from src/sys/coda to src/sys/fs/coda 2007-07-12 21:04:58 +00:00
contrib Fix a bug where the callout might not be initialized before being used. 2007-07-12 17:00:51 +00:00
crypto Commit the change from FAST_IPSEC to IPSEC. The FAST_IPSEC 2007-07-03 12:13:45 +00:00
ddb
dev Add support for G965/Q965/GM965/GME965/GME945 AGP. 2007-07-13 16:28:12 +00:00
fs Complete repo-copy and move of Coda from src/sys/coda to src/sys/fs/coda 2007-07-12 21:04:58 +00:00
gdb Add kdb_cpu_sync_icache(), intended to synchronize instruction 2007-06-09 21:55:17 +00:00
geom Have gpart synthesize a disk geometry if the underlying provider 2007-06-17 22:19:19 +00:00
gnu Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); in 2007-06-12 00:12:01 +00:00
i4b I4B header files were repo-copied from sys/i386/include/ to 2007-07-06 07:17:22 +00:00
i386 Remove the internal use of __packed and put it on the structures 2007-07-11 22:34:34 +00:00
ia64 dma_tag is a static structure. Testing for it being a NULL pointer 2007-07-09 04:58:16 +00:00
isa Prototype (but functional) Linux-ish /dev/nvram interface to the extra 2007-06-15 22:58:14 +00:00
kern Fix a couple of issues with the stack limit for 32-bit processes on 64-bit 2007-07-12 18:01:31 +00:00
libkern Unbreak high resolution profiling a little: use dummy asms to prevent 2007-06-13 06:17:48 +00:00
modules Complete repo-copy and move of Coda from src/sys/coda to src/sys/fs/coda 2007-07-12 21:04:58 +00:00
net Allow the LACP state to be queried from userland which at the moment is the 2007-07-05 09:18:57 +00:00
net80211 revert handling of ssid and bssid to be manadatory instead of advisory 2007-07-12 17:22:43 +00:00
netatalk Mark wire data structures in netatalk as __packed so that they are 2007-06-28 12:54:58 +00:00
netatm Fix various compilation warnings for gcc-4.2. 2007-06-23 00:02:20 +00:00
netgraph Mark ng_h4(4) as not MPSAFE and disconnect it from the build for now. 2007-07-10 16:38:43 +00:00
netinet Further cleanup of UDPv4: 2007-07-10 09:30:46 +00:00
netinet6 General style, white space, and comment cleanup; move to ANSI C 2007-07-09 17:47:04 +00:00
netipsec Commit the change from FAST_IPSEC to IPSEC. The FAST_IPSEC 2007-07-03 12:13:45 +00:00
netipx Include priv.h to pick up suser(9) definitions, missed in an earlier 2007-06-13 22:42:43 +00:00
netnatm s/destory/destroy/ (except for the code in contrib/). 2007-04-16 12:31:35 +00:00
netncp Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
netsmb Fixing the mount_smbfs(8) hanging by utilising the destroy_dev_sched() KPI. 2007-07-10 09:23:10 +00:00
nfs
nfs4client - Move rusage from being per-process in struct pstats to per-thread in 2007-06-01 01:12:45 +00:00
nfsclient Fix for a race where out of order loading of NFS attrs into the 2007-07-03 18:31:47 +00:00
nfsserver Include priv.h to pick up suser(9) definitions, missed in an earlier 2007-06-13 22:42:43 +00:00
opencrypto Quiet warnings. These do not appear to be actually used uninitialized, 2007-07-05 06:59:14 +00:00
pc98 In the function pc98_check_if_type for the non-8251 case 2007-07-11 22:25:38 +00:00
pccard
pci Add support for G965/Q965/GM965/GME965/GME945 AGP. 2007-07-13 16:28:12 +00:00
powerpc Cast the arguments to atomic_*_ptr() when mapping it to atomic_*_32() 2007-07-10 04:40:00 +00:00
rpc Check for a NULL return from rpcclnt_buildheader- it can fail if 2007-06-16 05:42:26 +00:00
security In preparation for 7.0 privilege cleanup, clean up style: 2007-07-05 13:16:04 +00:00
sparc64 - Move ofw_pci_alloc_busno() to the ofw_pci KOBJ interface, 2007-06-18 21:49:42 +00:00
sun4v Fix warning - add missing #include 2007-07-06 00:41:53 +00:00
sys Fix a couple of issues with the stack limit for 32-bit processes on 64-bit 2007-07-12 18:01:31 +00:00
tools Catch up with ACPI-CA 20070320 import. 2007-03-22 18:16:43 +00:00
ufs Fix an annoying pointer/int cast warning that shows up on 64 bit systems. 2007-07-02 01:31:43 +00:00
vm Update a comment describing the page queues. 2007-07-13 04:42:20 +00:00
Makefile Complete repo-copy and move of Coda from src/sys/coda to src/sys/fs/coda 2007-07-12 21:04:58 +00:00