The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.59 / (download) - annotate - [select for diffs], Sat Feb 18 13:28:05 2023 UTC (12 months, 1 week ago) by nat
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.58: +3 -2 lines
Diff to previous 1.58 (colored)

Introduce a flag to disable PDMA when writing.

The use of pdma when writing would always cause a panic on my Powerbook 160,
possibly others as well.

As posted to tech-kern.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Feb 18 13:17:45 2023 UTC (12 months, 1 week ago) by nat
Branch: MAIN
Changes since 1.57: +8 -4 lines
Diff to previous 1.57 (colored)

Honor the XS_CTL_POLL flag and fallback to polled io instead of PDMA.

As posted to tech-kern.

Revision 1.56.28.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:27 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.56: +6 -6 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Sync with HEAD

Revision 1.56.26.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:36 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.56: +6 -6 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.57 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:25 2018 UTC (5 years, 5 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, netbsd-10-base, 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
Changes since 1.56: +6 -6 lines
Diff to previous 1.56 (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.54.22.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:11 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.54.22.1: +3 -4 lines
Diff to previous 1.54.22.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.55.10.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:01 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.55: +3 -4 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Rebase.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Jun 29 12:18:42 2014 UTC (9 years, 8 months ago) by martin
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, 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.55: +3 -4 lines
Diff to previous 1.55 (colored)

Remove an unused variable

Revision 1.54.22.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:28:50 2013 UTC (11 years ago) by tls
Branch: tls-maxphys
Changes since 1.54: +7 -13 lines
Diff to previous 1.54 (colored)

resync with head

Revision 1.54.12.1 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:00 2013 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.54: +7 -13 lines
Diff to previous 1.54 (colored) next main 1.55 (colored)

sync with (a bit old) head

Revision 1.55 / (download) - annotate - [select for diffs], Fri Dec 7 08:04:02 2012 UTC (11 years, 2 months ago) by hauke
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, 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, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-earlyentropy
Changes since 1.54: +7 -13 lines
Diff to previous 1.54 (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.53.4.1 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:35 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.53: +2 -3 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

sync with head

Revision 1.54 / (download) - annotate - [select for diffs], Mon Nov 23 00:11:44 2009 UTC (14 years, 3 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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, 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-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, 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, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.53: +2 -3 lines
Diff to previous 1.53 (colored)

Use lwp_getpcb() on m68k ports, clean from struct user usage.

Revision 1.52.40.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:22 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.52: +23 -21 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

Sync with HEAD.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Apr 4 16:00:57 2008 UTC (15 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, 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-base, 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-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-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: yamt-nfs-mp
Changes since 1.52: +23 -21 lines
Diff to previous 1.52 (colored)

Split devict_t/softc for ncr5380sbc SCSI, and misc cosmetic changes.

Revision 1.46.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:27:21 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.46.2.2: +3 -3 lines
Diff to previous 1.46.2.2 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

sync with head.

Revision 1.51.10.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:48:58 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Sync with HEAD.

Revision 1.52 / (download) - annotate - [select for diffs], Sun Mar 4 06:00:07 2007 UTC (17 years ago) by christos
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.51: +3 -3 lines
Diff to previous 1.51 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.46.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:25 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.46.2.1: +3 -6 lines
Diff to previous 1.46.2.1 (colored) to branchpoint 1.46 (colored)

sync with head.

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:41:00 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.49: +7 -10 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with head

Revision 1.49.6.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:42:13 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.49.6.1: +3 -6 lines
Diff to previous 1.49.6.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)

sync with head

Revision 1.51 / (download) - annotate - [select for diffs], Fri Aug 4 01:56:42 2006 UTC (17 years, 7 months ago) by mhitch
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, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, 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, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Changes since 1.50: +3 -6 lines
Diff to previous 1.50 (colored)

gcc4 "uninitialized" variable;  previous workaround doesn't satisfy gcc4 -
explicitly initialize drq.

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:53:02 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.46: +24 -10 lines
Diff to previous 1.46 (colored)

sync with head.

Revision 1.49.4.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:35:01 2006 UTC (17 years, 9 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.49: +6 -6 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with head.

Revision 1.49.10.1 / (download) - annotate - [select for diffs], Wed May 24 15:48:12 2006 UTC (17 years, 9 months ago) by tron
Branch: peter-altq
Changes since 1.49: +6 -6 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.49.6.1 / (download) - annotate - [select for diffs], Wed May 24 10:56:58 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.49: +6 -6 lines
Diff to previous 1.49 (colored)

sync with head.

Revision 1.49.8.1 / (download) - annotate - [select for diffs], Thu May 11 23:26:59 2006 UTC (17 years, 9 months ago) by elad
Branch: elad-kernelauth
Changes since 1.49: +6 -6 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with head

Revision 1.50 / (download) - annotate - [select for diffs], Wed May 10 06:24:02 2006 UTC (17 years, 9 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi
Changes since 1.49: +6 -6 lines
Diff to previous 1.49 (colored)

Fix a bunch of cast lvalues.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:51:28 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.48: +17 -3 lines
Diff to previous 1.48 (colored) next main 1.49 (colored)

sync with head.

Revision 1.45.8.1 / (download) - annotate - [select for diffs], Mon Jan 30 22:33:40 2006 UTC (18 years, 1 month ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.45: +17 -3 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Pull up following revision(s) (requested by chs in ticket #1146):
	sys/arch/mac68k/dev/sbc.c: revision 1.49
add fault-protection in sbc_pdma_in() like in all the other PDMA functions.
fixes PR 9679.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Jan 17 16:41:29 2006 UTC (18 years, 1 month ago) by chs
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.48: +17 -3 lines
Diff to previous 1.48 (colored)

add fault-protection in sbc_pdma_in() like in all the other PDMA functions.
fixes PR 9679.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Dec 24 23:24:00 2005 UTC (18 years, 2 months ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.47: +5 -5 lines
Diff to previous 1.47 (colored)

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

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

merge ktrace-lwp.

Revision 1.43.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 13:57:13 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.43.2.4: +3 -3 lines
Diff to previous 1.43.2.4 (colored) next main 1.44 (colored)

Sync with HEAD. Here we go again...

Revision 1.46 / (download) - annotate - [select for diffs], Thu Jun 16 22:43:36 2005 UTC (18 years, 8 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.45: +3 -3 lines
Diff to previous 1.45 (colored)

Fixes for volatile problems

Revision 1.43.2.4 / (download) - annotate - [select for diffs], Mon Jan 17 19:29:35 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.43.2.3: +20 -41 lines
Diff to previous 1.43.2.3 (colored)

Sync with HEAD.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Jan 15 16:00:59 2005 UTC (19 years, 1 month 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-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, kent-audio2-base, kent-audio2
Branch point for: netbsd-3
Changes since 1.44: +20 -41 lines
Diff to previous 1.44 (colored)

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

Revision 1.43.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:18:06 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.43.2.2: +2 -2 lines
Diff to previous 1.43.2.2 (colored)

Fix the sync with head I botched.

Revision 1.43.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:36:43 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.43.2.1: +0 -0 lines
Diff to previous 1.43.2.1 (colored)

Sync with HEAD.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:37:07 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.43: +5 -1 lines
Diff to previous 1.43 (colored)

Sync with HEAD

Revision 1.44 / (download) - annotate - [select for diffs], Tue Jul 15 02:43:18 2003 UTC (20 years, 7 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.43: +5 -1 lines
Diff to previous 1.43 (colored)

__KERNEL_RCSID()

Revision 1.43 / (download) - annotate - [select for diffs], Sat May 3 18:10:50 2003 UTC (20 years, 10 months ago) by wiz
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

DMA, not dma nor Dma.

Revision 1.41.12.1 / (download) - annotate - [select for diffs], Fri Oct 18 02:38:20 2002 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Catch up to -current.

Revision 1.41.8.1 / (download) - annotate - [select for diffs], Thu Oct 10 18:33:47 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.42 / (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.41: +3 -3 lines
Diff to previous 1.41 (colored)

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

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:12:18 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.39: +2 -11 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Mar 18 16:13:23 2000 UTC (23 years, 11 months ago) by mycroft
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.40: +1 -10 lines
Diff to previous 1.40 (colored)

Add a ncr5380_attach() routine which does part of the initialization, attaches
the scsibus, and does the addref/delref dance.

Revision 1.39.6.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:32:35 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Pull up to last week's -current.

Revision 1.38.4.3 / (download) - annotate - [select for diffs], Tue Nov 16 16:14:00 1999 UTC (24 years, 3 months ago) by scottr
Branch: scottr-mac68k-wscons
Changes since 1.38.4.2: +1 -35 lines
Diff to previous 1.38.4.2 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Pull up the version from the trunk; some changes crept in that ought not
to have been committed.

Revision 1.39.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:38:26 1999 UTC (24 years, 3 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Sync with -current

Revision 1.38.4.2 / (download) - annotate - [select for diffs], Tue Nov 2 06:46:13 1999 UTC (24 years, 4 months ago) by scottr
Branch: scottr-mac68k-wscons
Changes since 1.38.4.1: +2 -3 lines
Diff to previous 1.38.4.1 (colored) to branchpoint 1.38 (colored)

[Redo] Sync with main branch.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Nov 2 06:42:26 1999 UTC (24 years, 4 months ago) by scottr
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, scottr-mac68k-wscons-base, fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

[Redo] Catch up with recent changes to scsipi flags.  Closes PR 8675.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Sep 17 20:04:34 1999 UTC (24 years, 5 months ago) by thorpej
Branch: MAIN
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.38: +1 -2 lines
Diff to previous 1.38 (colored)

Centralize the declaration and clearing of `cold'.

Revision 1.38.4.1 / (download) - annotate - [select for diffs], Sun May 16 22:38:09 1999 UTC (24 years, 9 months ago) by scottr
Branch: scottr-mac68k-wscons
Changes since 1.38: +35 -1 lines
Diff to previous 1.38 (colored)

Sync with main branch.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Nov 19 21:46:24 1998 UTC (25 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Branch point for: scottr-mac68k-wscons
Changes since 1.37: +1 -7 lines
Diff to previous 1.37 (colored)

Adapt to the new scsipi_adapter interface.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Oct 10 00:28:38 1998 UTC (25 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.36: +4 -5 lines
Diff to previous 1.36 (colored)

Garbage-collect the open_target_lu and close_target_lu entry points from
struct scsipi_adapter; they were not used.

Add a scsipi_ioctl entry point to struct scsipi_adapter.  This will be
used to issue ioctl commands to the host adapters.

Inspired by PR #6090, from Matt Jacob.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Jul 4 22:18:27 1998 UTC (25 years, 8 months ago) by jonathan
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.35: +18 -1 lines
Diff to previous 1.35 (colored)

defopt DDB.

Revision 1.32.2.4 / (download) - annotate - [select for diffs], Thu Jan 29 12:21:19 1998 UTC (26 years, 1 month ago) by mellon
Branch: netbsd-1-3
CVS Tags: 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
Changes since 1.32.2.3: +2 -12 lines
Diff to previous 1.32.2.3 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Pull up 1.34 (scottr)

Revision 1.35 / (download) - annotate - [select for diffs], Sat Jan 17 09:27:03 1998 UTC (26 years, 1 month ago) by scottr
Branch: MAIN
Changes since 1.34: +2 -12 lines
Diff to previous 1.34 (colored)

We haven't needed a driver-specific minphys() for quite some time now.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Jan 12 19:22:17 1998 UTC (26 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.33: +1 -5 lines
Diff to previous 1.33 (colored)

Update for changes to config.

Revision 1.32.2.3 / (download) - annotate - [select for diffs], Tue Dec 9 20:17:33 1997 UTC (26 years, 2 months ago) by thorpej
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-RELEASE
Changes since 1.32.2.2: +122 -113 lines
Diff to previous 1.32.2.2 (colored) to branchpoint 1.32 (colored)

Sync w/ trunk: fix potential hang during autoconfig.  (scottr)

Revision 1.33 / (download) - annotate - [select for diffs], Sat Dec 6 18:53:30 1997 UTC (26 years, 3 months ago) by scottr
Branch: MAIN
Changes since 1.32: +10 -4 lines
Diff to previous 1.32 (colored)

PR 4078:  Enabling the SCSI IRQ interrupt to allow reselects to work
causes the MI interrupt handler to barf when we get a 5380 RST interrupt
while probing.  Worse, the VIA latches the interrupt, so simply having
all interrupts disabled during autoconfig doesn't resolve the problem.
[I demonstrated the latter on a IIci, which erroneously reports a
reselection attempt(!) after autoconfig is complete.  The latched
interrupt results from the SCSI bus reset we do when initializing the
bus.]

Since interrupts must be enabled during autoconfig anyway (sigh), test
to see if autoconfig has completed in sbc_irq_intr().  If not, we don't
pass the interrupt up to the MI interrupt handler.  Also, make sure to
clear the VIA interrupt if we're servicing an unclaimed 5380 RST
interrupt.

Thanks to Bill Studenmund for providing the key insight needed to unlock
this problem.

Revision 1.32.2.2 / (download) - annotate - [select for diffs], Wed Nov 19 21:42:45 1997 UTC (26 years, 3 months ago) by mellon
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-BETA
Changes since 1.32.2.1: +3 -3 lines
Diff to previous 1.32.2.1 (colored) to branchpoint 1.32 (colored)

DEBUG -> SBC_DEBUG (scottr)

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Tue Nov 18 07:28:04 1997 UTC (26 years, 3 months ago) by mellon
Branch: netbsd-1-3
Changes since 1.32: +112 -115 lines
Diff to previous 1.32 (colored)

Undo parts of 1.23 to fix autoconfig hangs on some Macs.   Not on trunk - trunk version is more correct.   (scottr)

Revision 1.28.4.4 / (download) - annotate - [select for diffs], Tue Oct 14 10:17:01 1997 UTC (26 years, 4 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.28.4.3: +2 -6 lines
Diff to previous 1.28.4.3 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Oct 10 05:55:01 1997 UTC (26 years, 4 months ago) by scottr
Branch: MAIN
CVS Tags: netbsd-1-3-base, marc-pcmcia-base
Branch point for: netbsd-1-3
Changes since 1.31: +2 -6 lines
Diff to previous 1.31 (colored)

Remove advertising clause.

Revision 1.28.4.3 / (download) - annotate - [select for diffs], Sat Sep 6 18:18:33 1997 UTC (26 years, 6 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.28.4.2: +26 -5 lines
Diff to previous 1.28.4.2 (colored) to branchpoint 1.28 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Sep 6 07:53:14 1997 UTC (26 years, 6 months ago) by scottr
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal
Changes since 1.30: +26 -5 lines
Diff to previous 1.30 (colored)

Catch bus error in sbc_pdma_out() and panic with a reasonable
error message.

Revision 1.28.4.2 / (download) - annotate - [select for diffs], Wed Aug 27 22:27:49 1997 UTC (26 years, 6 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.28.4.1: +8 -7 lines
Diff to previous 1.28.4.1 (colored) to branchpoint 1.28 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Aug 27 11:23:53 1997 UTC (26 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.29: +8 -7 lines
Diff to previous 1.29 (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.28.4.1 / (download) - annotate - [select for diffs], Sat Aug 23 07:10:27 1997 UTC (26 years, 6 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Thu Aug 14 11:06:03 1997 UTC (26 years, 6 months ago) by bouyer
Branch: bouyer-scsipi
Changes since 1.28.2.1: +3 -3 lines
Diff to previous 1.28.2.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

Sync with trunk.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Aug 11 22:53:39 1997 UTC (26 years, 6 months ago) by scottr
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

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

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

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Tue Jul 1 17:34:05 1997 UTC (26 years, 8 months ago) by bouyer
Branch: bouyer-scsipi
Changes since 1.28: +8 -7 lines
Diff to previous 1.28 (colored)

Updates for new scsipi subsystem. Actally known to work on i386 and sparc.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jun 30 05:24: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.27: +123 -98 lines
Diff to previous 1.27 (colored)

Due to reliability problems on some models, back out the more radical of
the pc532/dev/ncr.c-inspired changes; in particular, wait for previous
transfer to complete before starting another, as we used to do.  Retain
splbio() protection and simplified sbc_pdma_in().

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jun 29 06:10:37 1997 UTC (26 years, 8 months ago) by scottr
Branch: MAIN
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

Update for mac68k_buserr_addr -> m68k_fault_addr change.

Revision 1.26 / (download) - annotate - [select for diffs], Tue May 13 06:34:00 1997 UTC (26 years, 9 months ago) by scottr
Branch: MAIN
Changes since 1.25: +13 -29 lines
Diff to previous 1.25 (colored)

Tweak sbc_drq_intr() (interrupt-driven PDMA interrupt handler); it
now works properly on at least some disks.  Further testing is
necessary.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Apr 28 15:59:20 1997 UTC (26 years, 10 months ago) by scottr
Branch: MAIN
Changes since 1.24: +6 -2 lines
Diff to previous 1.24 (colored)

Undo a hack added in the last overhaul (which caused an extraneous byte
to be written to the target).  Also, use the sc_min_dma_len field
to determine whether to use PDMA or PIO.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Apr 18 17:38:08 1997 UTC (26 years, 10 months ago) by scottr
Branch: MAIN
Changes since 1.23: +44 -35 lines
Diff to previous 1.23 (colored)

For small writes, use PIO rather than PDMA; this increases the reliability
of the driver (considerably, on some systems/targets).

Revision 1.23 / (download) - annotate - [select for diffs], Mon Apr 7 05:48:35 1997 UTC (26 years, 11 months ago) by scottr
Branch: MAIN
Changes since 1.22: +157 -246 lines
Diff to previous 1.22 (colored)

Rework PDMA read/write functions based on Matthias Pfaller's pc532 ncr
driver.  Major highlights:

 - Protect with splbio(), now that interrupts from the chip might be
   enabled by default;
 - Wait for current transfer to complete before returning, rather than
   wait for previous transfer to complete before starting another;
 - Instead of logging a "timeout" message when a target disconnects,
   just return, letting the sbc_ready() and sbc_wait_not_req() print
   timeout messages if such really did occur.

With interrupt changes to sbc_obio.c, disconnect/reselect now works if
configured into the kernel.

Revision 1.18.4.1 / (download) - annotate - [select for diffs], Wed Mar 12 15:08:47 1997 UTC (26 years, 11 months ago) by is
Branch: is-newarp
Changes since 1.18: +27 -335 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

Merge in changes from The Trunk, partially just reimplementing newarp.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Mar 1 20:18:58 1997 UTC (27 years ago) by scottr
Branch: MAIN
CVS Tags: is-newarp-before-merge
Changes since 1.21: +18 -327 lines
Diff to previous 1.21 (colored)

Split bus-dependent autoconfig code from the driver.  This allows for
the future addition of a Duo Dock front end.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Feb 28 07:47:01 1997 UTC (27 years ago) by scottr
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Convert to generalized VIA interrupt registration

Revision 1.20 / (download) - annotate - [select for diffs], Wed Feb 26 22:29:08 1997 UTC (27 years ago) by gwr
Branch: MAIN
Changes since 1.19: +4 -3 lines
Diff to previous 1.19 (colored)

Minimal changes to adapt to removal of NCR5380_PERMIT_RESELECT.
This driver should be updated to allow per-target control over
disconnect/reselect, but I will leave that to the port masters.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Feb 24 05:47:35 1997 UTC (27 years ago) by scottr
Branch: MAIN
Changes since 1.18: +10 -10 lines
Diff to previous 1.18 (colored)

Update copyright and license.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Jan 20 04:27:49 1997 UTC (27 years, 1 month ago) by scottr
Branch: MAIN
CVS Tags: mrg-vm-swap, is-newarp-base
Branch point for: is-newarp
Changes since 1.17: +6 -1 lines
Diff to previous 1.17 (colored)

#ifdef out write hack, and fix possible uninitialized variable.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jan 7 07:40:46 1997 UTC (27 years, 2 months ago) by scottr
Branch: MAIN
CVS Tags: thorpej-setroot
Changes since 1.16: +1 -1 lines
Diff to previous 1.16 (colored)

Fix typo in last:  cf->cf_unit -> sc->dv.dv_unit

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jan 5 10:01:42 1997 UTC (27 years, 2 months ago) by scottr
Branch: MAIN
Changes since 1.15: +36 -5 lines
Diff to previous 1.15 (colored)

Add basic support for a Duo dock SCSI controller, from Daishi Kato.

XXX - This could probably be improved if all docking hardware has a
NuBus declaration ROM that we can get to.  This should be investigated
further.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Dec 16 16:17:12 1996 UTC (27 years, 2 months ago) by scottr
Branch: MAIN
Changes since 1.14: +4 -3 lines
Diff to previous 1.14 (colored)

Convert all foo_match() functions to use a `struct cfdata *' for their
second argument.  The NuBus autoconfig code had to be reorganized as a
result of this, and looks much more like a directly-attached bus now.
These changes eliminate __BROKEN_INDIRECT_CONFIG.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Nov 13 07:02:17 1996 UTC (27 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +4 -2 lines
Diff to previous 1.13 (colored)

Use bitmask_snprintf().

Revision 1.13 / (download) - annotate - [select for diffs], Sun Oct 13 03:21:28 1996 UTC (27 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.12: +26 -26 lines
Diff to previous 1.12 (colored)

backout previous kprintf change

Revision 1.12 / (download) - annotate - [select for diffs], Fri Oct 11 00:24:59 1996 UTC (27 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.11: +26 -26 lines
Diff to previous 1.11 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.11 / (download) - annotate - [select for diffs], Wed Aug 28 19:00:12 1996 UTC (27 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.10: +3 -13 lines
Diff to previous 1.10 (colored)

(1) set scsi_link channel to either the appropriate channel (if a
    multi-channel driver), or to SCSI_CHANNEL_ONLY_ONE if a
    single-channel driver.
(2) use scsiprint() rather than a locally-defined autoconfig print
    function, and kill any locally-defined print function.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Aug 27 21:56:08 1996 UTC (27 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

change cfprint_t type definition to take a const char *, rather than
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).

Revision 1.6.4.2 / (download) - annotate - [select for diffs], Thu Jun 20 00:40:19 1996 UTC (27 years, 8 months ago) by jtc
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA
Changes since 1.6.4.1: +11 -12 lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Pulled up from revision 1.9 by request of Scott Reynolds.
Updates copyright/licence and comments.  No code changes.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 19 01:47:28 1996 UTC (27 years, 8 months ago) by scottr
Branch: MAIN
Changes since 1.8: +11 -12 lines
Diff to previous 1.8 (colored)

Update some comments, and the copyright

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Tue Jun 11 13:45:33 1996 UTC (27 years, 8 months ago) by scottr
Branch: netbsd-1-2
Changes since 1.6: +123 -75 lines
Diff to previous 1.6 (colored)

Pull up from trunk:
>Deal with interrupt flags more carefully, and use the correct offset
>for PB500-series SCSI I/O.  While I'm here, update the copyright.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jun 11 03:20:23 1996 UTC (27 years, 8 months ago) by scottr
Branch: MAIN
Changes since 1.7: +103 -94 lines
Diff to previous 1.7 (colored)

Deal with interrupt flags more carefully, and use the correct offset
for PB500-series SCSI I/O.  While I'm here, update the copyright.

Revision 1.7 / (download) - annotate - [select for diffs], Wed May 29 14:26:33 1996 UTC (27 years, 9 months ago) by scottr
Branch: MAIN
Changes since 1.6: +44 -5 lines
Diff to previous 1.6 (colored)

- Simplify writes in sbc_drq_intr().
- When finished writing, if the SCSI bus has BSY asserted, write another
  byte to the SBC to ensure we get an interrupt.
- Unflag SCSI interrupts on the VIA whenever we clear the interrupts
  on the SBC itself.

Revision 1.6 / (download) - annotate - [select for diffs], Wed May 8 03:44:56 1996 UTC (27 years, 10 months ago) by scottr
Branch: MAIN
CVS Tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Changes since 1.5: +36 -58 lines
Diff to previous 1.5 (colored)

Remove some gross hacks that were added due to interrupt grossness that
has been partially fixed.  Also, add a new flag (which rearranges them
a bit, unfortunately) to use PDMA for polled transfers.

Revision 1.5 / (download) - annotate - [select for diffs], Sun May 5 06:17:13 1996 UTC (27 years, 10 months ago) by briggs
Branch: MAIN
Changes since 1.4: +1 -3 lines
Diff to previous 1.4 (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.4 / (download) - annotate - [select for diffs], Tue Apr 30 18:11:38 1996 UTC (27 years, 10 months ago) by scottr
Branch: MAIN
Changes since 1.3: +5 -14 lines
Diff to previous 1.3 (colored)

Kill unused variables and fix prototypes.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Apr 30 17:07:17 1996 UTC (27 years, 10 months ago) by scottr
Branch: MAIN
Changes since 1.2: +92 -58 lines
Diff to previous 1.2 (colored)

- Drop SCSI IRQ interrupts if we are already handling one.  This works around
  a condition that occurs with some slow SCSI devices when they disconnect
  (e.g. the AppleCD 600), generating spurious selection interrupts.
- Reorganize the debugging code slightly.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Apr 25 23:47:06 1996 UTC (27 years, 10 months ago) by scottr
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Ooops.  ncr_sbcreg.h -> sbcreg.h

Revision 1.1 / (download) - annotate - [select for diffs], Thu Apr 25 22:26:52 1996 UTC (27 years, 10 months ago) by scottr
Branch: MAIN

Renamed these files.

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>