jmcneill
1d08408fe8
more AGP v3 fixes from FreeBSD:
...
- fix a typo when enabling the aperture (read wrong register)
- get_aperture/set_aperture: handle AGP v3 APSIZE register layout
2011-02-19 20:07:02 +00:00
jmcneill
64b8c01373
print AGP mode (v3/v2compat/v2) with aprint_debug instead of aprint_normal
2011-02-15 08:56:11 +00:00
uebayasi
8184d5dc03
Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
...
some other constants. These are provided by sys/param.h now.
2010-11-13 13:51:57 +00:00
hubertf
af120bb199
Replace more printfs with aprint_normal / aprint_verbose
...
Makes "boot -z" go mostly silent for me.
2010-01-31 00:43:37 +00:00
freza
6e9d339816
o Split device_t/softc for agp(4).
...
o agp_ali.c: remove unused 'agp' member from agp_ali_softc.
o drm: agp_find_device() returns 'void *', not a device_t.
o Use device_t, cfdata_t instead of struct pointers.
o Don't cast void pointers in assignments.
2008-06-09 06:49:54 +00:00
joerg
a7e72b4b2f
Avoid unaligned pci_conf_read.
2008-03-11 13:36:14 +00:00
ad
0664a0459b
Start detangling lock.h from intr.h. This is likely to cause short term
...
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.
2008-01-04 21:17:40 +00:00
ad
a2a3828545
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
2007-10-19 11:59:34 +00:00
jmcneill
1cd076928b
Instead of having a lookup table of devices that support AGP V3, use the
...
capabilities register to determine the chipset's supported AGP mode. We
still fallback to V2 compatibility mode when necessary.
2007-03-27 20:57:46 +00:00
jmcneill
68557987f6
Add AGPv3 support to VIA AGP driver from FreeBSD.
...
I can now use DRI w/ AGP enabled on my r300.
2007-03-27 00:34:16 +00:00
christos
168cd830d2
__unused removal on arguments; approved by core.
2006-11-16 01:32:37 +00:00
christos
4d595fd7b1
- sprinkle __unused on function decls.
...
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
christos
a39411c0d7
PR/32550: Michael Eriksson: No agp(4) support for i915 integrated graphics
2006-01-16 22:59:36 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
thorpej
d36c43c511
Use ANSI function decls and static.
2005-06-28 00:28:41 +00:00
perry
f31bd063e9
nuke trailing whitespace
2005-02-27 00:26:58 +00:00
thorpej
7ec10e2d99
Use aprint_*().
2003-01-31 00:07:39 +00:00
tsutsui
b87a051ec8
Call malloc(9) with M_ZERO flag instead of memset() after malloc().
2002-01-12 16:17:05 +00:00
lukem
9048aaae21
add RCSID
2001-11-13 07:48:40 +00:00
thorpej
0019ea5ce6
Clean up the AGP match/attach code somewhat.
2001-09-15 00:24:59 +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