augustss
fd7f5e11ae
Don't pretend we can handle i830; it needs a somewhat different AGP driver.
...
(I added i830 to quickly.)
2002-01-22 17:29:36 +00:00
augustss
916552082d
Add i830M to agp chip tables.
2002-01-14 01:38:25 +00:00
lukem
9048aaae21
add RCSID
2001-11-13 07:48:40 +00:00
fvdl
9706e581b2
Don't map the aperture into KVA, it isn't needed.
2001-10-01 21:54:48 +00:00
thorpej
75fc05bc1e
agp_generic_bind_memory(): Don't return NULL if we can't malloc
...
memory, return ENOMEM.
2001-09-16 18:33:08 +00:00
thorpej
02951c2ac6
agpopen(): check for NULL softc before dereferencing it.
2001-09-15 18:03:35 +00:00
drochner
9ac7c1121f
normalize error message if agp_map_aperture() fails
2001-09-15 13:01:44 +00:00
thorpej
e3d4f375aa
Give each AGP controller its own attribute, and let the "agpbus"
...
device (rather, the device that carries that attribute) also
carry one or more attributes indicating which type of controller
it might be.
This will allow systems that might have AGP, but would never have
e.g. an Intel PCI-Host bridge, to trim out code that won't be used.
2001-09-15 01:32:10 +00:00
thorpej
c1e6d1c91f
Use bus_space_mmap() to mmap the aperture.
2001-09-15 00:52:15 +00:00
thorpej
0019ea5ce6
Clean up the AGP match/attach code somewhat.
2001-09-15 00:24:59 +00:00
drochner
9771bc6656
-plug some resource leaks
...
-don't clear memory ranges on "release"
The X server survives a screen switch now.
2001-09-14 12:09:14 +00:00
drochner
e52f69d4e2
-allocate DMA maps as large as necessary in the worst case
...
-allocate space for DMA segments as much as necessary
-fix format warnings in a debug output
-don't try to access AGP capability stuff in the PCI config header
if it doesn't exist (as on the i810)
2001-09-13 16:14:16 +00:00
fvdl
71fb506f0b
Fix i810/other intel chipsets attach mishap.
2001-09-11 06:51:47 +00:00
fvdl
a3130cfbe2
AGP GART support code. Originally written by Doug Rabson for FreeBSD,
...
modifications to fit it into the NetBSD device/config structure and
to use bus_dma by me.
2001-09-10 10:01:00 +00:00