Up to [cvs.NetBSD.org] / src / sys / arch / pmax / tc
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.27 / (download) - annotate - [select for diffs], Tue May 3 20:52:31 2022 UTC (23 months, 2 weeks ago) by andvar
Branch: MAIN
CVS Tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
netbsd-10-base,
netbsd-10-0-RELEASE,
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,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Changes since 1.26: +3 -3
lines
Diff to previous 1.26 (colored)
fix various typos, mainly s/trasfering/transferring/ and s/theese/these/.
Revision 1.26 / (download) - annotate - [selected], Mon Sep 3 16:29:26 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: 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,
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,
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,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Changes since 1.25: +3 -3
lines
Diff to previous 1.25 (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.25 / (download) - annotate - [select for diffs], Sat Oct 13 06:49:26 2012 UTC (11 years, 6 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
tls-maxphys-base-20171202,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
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,
khorben-n900,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan,
agc-symver-base,
agc-symver
Branch point for: phil-wifi,
pgoyette-compat
Changes since 1.24: +3 -3
lines
Diff to previous 1.24 (colored) to selected 1.26 (colored)
Fix botch on device_t/softc split in debug printf macro. from chs@
Revision 1.24 / (download) - annotate - [select for diffs], Sat Jul 9 17:32:31 2011 UTC (12 years, 9 months ago) by matt
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.23: +5 -7
lines
Diff to previous 1.23 (colored) to selected 1.26 (colored)
Cleanu <machine/*> includes
Revision 1.23 / (download) - annotate - [select for diffs], Mon Dec 14 00:46:11 2009 UTC (14 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
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,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
matt-mips64-premerge-20101231,
jym-xensuspend-nbase,
jym-xensuspend-base,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Changes since 1.22: +4 -4
lines
Diff to previous 1.22 (colored) to selected 1.26 (colored)
Merge from matt-nb5-mips64 Merge mips-specific arch files.
Revision 1.22 / (download) - annotate - [select for diffs], Wed Aug 12 14:06:13 2009 UTC (14 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
matt-premerge-20091211
Changes since 1.21: +6 -9
lines
Diff to previous 1.21 (colored) to selected 1.26 (colored)
Fix a botch in the previous rev 1.21: We have to mask higher bits on NCR register access via bus_space_read_4(9), as the previous NCR_READ_REG() does. Problem reported by Erik Bertelsen on port-pmax@. I tested a different version on 3MIN and I also tested committed version on gxemul, but 3MAX doesn't have asc_ioasic but asc_tc..
Revision 1.21 / (download) - annotate - [select for diffs], Sat Aug 1 08:20:36 2009 UTC (14 years, 8 months ago) by tsutsui
Branch: MAIN
Changes since 1.20: +18 -12
lines
Diff to previous 1.20 (colored) to selected 1.26 (colored)
Micro optimization around ncr53c9x register accesses.
Revision 1.20 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:31 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
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,
mjf-devfs2-base,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u1-k1-k5,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
jymxensuspend-base,
jym-xensuspend,
hpcarm-cleanup-nbase,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: matt-nb5-mips64
Changes since 1.19: +2 -9
lines
Diff to previous 1.19 (colored) to selected 1.26 (colored)
Remove clause 3 and 4 from TNF licenses
Revision 1.19 / (download) - annotate - [select for diffs], Sun Apr 13 04:55:52 2008 UTC (16 years ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base
Branch point for: yamt-pf42,
yamt-nfs-mp
Changes since 1.18: +81 -107
lines
Diff to previous 1.18 (colored) to selected 1.26 (colored)
Split device_t/softc for MI ncr53c9x and some related devices, with various cleanup.
Revision 1.18 / (download) - annotate - [select for diffs], Tue Mar 6 22:31:36 2007 UTC (17 years, 1 month ago) by simonb
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
yamt-idlelwp-base8,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
vmlocking-base,
vmlocking,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
reinoud-bufcleanup,
ppcoea-renovation-base,
ppcoea-renovation,
nick-net80211-sync-base,
nick-net80211-sync,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
mjf-ufs-trans,
mjf-devfs-base,
mjf-devfs,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-nbase,
matt-armv6-base,
matt-armv6,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64,
ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.17: +3 -3
lines
Diff to previous 1.17 (colored) to selected 1.26 (colored)
Fix some caddr_t rototill fallout. Some from Erik Bertelsen on port-pmax@.
Revision 1.17 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:33 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.16: +5 -5
lines
Diff to previous 1.16 (colored) to selected 1.26 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.16 / (download) - annotate - [select for diffs], Wed Mar 8 23:46:24 2006 UTC (18 years, 1 month ago) by lukem
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
simonb-timecounters-base,
rpaulo-netinet-merge-pcb-base,
post-newlock2-merge,
peter-altq-base,
peter-altq,
newlock2-nbase,
newlock2-base,
newlock2,
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,
matt-nb4-arm-base,
matt-nb4-arm,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
chap-midi-nbase,
chap-midi-base,
chap-midi,
ad-audiomp-base,
ad-audiomp,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-idlelwp
Changes since 1.15: +3 -3
lines
Diff to previous 1.15 (colored) to selected 1.26 (colored)
Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings. Add a space between numbers and Hz unit.
Revision 1.15 / (download) - annotate - [select for diffs], Wed Apr 2 04:20:32 2003 UTC (21 years ago) by thorpej
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
yamt-pdpolicy-base,
yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
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,
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,
ktrace-lwp-base,
ktrace-lwp,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-pdpolicy,
yamt-lazymbuf,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
elad-kernelauth
Changes since 1.14: +8 -5
lines
Diff to previous 1.14 (colored) to selected 1.26 (colored)
Use PAGE_SIZE rather than NBPG.
Revision 1.14 / (download) - annotate - [select for diffs], Wed Oct 2 04:15:10 2002 UTC (21 years, 6 months ago) by thorpej
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.13: +4 -5
lines
Diff to previous 1.13 (colored) to selected 1.26 (colored)
Use CFATTACH_DECL().
Revision 1.13 / (download) - annotate - [select for diffs], Fri Sep 27 20:34:53 2002 UTC (21 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored) to selected 1.26 (colored)
Declare all cfattach structures const.
Revision 1.12 / (download) - annotate - [select for diffs], Sun Aug 26 11:47:25 2001 UTC (22 years, 7 months ago) by simonb
Branch: MAIN
CVS Tags: 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,
ifpoll-base,
gehenna-devsw-base,
gehenna-devsw,
eeh-devprop-base,
eeh-devprop,
ad_pmax_wscons_base,
ad_pmax_wscons
Branch point for: nathanw_sa
Changes since 1.11: +3 -3
lines
Diff to previous 1.11 (colored) to selected 1.26 (colored)
Switch to MI SCSI and drop old pmax MD SCSI support completely.
Revision 1.11 / (download) - annotate - [select for diffs], Wed Apr 25 17:53:22 2001 UTC (23 years ago) by bouyer
Branch: MAIN
Branch point for: kqueue
Changes since 1.10: +5 -3
lines
Diff to previous 1.10 (colored) to selected 1.26 (colored)
Pull up the thorpej_scsipi branch to main branch. This is a completely rewritten scsipi_xfer execution engine, and the associated changes to HBA drivers. Overview of changes & features: - All xfers are queued in the mid-layer, rather than doing so in an ad-hoc fashion in individual adapter drivers. - Adapter/channel resource management in the mid-layer, avoids even trying to start running an xfer if the adapter/channel doesn't have the resources. - Better communication between the mid-layer and the adapters. - Asynchronous event notification mechanism from adapter to mid-layer and peripherals. - Better peripheral queue management: freeze/thaw, sorted requeueing during recovery, etc. - Clean separation of peripherals, adapters, and adapter channels (no more scsipi_link). - Kernel thread for each scsipi_channel makes error recovery much easier (no more dealing with interrupt context when recovering from an error). - Mid-layer support for tagged queueing: commands can have the tag type set explicitly, tag IDs are allocated in the mid-layer (thus eliminating the need to use buggy tag ID allocation schemes in many adapter drivers). - support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command will be requeued, or a REQUEST SENSE will be sent as appropriate. Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge
Revision 1.10 / (download) - annotate - [select for diffs], Thu Sep 28 03:27:29 2000 UTC (23 years, 6 months ago) by mhitch
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Changes since 1.9: +3 -3
lines
Diff to previous 1.9 (colored) to selected 1.26 (colored)
Set the boundary to NBPG for bus_dmamap_create(). The IOASIC DMA segment can not cross a page boundary. This fixes a problem when a dump(8) buffer just crossed a page boundary and bus_dmamap_load() would coalesce the the overlap onto the first segment. The NEXTPTR value would get set to -1 when starting the DMA transfer and the residual data for unaligned transfers would be copied to physical address 0x1ffffffc. On the R3000, this would result in corrupted data, and on the R4000 would usually result in a hard system hang.
Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 7 10:09:19 2000 UTC (23 years, 10 months ago) by nisimura
Branch: MAIN
CVS Tags: netbsd-1-5-base,
netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Changes since 1.8: +53 -68
lines
Diff to previous 1.8 (colored) to selected 1.26 (colored)
- Take care of dm_segs[].dm_len value whenever the offset is adjusted. Known not working well for 4MAX+ this moment. - White spacing.
Revision 1.8 / (download) - annotate - [select for diffs], Mon Jun 5 07:59:52 2000 UTC (23 years, 10 months ago) by nisimura
Branch: MAIN
Changes since 1.7: +4 -13
lines
Diff to previous 1.7 (colored) to selected 1.26 (colored)
Have MI ncr53c9x_attach() the 2nd and 3rd arguments for scsipi_adater and scsipi_device respectively, with size reduction of ncr53c9x_softc. Specifying NULL instructs the driver to use default adapter and default device codes. Every target port has ncr53c9x_attach(sc, NULL, NULL) anyway.
Revision 1.7 / (download) - annotate - [select for diffs], Sat Jun 3 07:55:17 2000 UTC (23 years, 10 months ago) by nisimura
Branch: MAIN
Changes since 1.6: +159 -126
lines
Diff to previous 1.6 (colored) to selected 1.26 (colored)
Use bus_dma(9) to instruct IOASIC DMA to load transferring addresses, eliminating MIPS cache machinary exposure here.
Revision 1.6 / (download) - annotate - [select for diffs], Mon Mar 6 03:09:43 2000 UTC (24 years, 1 month ago) by mhitch
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.5: +2 -10
lines
Diff to previous 1.5 (colored) to selected 1.26 (colored)
Get rid of hook for dk_establish() - pmax will now use device_register().
Revision 1.5 / (download) - annotate - [select for diffs], Sat Mar 4 08:25:24 2000 UTC (24 years, 1 month ago) by nisimura
Branch: MAIN
Changes since 1.4: +49 -50
lines
Diff to previous 1.4 (colored) to selected 1.26 (colored)
Cosmetic cleanups to hide local objects.
Revision 1.4 / (download) - annotate - [select for diffs], Sat Mar 4 05:42:56 2000 UTC (24 years, 1 month ago) by mhitch
Branch: MAIN
Changes since 1.3: +9 -5
lines
Diff to previous 1.3 (colored) to selected 1.26 (colored)
Fix boot device detection. Device probes are not done when adapters are configured, but after all adapters have been configured. When multiple adapters are present, only the last configured adapter could be matched to the boot device slot. The adapter attach routines now check if that adapter slot matches the boot device slot and saves the softc pointer for that controller. Then when the disks are configured, dk_establish() matches the appropriate controller. Also change the rz boot device test to include a check for the adapter so that it works when booting from a disk on adapters other than the first one.
Revision 1.3 / (download) - annotate - [select for diffs], Mon Feb 28 18:51:25 2000 UTC (24 years, 1 month ago) by mhitch
Branch: MAIN
Changes since 1.2: +16 -3
lines
Diff to previous 1.2 (colored) to selected 1.26 (colored)
Check and clear the appropriate IOASIC SCSI interrupt bits when in polled I/O mode. Kernel dumps will now work with the IOASIC SCSI devices.
Revision 1.2 / (download) - annotate - [select for diffs], Sat Feb 19 09:48:46 2000 UTC (24 years, 2 months ago) by nisimura
Branch: MAIN
Changes since 1.1: +459 -0
lines
Diff to previous 1.1 (colored) to selected 1.26 (colored)
Introduce MI SCSI codes; for DECstation 5000s only this moment.
Revision 1.1, Thu Oct 15 02:48:58 1998 UTC (25 years, 6 months ago) by nisimura
Branch: MAIN
CVS Tags: fvdl-softdep-base,
chs-ubc2-newbase
Branch point for: thorpej_scsipi,
nisimura-pmax-wscons
FILE REMOVED
file asc_ioasic.c was initially added on branch nisimura-pmax-wscons.