Commit Graph

16 Commits

Author SHA1 Message Date
drochner 4b3ca2b813 Remove an aprint_normal() so that the output looks reasonable
at least in the non-error case.
(The aprint_* stuff makes it hard to keep track of newlines and
device name tags, and it suffers from lack of rules.)
2003-03-24 09:12:55 +00:00
thorpej 7ec10e2d99 Use aprint_*(). 2003-01-31 00:07:39 +00:00
scw 173ca7d4d0 Add support for i830/i845 agp. From Shingo WATANABE (on tech-x11) and
FreeBSD, with cleanup/KNF by me.

Note: These chipsets are not well supported by the i810 driver in
NetBSD's in-tree xsrc (based on XFree86 4.2.1 at this time). However,
the driver works perfectly using bleeding-edge XFree86-current on my
Omnibook's i830MG with these agp changes.
2002-12-13 11:32:50 +00:00
drochner ce5452e87b update the is_bound flag for local memory too 2002-08-11 12:36:21 +00:00
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
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
fvdl 4d0be45902 Add message to explain failure if the internal i810 config registers
weren't found.
2001-09-20 20:00:16 +00:00
drochner 9ac7c1121f normalize error message if agp_map_aperture() fails 2001-09-15 13:01:44 +00:00
thorpej 0019ea5ce6 Clean up the AGP match/attach code somewhat. 2001-09-15 00:24:59 +00:00
drochner f53f5d923d make the hardware cursor work 2001-09-14 12:05:03 +00:00
drochner 875a8b9cee -allocate DMA maps as large as necessary in the worst case
-Add a really bad hack: The X server (4.1.0 afaict) appearently overwrites
 the PGTBL_CTL which contains the base address of the pseudo-GATT.
 Restore the original value if we notice this happened.
The X server works now, but only with soft cursor.
2001-09-13 16:18:53 +00:00
fvdl 71fb506f0b Fix i810/other intel chipsets attach mishap. 2001-09-11 06:51:47 +00:00
fvdl 377864623b Fix reversed if condition in agp_i810_vgamatch. 2001-09-10 12:51:42 +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