The NetBSD Project

CVS log for src/sys/arch/mac68k/dev/mac68k5380.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / mac68k / dev

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.50 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:25 2018 UTC (5 years, 6 months ago) by riastradh
Branch: MAIN
CVS Tags: triaxx-drm, thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-10-base, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Changes since 1.49: +6 -6 lines
Diff to previous 1.49 (colored)

Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.49 / (download) - annotate - [select for diffs], Fri Oct 25 21:48:48 2013 UTC (10 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.48: +5 -7 lines
Diff to previous 1.48 (colored)

Simplify

Revision 1.48 / (download) - annotate - [select for diffs], Thu Dec 6 13:28:17 2012 UTC (11 years, 3 months ago) by hauke
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.47: +6 -8 lines
Diff to previous 1.47 (colored)

Remove the R1 syntactic sugar, since it collides with a #define in
<m68k/regs.h>, breaking the build.

The R1s serve to bring the buffer pointer to a 4 byte boundary, but
that should be clear from the context.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Oct 27 17:17:59 2012 UTC (11 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored)

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Jul 17 20:54:43 2011 UTC (12 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.45: +2 -3 lines
Diff to previous 1.45 (colored)

Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Jul 9 15:02:15 2011 UTC (12 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.44: +10 -10 lines
Diff to previous 1.44 (colored)

avoid inconsistent inline usage to appease gcc 4.5.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Dec 24 23:24:00 2005 UTC (18 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, yamt-nfs-mp-base, yamt-nfs-mp, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, thorpej-atomic-base, thorpej-atomic, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, post-newlock2-merge, peter-altq-base, peter-altq, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-premerge-20101231, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, cube-autoconf-base, cube-autoconf, cherry-xenmp-base, cherry-xenmp, chap-midi-nbase, chap-midi-base, chap-midi, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.43: +6 -6 lines
Diff to previous 1.43 (colored)

__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile

Revision 1.43 / (download) - annotate - [select for diffs], Sun Dec 11 12:18:02 2005 UTC (18 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

merge ktrace-lwp.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Jun 16 22:43:36 2005 UTC (18 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.41: +8 -8 lines
Diff to previous 1.41 (colored)

Fixes for volatile problems

Revision 1.41 / (download) - annotate - [select for diffs], Sat Jan 15 16:00:59 2005 UTC (19 years, 2 months ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2
Changes since 1.40: +26 -38 lines
Diff to previous 1.40 (colored)

de-__P, remove register, ansify, b* -> mem*.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Jul 15 02:43:17 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Changes since 1.39: +4 -1 lines
Diff to previous 1.39 (colored)

__KERNEL_RCSID()

Revision 1.39 / (download) - annotate - [select for diffs], Wed Jun 18 08:58:38 2003 UTC (20 years, 9 months ago) by drochner
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.38: +1 -2 lines
Diff to previous 1.38 (colored)

don't #include <sys/dkstat.h> where it is (appearently) unused

Revision 1.38 / (download) - annotate - [select for diffs], Wed Apr 2 01:09:19 2003 UTC (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.37: +4 -1 lines
Diff to previous 1.37 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Sep 27 15:36:16 2002 UTC (21 years, 5 months ago) by provos
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.36: +5 -5 lines
Diff to previous 1.36 (colored)

remove trailing \n in panic().  approved perry.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Feb 14 07:01:47 2000 UTC (24 years, 1 month ago) by scottr
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa, kqueue
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored)

Merge wscons work onto the main development branch.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Dec 22 08:47:05 1998 UTC (25 years, 3 months ago) by scottr
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, scottr-mac68k-wscons-base, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2
Branch point for: thorpej_scsipi, scottr-mac68k-wscons
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

vm_offset_t -> {paddr_t, vaddr_t}

Revision 1.34 / (download) - annotate - [select for diffs], Wed Aug 27 11:23:49 1997 UTC (26 years, 6 months ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-base, kenh-if-detach-base, kenh-if-detach, eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base, chs-ubc
Changes since 1.33: +5 -4 lines
Diff to previous 1.33 (colored)

Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Aug 11 22:53:36 1997 UTC (26 years, 7 months ago) by scottr
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Make #include directives consistent.  All MD headers are of the form:

	#include <mac68k/{dev,mac68k}/foo.h>

Revision 1.32 / (download) - annotate - [select for diffs], Sun Jun 29 06:10:35 1997 UTC (26 years, 8 months ago) by scottr
Branch: MAIN
CVS Tags: marc-pcmcia-bp
Branch point for: marc-pcmcia, bouyer-scsipi
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored)

Update for mac68k_buserr_addr -> m68k_fault_addr change.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Apr 27 19:26:48 1997 UTC (26 years, 10 months ago) by briggs
Branch: MAIN
Changes since 1.30: +7 -13 lines
Diff to previous 1.30 (colored)

What was I thinking?

Revision 1.30 / (download) - annotate - [select for diffs], Tue Apr 15 03:22:50 1997 UTC (26 years, 11 months ago) by briggs
Branch: MAIN
Changes since 1.29: +22 -16 lines
Diff to previous 1.29 (colored)

Take a stab at making this more reliable.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Feb 28 15:50:50 1997 UTC (27 years ago) by scottr
Branch: MAIN
CVS Tags: is-newarp-before-merge
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Convert to generalized VIA interrupt registration

Revision 1.28 / (download) - annotate - [select for diffs], Thu Dec 19 21:48:17 1996 UTC (27 years, 3 months ago) by scottr
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-base
Branch point for: is-newarp
Changes since 1.27: +8 -6 lines
Diff to previous 1.27 (colored)

Clean up a few bogons+typos introduced in the removal of the broken indirect
config code.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Oct 13 03:21:23 1996 UTC (27 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.26: +9 -9 lines
Diff to previous 1.26 (colored)

backout previous kprintf change

Revision 1.26 / (download) - annotate - [select for diffs], Fri Oct 11 00:24:53 1996 UTC (27 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.25: +9 -9 lines
Diff to previous 1.25 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.25 / (download) - annotate - [select for diffs], Fri Jun 7 01:45:43 1996 UTC (27 years, 9 months ago) by briggs
Branch: MAIN
Changes since 1.24: +2 -3 lines
Diff to previous 1.24 (colored)

Fix a typo.

Revision 1.24 / (download) - annotate - [select for diffs], Sat May 25 16:42:24 1996 UTC (27 years, 10 months ago) by briggs
Branch: MAIN
Changes since 1.23: +48 -75 lines
Diff to previous 1.23 (colored)

Clean up the interrupt handling somewhat.

Revision 1.23 / (download) - annotate - [select for diffs], Sun May 5 06:16:51 1996 UTC (27 years, 10 months ago) by briggs
Branch: MAIN
CVS Tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Changes since 1.22: +16 -39 lines
Diff to previous 1.22 (colored)

Prototype for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
Also change the device probing scheme to use something a bit more rational.
A current side-effect is that nubus cards are double-mapped.  I expect
to fix that shortly.
Also change splclock() to block everything but serial hardware interrupts.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Mar 29 02:06:04 1996 UTC (27 years, 11 months ago) by briggs
Branch: MAIN
Changes since 1.21: +2 -3 lines
Diff to previous 1.21 (colored)

via.h -> machine/viareg.h.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Mar 20 05:15:50 1996 UTC (28 years ago) by scottr
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

Fix a long-standing bug uncovered by the new device attachment
model.  Thanks to Jason Thorpe for the fix (fixed PR 2235).

Revision 1.20 / (download) - annotate - [select for diffs], Sun Mar 17 01:33:29 1996 UTC (28 years ago) by thorpej
Branch: MAIN
Changes since 1.19: +5 -4 lines
Diff to previous 1.19 (colored)

New device attachment scheme:

	- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Feb 19 02:51:03 1996 UTC (28 years, 1 month ago) by briggs
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

Update to latest Atari driver, but with some local modifications.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Feb 3 23:17:53 1996 UTC (28 years, 1 month ago) by briggs
Branch: MAIN
Changes since 1.17: +62 -81 lines
Diff to previous 1.17 (colored)

Move debugging defines, etc. into mac68k5380.c and use them instead of
something similar but different.  Make a few cosmetic changes.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jan 24 06:02:06 1996 UTC (28 years, 2 months ago) by briggs
Branch: MAIN
Changes since 1.16: +83 -49 lines
Diff to previous 1.16 (colored)

Patch a few of the holes in the machine-dependent part of this driver.
Sync the m.i. part with the Atari.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jan 11 15:25:53 1996 UTC (28 years, 2 months ago) by briggs
Branch: MAIN
Changes since 1.15: +23 -15 lines
Diff to previous 1.15 (colored)

Keep two states for pdma debugging.  Turn debugging back on.  Sigh.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Nov 1 04:59:03 1995 UTC (28 years, 4 months ago) by briggs
Branch: MAIN
Changes since 1.14: +5 -4 lines
Diff to previous 1.14 (colored)

Fixup error/debugging message.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Oct 1 05:10:20 1995 UTC (28 years, 5 months ago) by briggs
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Finally get this right...  Final fix from Paul Goyette paul@pgoyette.bdt.com

Revision 1.13 / (download) - annotate - [select for diffs], Sat Sep 30 21:34:54 1995 UTC (28 years, 5 months ago) by briggs
Branch: MAIN
Changes since 1.12: +5 -5 lines
Diff to previous 1.12 (colored)

Yet another error in the (next-to) last changes.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Sep 30 19:42:34 1995 UTC (28 years, 5 months ago) by briggs
Branch: MAIN
Changes since 1.11: +5 -3 lines
Diff to previous 1.11 (colored)

Fix stupid error in one of my last changes here.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Sep 27 03:38:57 1995 UTC (28 years, 5 months ago) by briggs
Branch: MAIN
Changes since 1.10: +47 -10 lines
Diff to previous 1.10 (colored)

Bullet-proof a little.
Make some more pdma code conditional on USE_PDMA.
Handle transfers of size > MIN_PHYS.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Sep 23 01:11:42 1995 UTC (28 years, 6 months ago) by briggs
Branch: MAIN
Changes since 1.9: +210 -75 lines
Diff to previous 1.9 (colored)

Much improved pdma transfers.
Still not nearly as fast as FWB's drivers under the MacOS.
Uses the "blind" transfer method instead of polled pdma.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Sep 16 18:22:33 1995 UTC (28 years, 6 months ago) by briggs
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Only use PIO instead of PDMA if DRIVER_NOINT.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Sep 16 11:45:18 1995 UTC (28 years, 6 months ago) by briggs
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Rename scsi_main_irq() to pdma_ready().
Missed a few ATNs in last patch.  (pointed out by Leo).
Raise timeout from 100 to 1000.  From Leo.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Sep 12 22:31:45 1995 UTC (28 years, 6 months ago) by briggs
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Update for Leo's changes.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Sep 4 05:07:16 1995 UTC (28 years, 6 months ago) by briggs
Branch: MAIN
Changes since 1.5: +12 -7 lines
Diff to previous 1.5 (colored)

Get softc as parameter in interrupt function, using new changes from
via.[ch]

Revision 1.5 / (download) - annotate - [select for diffs], Sun Sep 3 03:36:35 1995 UTC (28 years, 6 months ago) by briggs
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Make a local copy of the atari m.i. scsi driver sources for the time
being.  Some people aren't supping arch/atari and this allows those
people to get the sources.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Sep 2 19:29:42 1995 UTC (28 years, 6 months ago) by briggs
Branch: MAIN
Changes since 1.3: +101 -99 lines
Diff to previous 1.3 (colored)

Optimize this some.  Still seems slower than it ought to be.
Register interrupt functions with via.c.
Clean up somewhat.  Turn off DEBUG.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Sep 2 05:36:22 1995 UTC (28 years, 6 months ago) by briggs
Branch: MAIN
Changes since 1.2: +14 -5 lines
Diff to previous 1.2 (colored)

Rearrange a bit.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Sep 2 03:19:37 1995 UTC (28 years, 6 months ago) by briggs
Branch: MAIN
Changes since 1.1: +96 -66 lines
Diff to previous 1.1 (colored)

DTRT.  This should be considered the base version of the file.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Sep 1 03:43:49 1995 UTC (28 years, 6 months ago) by briggs
Branch: MAIN

A first pass at a scsi driver based on the Atari ncr5380{reg.h,.c} code.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>