freebsd-dev/sys/pci
Maxime Henrion 07159f9c56 Cleanup of the d_mmap_t interface.
- Get rid of the useless atop() / pmap_phys_address() detour.  The
  device mmap handlers must now give back the physical address
  without atop()'ing it.
- Don't borrow the physical address of the mapping in the returned
  int.  Now we properly pass a vm_offset_t * and expect it to be
  filled by the mmap handler when the mapping was successful.  The
  mmap handler must now return 0 when successful, any other value
  is considered as an error.  Previously, returning -1 was the only
  way to fail.  This change thus accidentally fixes some devices
  which were bogusly returning errno constants which would have been
  considered as addresses by the device pager.
- Garbage collect the poorly named pmap_phys_address() now that it's
  no longer used.
- Convert all the d_mmap_t consumers to the new API.

I'm still not sure wheter we need a __FreeBSD_version bump for this,
since and we didn't guarantee API/ABI stability until 5.1-RELEASE.

Discussed with:		alc, phk, jake
Reviewed by:		peter
Compile-tested on:	LINT (i386), GENERIC (alpha and sparc64)
Runtime-tested on:	i386
2003-02-25 03:21:22 +00:00
..
agp_ali.c Remove a bunch of #include "opt_pci.h". 2002-11-13 17:40:15 +00:00
agp_amd.c Remove a bunch of #include "opt_pci.h". 2002-11-13 17:40:15 +00:00
agp_i810.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
agp_if.m
agp_intel.c Add support for the Intel 82820 UP-only AGP bridge. 2003-01-11 20:08:28 +00:00
agp_sis.c Remove a bunch of #include "opt_pci.h". 2002-11-13 17:40:15 +00:00
agp_via.c Remove a bunch of #include "opt_pci.h". 2002-11-13 17:40:15 +00:00
agp.c Cleanup of the d_mmap_t interface. 2003-02-25 03:21:22 +00:00
agppriv.h
agpreg.h Add agpreg.h missed in commit to agp_i810 (adding i85x/i86x AGP support). 2003-02-13 19:24:19 +00:00
agpvar.h Allow retrieval of the virtual address of the AGP aperture 2001-12-19 08:54:29 +00:00
alpm.c Major rework of the iicbus/smbus framework: 2002-03-23 15:49:15 +00:00
amdpm.c Cleanup of amdpm(4). 2002-09-21 21:43:49 +00:00
cy_pci.c Remove __P. 2002-03-20 02:08:01 +00:00
dc21040reg.h Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
if_dc.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
if_dcreg.h Add preliminary support for the Hawking PN672TX CardBus cards. 2003-01-10 05:37:15 +00:00
if_de.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +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 Remove __P. 2002-03-20 02:08:01 +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 Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
if_pcnreg.h
if_rl.c Add support for Peppercon ROL-F Card. 2003-02-23 23:35:35 +00:00
if_rlreg.h Add support for Peppercon ROL-F Card. 2003-02-23 23:35:35 +00:00
if_sf.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
if_sfreg.h
if_sis.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
if_sisreg.h Fix typo in an unused macro. 2003-01-29 21:56:10 +00:00
if_sk.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
if_skreg.h
if_ste.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +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 Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
if_tireg.h Fix instances of macros with improperly parenthasized arguments. 2002-11-09 12:55:07 +00:00
if_tl.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +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 Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +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 Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
if_wbreg.h
if_xl.c Make xl use m_getcl() to allocate an mbuf and a cluster in one shot, 2003-02-22 14:46:31 +00:00
if_xlreg.h - Fix mbuf leak when we successfully allocate a new mbuf but fail to 2003-02-18 18:50:54 +00:00
intpm.c Wrap a device_printf() that violates bus space abstractions to figure out 2002-11-08 15:01:02 +00:00
intpmreg.h
locate.pl
meteor_reg.h
meteor.c Cleanup of the d_mmap_t interface. 2003-02-25 03:21:22 +00:00
ncr.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +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 Fix an unparenthasized macro argument. md5s differ but this is likely 2002-11-09 20:13:16 +00:00
xmaciireg.h
xrpu.c Cleanup of the d_mmap_t interface. 2003-02-25 03:21:22 +00:00