freebsd-skq/sys/pci
John Baldwin 4fb8dd97a7 Fix support for 256 MB aperture sizes on chipsets such as the 845 and
865.  The APSIZE register has a variable-sized field of enabled bits.
To figure out how many bits a specific host bridge supports, write the
maximum width and see how many bits are set in the hardware.  We then
use this mask for setting and getting the aperture size.  Prior to this,
the agp(4) driver would treat an aperture size of 256 MB as 128 MB and
would not allocate enough physical memory for the GART as a result.

MFC after:	3 days
Sponsored by:	The Weather Channel
Approved by:	re (rwatson)
2003-05-27 20:13:44 +00:00
..
agp_ali.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
agp_amd.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
agp_i810.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
agp_if.m Fix typo. 2003-04-07 10:06:48 +00:00
agp_intel.c Fix support for 256 MB aperture sizes on chipsets such as the 845 and 2003-05-27 20:13:44 +00:00
agp_sis.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
agp_via.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
agp.c - Add vm_paddr_t, a physical address type. This is required for systems 2003-03-25 00:07:06 +00:00
agppriv.h
agpreg.h Add support for the Intel 865 chipset. 2003-05-27 18:23:56 +00:00
agpvar.h Allow retrieval of the virtual address of the AGP aperture 2001-12-19 08:54:29 +00:00
alpm.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
amdpm.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
cy_pci.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
dc21040reg.h Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
if_dc.c Only use a SIA/SYM media info block if no MII block is detected. 2003-05-15 16:53:29 +00:00
if_dcreg.h Add support for 3Com OfficeConnect 10/100B. 2003-05-12 19:50:21 +00:00
if_de.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
if_devar.h Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
if_en_pci.c Define a link layer MIB for ATM. Most fields of this MIB are needed by 2003-05-05 16:35:52 +00:00
if_mn.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
if_pcn.c Use newly minted device_is_attached rather than device_is_alive to see 2003-04-21 18:34:04 +00:00
if_pcnreg.h
if_rl.c Use newly minted device_is_attached rather than device_is_alive to see 2003-04-21 18:34:04 +00:00
if_rlreg.h Add support for Planex FNW-3800-TX(CardBus 100M/10M). 2003-03-18 14:57:09 +00:00
if_sf.c Use newly minted device_is_attached rather than device_is_alive to see 2003-04-21 18:34:04 +00:00
if_sfreg.h
if_sis.c Don't call timeout() in sis_tick(), this is done earlier by mii_tick(), and it 2003-05-06 02:00:01 +00:00
if_sisreg.h Fix typo in an unused macro. 2003-01-29 21:56:10 +00:00
if_sk.c Use newly minted device_is_attached rather than device_is_alive to see 2003-04-21 18:34:04 +00:00
if_skreg.h
if_ste.c Use newly minted device_is_attached rather than device_is_alive to see 2003-04-21 18:34:04 +00:00
if_stereg.h Change the chip description from "DFE-550TX" to "DL10050". 2002-12-23 21:50:47 +00:00
if_ti.c Use newly minted device_is_attached rather than device_is_alive to see 2003-04-21 18:34:04 +00:00
if_tireg.h Fix instances of macros with improperly parenthasized arguments. 2002-11-09 12:55:07 +00:00
if_tl.c Use newly minted device_is_attached rather than device_is_alive to see 2003-04-21 18:34:04 +00:00
if_tlreg.h Use if_printf(ifp, "blah") and device_printf(dev, "blah") instead of 2002-10-21 02:54:50 +00:00
if_vr.c Use newly minted device_is_attached rather than device_is_alive to see 2003-04-21 18:34:04 +00:00
if_vrreg.h Add deviceids for 6105 and 6105M chips. Further changes will be necessary 2003-02-01 01:27:05 +00:00
if_wb.c Use newly minted device_is_attached rather than device_is_alive to see 2003-04-21 18:34:04 +00:00
if_wbreg.h
if_xl.c Use newly minted device_is_attached rather than device_is_alive to see 2003-04-21 18:34:04 +00:00
if_xlreg.h Instead of relying on a compile time define to determine whether the xl 2003-03-18 06:29:51 +00:00
intpm.c Use rman_get_start() to get start address of the resource. 2003-02-26 13:46:40 +00:00
intpmreg.h
locate.pl
meteor_reg.h
meteor.c - Add vm_paddr_t, a physical address type. This is required for systems 2003-03-25 00:07:06 +00:00
ncr.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
ncrreg.h
ti_fw2.h At long last, commit the zero copy sockets code. 2002-06-26 03:37:47 +00:00
ti_fw.h At long last, commit the zero copy sockets code. 2002-06-26 03:37:47 +00:00
viapm.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
xmaciireg.h
xrpu.c - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00