freebsd-dev/sys/pc98/cbus
mux aaed4e8c72 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
..
30line.h Fixed warnings. 2000-10-15 04:54:17 +00:00
cbus_dma.c Tidy up some loose ends. 2002-04-29 07:43:16 +00:00
cbus.h Split the sio driver for pc98 into bus front end and back end. 2001-11-26 12:29:53 +00:00
clock.c Switch to use the TSC code i386/i386/tsc.c 2003-02-11 11:43:58 +00:00
fdc.c Merged from sys/isa/fd.c revision 1.244. 2003-01-12 03:11:21 +00:00
fdcreg.h Merged from sys/isa/{fd.c,fdreg.h} revisions 1.222 and 1.15, respectively. 2001-12-16 09:00:03 +00:00
gdc.c Cleanup of the d_mmap_t interface. 2003-02-25 03:21:22 +00:00
olpt.c Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ 2002-12-30 21:18:15 +00:00
pckbd.c Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:23:09 +00:00
pcrtc.c Switch to use the TSC code i386/i386/tsc.c 2003-02-11 11:43:58 +00:00
pmc.c Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
ppc.c Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ppcreg.h Merged from the following changes. 2001-06-26 11:53:12 +00:00
sc_machdep.h Fixed conflict with sys/dev/syscons/syscons.h. 2001-07-14 08:07:26 +00:00
scgdcrndr.c Fixed mouse cursor on a console. 2002-02-10 10:14:39 +00:00
scterm-sck.c Cosmetic changes. 2002-02-10 10:27:37 +00:00
scvtb.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
sio_cbus.c Added some buggy PC-98 PnP cards support. 2002-09-29 13:31:26 +00:00
sio.c Change the console interface to pass a "struct consdev *" instead of a 2003-02-20 20:54:45 +00:00
syscons_cbus.c Merged from sys/isa/syscons_isa.c revision 1.21. 2003-01-15 13:12:12 +00:00