summaryrefslogtreecommitdiffstats
path: root/sys/pci/agp_amd.c
Commit message (Collapse)AuthorAgeFilesLines
* Change the various AGP drivers that attach to the Host-PCI bridge device tojhb2005-12-201-2/+1
| | | | | | | | | attach to the hostb driver instead. This means that agp can now be loaded at runtime (in theory at least). Also, the drivers no longer have to explicity call device_verbose() to cancel out any earlier calls to device_quiet() by the hostb(4) driver (this shows a limitation in new-bus, drivers really shouldn't be doing device_quiet() until they know they are going to drive that device, i.e. in attach).
* Return BUS_PROBE_DEFAULT instead of 0.imp2005-02-241-1/+1
|
* style.9.obrien2004-08-161-12/+8
|
* Add missing <sys/module.h> includesphk2004-05-301-0/+1
|
* Get rid of a lockmgr consumer by making agp(4) use a standard mutex,mux2004-05-221-1/+0
| | | | | since it's always acquiring the lock exclusively. This was tested with X on an SMP box, with and without WITNESS.
* Add the ability to disable agp devices at the loader prompt. Usage isnjl2004-04-031-0/+2
| | | | | | hint.agp.0.disabled="1" Submitted by: jhb
* Convert callers to the new bus_alloc_resource_any(9) API.njl2004-03-171-2/+2
| | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
* Prefer new location of pci include files (which have only been in theimp2003-08-221-2/+2
| | | | | tree for two or more years now), except in a few places where there's code to be compatible with older versions of FreeBSD.
* Use __FBSDID().obrien2003-06-111-2/+3
|
* - Express hard dependencies on bus (pci, isa, pccard) andmdodd2003-04-151-0/+2
| | | | | | | | network layer (ether). - Don't abuse module names to facilitate ifconfig module loading; such abuse isn't really needed. (And if we do need type information associated with a module then we should make it explicit and not use hacks.)
* Remove a bunch of #include "opt_pci.h".mux2002-11-131-1/+0
|
* Fix previous commit: Don't cast integral types to pointers tomarcel2002-10-151-2/+2
| | | | | | print them with %p. Cast to unsigned long and print with %#lx. Discussed with: bde
* Make this compile on 64-bit architectures (e.g. ia64) by not assumingmarcel2002-10-121-2/+2
| | | | | pointers (but more precisely vm_offset_t) can be printed with %x. Use %p instead and cast the argument to caddr_t.
* Include <sys/lockmgr.h> for old lock interfaces instead of depending onbde2002-08-271-0/+1
| | | | namespace pollution in <sys/lock.h>.
* Fix some nits in AMD AGP driver. Remove excess malloc and move a bzerocokane2002-04-151-10/+3
| | | | | | | out of the way, so it won't cause trouble. Submitted by: Frank Mayher <frank@exit.com> MFC after: 1 week
* This patch will fix the lockups associated with AMD 751,761,762 based AGPcokane2001-12-071-7/+51
| | | | | | | | | controllers. There still seems to be some issues with the DRI copying code for some adapters, at least it doesn't hang the system now. Input would be appreciated. PR: 32301 Obtained from: Eric Anhlot <eanholt@gladstone.uoregon.edu>, Joe <joeo@nks.net>
* Add probe line for the AMD 761 northbridge chip. At least it detects now,cokane2001-09-201-0/+2
| | | | | | | | | | seems to set up memory spaces correctly. This change actually did work for me using -STABLE, XFree86 4.0.3 ~ some snapshot of DRI awhile back. I sent mail to dfr to no avail, perhaps someone else would like to test it with DRI. Anyway, people have been nagging me about this change for awhile, so here's the commit.
* Make these compile again by adding proc.h include for GIANT_REQUIREDjhb2001-07-051-0/+1
| | | | that is in included vm headers.
* Introduce a global lock for the vm subsystem (vm_mtx).alfred2001-05-191-0/+1
| | | | | | | | | | | | | | | | | | | vm_mtx does not recurse and is required for most low level vm operations. faults can not be taken without holding Giant. Memory subsystems can now call the base page allocators safely. Almost all atomic ops were removed as they are covered under the vm mutex. Alpha and ia64 now need to catch up to i386's trap handlers. FFS and NFS have been tested, other filesystems will need minor changes (grabbing the vm lock when twiddling page properties). Reviewed (partially) by: jake, jhb
* Remove unneeded #include <machine/clock.h>phk2000-10-151-1/+0
|
* Release resources properly in detach.dfr2000-06-101-0/+9
|
* Fix the AMD 751 AGP minidriver so that it works with my test code.dfr2000-06-101-7/+101
|
* A driver for programming the AGP hardware. This is only very lightlydfr2000-06-091-0/+276
tested on Intel BX chipsets only. The other agp minidrivers are totally untested. The programming api is a subset of the Linux api and is only intended to be enough for the X server to use. There is also an in-kernel api for the use of other kernel modules such as the 3D DRI.
OpenPOWER on IntegriCloud