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


Keyword substitution: kv
Default branch: MAIN


Revision 1.69: download - view: text, markup, annotated - select for diffs
Mon Mar 10 11:32:24 2025 UTC (13 days, 2 hours ago) by nat
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +8 -17 lines
Remove CHECKMORE.

This was a performance penalty and was found to be unnecessary as the root
cause of errors doing pdma interrupt xfers was addressed in an earlier commit.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon Mar 10 11:29:25 2025 UTC (13 days, 2 hours ago) by nat
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +12 -2 lines
Serialize pdma xfers.

The same is done for pdma interrupt xfers.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Fri Nov 22 07:27:17 2024 UTC (3 months, 4 weeks ago) by nat
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +4 -3 lines
Make writing of dummy byte conditional.

This is insurance against devices that do not leave ACK hanging at the end of
each transfer.

Final part of PR kern/58452.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Fri Nov 22 07:23:04 2024 UTC (3 months, 4 weeks ago) by nat
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -6 lines
This delay is no longer necessary.

The delays throught the code were there to ensure error free transfers.  This
has been fixed in an eariler commit today by serializing the drq interrupt.

Part of PR kern/58452.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Nov 22 07:20:05 2024 UTC (3 months, 4 weeks ago) by nat
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -3 lines
No need any additional delay waiting for DREQ.

This results in utilites like time(1) reporting results closer to reality
when timing the transfer of data.  With the added benefit that transfers are
slightly faster.

Part of PR kern/58452.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Nov 22 07:16:01 2024 UTC (3 months, 4 weeks ago) by nat
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +7 -2 lines
Serialize drq interrupt.

This results in error free transfers between disks.

Part of PR kern/58452.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Oct 26 21:02:51 2024 UTC (4 months, 3 weeks ago) by nat
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +6 -2 lines
Spinkle a little delay.

This was needed to ensure a reliable transfer of data.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sat Oct 26 20:58:34 2024 UTC (4 months, 3 weeks ago) by nat
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +8 -2 lines
Write an extra byte to handle the last ACK from 5380.

This was found from the example code in the NCR5380 Interface Manual.

This is not needed (but does not hurt) on the 53C80 and later.

This fixed many problems from stuck busy to phase mismatches when aborting
transfers and avoiding hard lockups of the scsi subsystem originating from
what I first thought were errors from the target device.

XXX pullup-9, pullup 10.

I will look next at the pdma_out function to do the same there.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Oct 26 20:53:07 2024 UTC (4 months, 3 weeks ago) by nat
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +36 -37 lines
Rework of previous.

While here set the priority in sync witho pdma_in/out.
Use sbc_ready same as pdma_in/out.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Sep 14 21:11:07 2024 UTC (6 months, 1 week ago) by nat
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +22 -7 lines
Use smaller size when sending PDMA data, and check that the next block can
be sent before sending it.

This fixes PDMA support (which previously has been flakey at best).

These changes provide maximum performance and importantly reliablity.

The lack of support for the PDMA intr should now be revisited on the PowerBook
5xx series (Unfortunately I don't have the hw to test with).

These changes have been tested on emulated (PiSCSI/BlueSCSI) and real hw.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Feb 18 13:28:05 2023 UTC (2 years, 1 month ago) by nat
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 18 13:17:45 2023 UTC (2 years, 1 month ago) by nat
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +8 -4 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:27 2019 UTC (5 years, 9 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +6 -6 lines
Sync with HEAD

Revision 1.56.26.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:36 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +6 -6 lines
Sync with HEAD

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

Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:25 2018 UTC (6 years, 6 months ago) by riastradh
Branches: 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-4-RELEASE, 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-1-RELEASE, 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, 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
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +6 -6 lines
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 - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:11 2014 UTC (10 years, 7 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.54.22.1: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.22.1: +3 -4 lines
Rebase to HEAD as of a few days ago.

Revision 1.55.10.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:01 2014 UTC (10 years, 7 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +3 -4 lines
Rebase.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Jun 29 12:18:42 2014 UTC (10 years, 8 months ago) by martin
Branches: 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-3-RELEASE, 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
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -4 lines
Remove an unused variable

Revision 1.54.22.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:28:50 2013 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +7 -13 lines
resync with head

Revision 1.54.12.1: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:33:00 2013 UTC (12 years, 2 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +7 -13 lines
sync with (a bit old) head

Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Dec 7 08:04:02 2012 UTC (12 years, 3 months ago) by hauke
Branches: 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
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +7 -13 lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:35 2010 UTC (15 years ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +2 -3 lines
sync with head

Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon Nov 23 00:11:44 2009 UTC (15 years, 4 months ago) by rmind
Branches: 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
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -3 lines
Use lwp_getpcb() on m68k ports, clean from struct user usage.

Revision 1.52.40.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:22:22 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +23 -21 lines
Sync with HEAD.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Apr 4 16:00:57 2008 UTC (16 years, 11 months ago) by tsutsui
Branches: 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
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +23 -21 lines
Split devict_t/softc for ncr5380sbc SCSI, and misc cosmetic changes.

Revision 1.46.2.3: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:27:21 2007 UTC (17 years, 6 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.46.2.2: preferred, colored; branchpoint 1.46: preferred, colored; next MAIN 1.47: preferred, colored
Changes since revision 1.46.2.2: +3 -3 lines
sync with head.

Revision 1.51.10.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:48:58 2007 UTC (18 years ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51: +3 -3 lines
Sync with HEAD.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:00:07 2007 UTC (18 years ago) by christos
Branches: 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
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.46.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:46:25 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.46.2.1: preferred, colored; branchpoint 1.46: preferred, colored
Changes since revision 1.46.2.1: +3 -6 lines
sync with head.

Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:41:00 2006 UTC (18 years, 6 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +7 -10 lines
sync with head

Revision 1.49.6.2: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:42:13 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.49.6.1: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.6.1: +3 -6 lines
sync with head

Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri Aug 4 01:56:42 2006 UTC (18 years, 7 months ago) by mhitch
Branches: 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
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -6 lines
gcc4 "uninitialized" variable;  previous workaround doesn't satisfy gcc4 -
explicitly initialize drq.

Revision 1.46.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:53:02 2006 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +24 -10 lines
sync with head.

Revision 1.49.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:35:01 2006 UTC (18 years, 9 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +6 -6 lines
Sync with head.

Revision 1.49.10.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:48:12 2006 UTC (18 years, 10 months ago) by tron
Branches: peter-altq
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +6 -6 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.49.6.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:56:58 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +6 -6 lines
sync with head.

Revision 1.49.8.1: download - view: text, markup, annotated - select for diffs
Thu May 11 23:26:59 2006 UTC (18 years, 10 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +6 -6 lines
sync with head

Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed May 10 06:24:02 2006 UTC (18 years, 10 months ago) by skrll
Branches: 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
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +6 -6 lines
Fix a bunch of cast lvalues.

Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 1 14:51:28 2006 UTC (19 years, 1 month ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +17 -3 lines
sync with head.

Revision 1.45.8.1: download - view: text, markup, annotated - select for diffs
Mon Jan 30 22:33:40 2006 UTC (19 years, 1 month ago) by tron
Branches: 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
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +17 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue Jan 17 16:41:29 2006 UTC (19 years, 2 months ago) by chs
Branches: 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
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +17 -3 lines
add fault-protection in sbc_pdma_in() like in all the other PDMA functions.
fixes PR 9679.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Dec 24 23:24:00 2005 UTC (19 years, 3 months ago) by perry
Branches: MAIN
Branch point for: yamt-uio_vmspace
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +5 -5 lines
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:18:02 2005 UTC (19 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -2 lines
merge ktrace-lwp.

Revision 1.43.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:57:13 2005 UTC (19 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.43.2.4: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.2.4: +3 -3 lines
Sync with HEAD. Here we go again...

Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Jun 16 22:43:36 2005 UTC (19 years, 9 months ago) by jmc
Branches: 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
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -3 lines
Fixes for volatile problems

Revision 1.43.2.4: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:29:35 2005 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.43.2.3: preferred, colored
Changes since revision 1.43.2.3: +20 -41 lines
Sync with HEAD.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Jan 15 16:00:59 2005 UTC (20 years, 2 months ago) by chs
Branches: 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
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +20 -41 lines
de-__P, remove register, ansify, b* -> mem*.

Revision 1.43.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:18:06 2004 UTC (20 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.43.2.2: preferred, colored
Changes since revision 1.43.2.2: +2 -2 lines
Fix the sync with head I botched.

Revision 1.43.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:36:43 2004 UTC (20 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.43.2.1: preferred, colored
Changes since revision 1.43.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:37:07 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +5 -1 lines
Sync with HEAD

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Jul 15 02:43:18 2003 UTC (21 years, 8 months ago) by lukem
Branches: 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
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +5 -1 lines
__KERNEL_RCSID()

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat May 3 18:10:50 2003 UTC (21 years, 10 months ago) by wiz
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2 lines
DMA, not dma nor Dma.

Revision 1.41.12.1: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:38:20 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +3 -3 lines
Catch up to -current.

Revision 1.41.8.1: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:33:47 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 27 15:36:16 2002 UTC (22 years, 6 months ago) by provos
Branches: 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
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +3 -3 lines
remove trailing \n in panic().  approved perry.

Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:12:18 2000 UTC (24 years, 4 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +2 -11 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 18 16:13:23 2000 UTC (25 years ago) by mycroft
Branches: 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
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +1 -10 lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 27 18:32:35 1999 UTC (25 years, 3 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +2 -2 lines
Pull up to last week's -current.

Revision 1.38.4.3: download - view: text, markup, annotated - select for diffs
Tue Nov 16 16:14:00 1999 UTC (25 years, 4 months ago) by scottr
Branches: scottr-mac68k-wscons
Diff to: previous 1.38.4.2: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.4.2: +1 -35 lines
Pull up the version from the trunk; some changes crept in that ought not
to have been committed.

Revision 1.39.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:38:26 1999 UTC (25 years, 4 months ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +2 -2 lines
Sync with -current

Revision 1.38.4.2: download - view: text, markup, annotated - select for diffs
Tue Nov 2 06:46:13 1999 UTC (25 years, 4 months ago) by scottr
Branches: scottr-mac68k-wscons
Diff to: previous 1.38.4.1: preferred, colored; branchpoint 1.38: preferred, colored
Changes since revision 1.38.4.1: +2 -3 lines
[Redo] Sync with main branch.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Nov 2 06:42:26 1999 UTC (25 years, 4 months ago) by scottr
Branches: 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
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2 lines
[Redo] Catch up with recent changes to scsipi flags.  Closes PR 8675.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Sep 17 20:04:34 1999 UTC (25 years, 6 months ago) by thorpej
Branches: MAIN
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +1 -2 lines
Centralize the declaration and clearing of `cold'.

Revision 1.38.4.1: download - view: text, markup, annotated - select for diffs
Sun May 16 22:38:09 1999 UTC (25 years, 10 months ago) by scottr
Branches: scottr-mac68k-wscons
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +35 -1 lines
Sync with main branch.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Nov 19 21:46:24 1998 UTC (26 years, 4 months ago) by thorpej
Branches: 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
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +1 -7 lines
Adapt to the new scsipi_adapter interface.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sat Oct 10 00:28:38 1998 UTC (26 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: chs-ubc-base, chs-ubc
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +4 -5 lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 4 22:18:27 1998 UTC (26 years, 8 months ago) by jonathan
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +18 -1 lines
defopt DDB.

Revision 1.32.2.4: download - view: text, markup, annotated - select for diffs
Thu Jan 29 12:21:19 1998 UTC (27 years, 1 month ago) by mellon
Branches: 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
Diff to: previous 1.32.2.3: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.2.3: +2 -12 lines
Pull up 1.34 (scottr)

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sat Jan 17 09:27:03 1998 UTC (27 years, 2 months ago) by scottr
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -12 lines
We haven't needed a driver-specific minphys() for quite some time now.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Jan 12 19:22:17 1998 UTC (27 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +1 -5 lines
Update for changes to config.

Revision 1.32.2.3: download - view: text, markup, annotated - select for diffs
Tue Dec 9 20:17:33 1997 UTC (27 years, 3 months ago) by thorpej
Branches: netbsd-1-3
CVS tags: netbsd-1-3-RELEASE
Diff to: previous 1.32.2.2: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.2.2: +122 -113 lines
Sync w/ trunk: fix potential hang during autoconfig.  (scottr)

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Dec 6 18:53:30 1997 UTC (27 years, 3 months ago) by scottr
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +10 -4 lines
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 - view: text, markup, annotated - select for diffs
Wed Nov 19 21:42:45 1997 UTC (27 years, 4 months ago) by mellon
Branches: netbsd-1-3
CVS tags: netbsd-1-3-BETA
Diff to: previous 1.32.2.1: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.2.1: +3 -3 lines
DEBUG -> SBC_DEBUG (scottr)

Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 18 07:28:04 1997 UTC (27 years, 4 months ago) by mellon
Branches: netbsd-1-3
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +112 -115 lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 14 10:17:01 1997 UTC (27 years, 5 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.28.4.3: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.4.3: +2 -6 lines
Update marc-pcmcia branch from trunk.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Oct 10 05:55:01 1997 UTC (27 years, 5 months ago) by scottr
Branches: MAIN
CVS tags: netbsd-1-3-base, marc-pcmcia-base
Branch point for: netbsd-1-3
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -6 lines
Remove advertising clause.

Revision 1.28.4.3: download - view: text, markup, annotated - select for diffs
Sat Sep 6 18:18:33 1997 UTC (27 years, 6 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.28.4.2: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.4.2: +26 -5 lines
Update marc-pcmcia branch from trunk.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Sep 6 07:53:14 1997 UTC (27 years, 6 months ago) by scottr
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +26 -5 lines
Catch bus error in sbc_pdma_out() and panic with a reasonable
error message.

Revision 1.28.4.2: download - view: text, markup, annotated - select for diffs
Wed Aug 27 22:27:49 1997 UTC (27 years, 7 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.28.4.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.4.1: +8 -7 lines
Update marc-pcmcia branch from trunk.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Aug 27 11:23:53 1997 UTC (27 years, 7 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +8 -7 lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 23 07:10:27 1997 UTC (27 years, 7 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3 lines
Update marc-pcmcia branch from trunk.

Revision 1.28.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 14 11:06:03 1997 UTC (27 years, 7 months ago) by bouyer
Branches: bouyer-scsipi
Diff to: previous 1.28.2.1: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.2.1: +3 -3 lines
Sync with trunk.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Aug 11 22:53:39 1997 UTC (27 years, 7 months ago) by scottr
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -3 lines
Make #include directives consistent.  All MD headers are of the form:

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

Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 1 17:34:05 1997 UTC (27 years, 8 months ago) by bouyer
Branches: bouyer-scsipi
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +8 -7 lines
Updates for new scsipi subsystem. Actally known to work on i386 and sparc.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Jun 30 05:24:35 1997 UTC (27 years, 8 months ago) by scottr
Branches: MAIN
CVS tags: marc-pcmcia-bp
Branch point for: marc-pcmcia, bouyer-scsipi
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +123 -98 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 29 06:10:37 1997 UTC (27 years, 9 months ago) by scottr
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +4 -4 lines
Update for mac68k_buserr_addr -> m68k_fault_addr change.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Tue May 13 06:34:00 1997 UTC (27 years, 10 months ago) by scottr
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +13 -29 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 28 15:59:20 1997 UTC (27 years, 11 months ago) by scottr
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +6 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 18 17:38:08 1997 UTC (27 years, 11 months ago) by scottr
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +44 -35 lines
For small writes, use PIO rather than PDMA; this increases the reliability
of the driver (considerably, on some systems/targets).

Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Apr 7 05:48:35 1997 UTC (27 years, 11 months ago) by scottr
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +157 -246 lines
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 - view: text, markup, annotated - select for diffs
Wed Mar 12 15:08:47 1997 UTC (28 years ago) by is
Branches: is-newarp
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +27 -335 lines
Merge in changes from The Trunk, partially just reimplementing newarp.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Mar 1 20:18:58 1997 UTC (28 years ago) by scottr
Branches: MAIN
CVS tags: is-newarp-before-merge
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +18 -327 lines
Split bus-dependent autoconfig code from the driver.  This allows for
the future addition of a Duo Dock front end.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Feb 28 07:47:01 1997 UTC (28 years ago) by scottr
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -3 lines
Convert to generalized VIA interrupt registration

Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Feb 26 22:29:08 1997 UTC (28 years, 1 month ago) by gwr
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 24 05:47:35 1997 UTC (28 years, 1 month ago) by scottr
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +10 -10 lines
Update copyright and license.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Jan 20 04:27:49 1997 UTC (28 years, 2 months ago) by scottr
Branches: MAIN
CVS tags: mrg-vm-swap, is-newarp-base
Branch point for: is-newarp
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -1 lines
#ifdef out write hack, and fix possible uninitialized variable.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Jan 7 07:40:46 1997 UTC (28 years, 2 months ago) by scottr
Branches: MAIN
CVS tags: thorpej-setroot
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +1 -1 lines
Fix typo in last:  cf->cf_unit -> sc->dv.dv_unit

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Jan 5 10:01:42 1997 UTC (28 years, 2 months ago) by scottr
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +36 -5 lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 16 16:17:12 1996 UTC (28 years, 3 months ago) by scottr
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Nov 13 07:02:17 1996 UTC (28 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -2 lines
Use bitmask_snprintf().

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Oct 13 03:21:28 1996 UTC (28 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +26 -26 lines
backout previous kprintf change

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Oct 11 00:24:59 1996 UTC (28 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +26 -26 lines
printf -> kprintf, sprintf -> ksprintf

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Aug 28 19:00:12 1996 UTC (28 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -13 lines
(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 - view: text, markup, annotated - select for diffs
Tue Aug 27 21:56:08 1996 UTC (28 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 20 00:40:19 1996 UTC (28 years, 9 months ago) by jtc
Branches: netbsd-1-2
CVS tags: netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA
Diff to: previous 1.6.4.1: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.4.1: +11 -12 lines
Pulled up from revision 1.9 by request of Scott Reynolds.
Updates copyright/licence and comments.  No code changes.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Jun 19 01:47:28 1996 UTC (28 years, 9 months ago) by scottr
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +11 -12 lines
Update some comments, and the copyright

Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Tue Jun 11 13:45:33 1996 UTC (28 years, 9 months ago) by scottr
Branches: netbsd-1-2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +123 -75 lines
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 - view: text, markup, annotated - select for diffs
Tue Jun 11 03:20:23 1996 UTC (28 years, 9 months ago) by scottr
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +103 -94 lines
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 - view: text, markup, annotated - select for diffs
Wed May 29 14:26:33 1996 UTC (28 years, 10 months ago) by scottr
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +44 -5 lines
- 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 - view: text, markup, annotated - select for diffs
Wed May 8 03:44:56 1996 UTC (28 years, 10 months ago) by scottr
Branches: MAIN
CVS tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +36 -58 lines
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 - view: text, markup, annotated - select for diffs
Sun May 5 06:17:13 1996 UTC (28 years, 10 months ago) by briggs
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -3 lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 30 18:11:38 1996 UTC (28 years, 10 months ago) by scottr
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -14 lines
Kill unused variables and fix prototypes.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Apr 30 17:07:17 1996 UTC (28 years, 10 months ago) by scottr
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +92 -58 lines
- 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 - view: text, markup, annotated - select for diffs
Thu Apr 25 23:47:06 1996 UTC (28 years, 11 months ago) by scottr
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Ooops.  ncr_sbcreg.h -> sbcreg.h

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Apr 25 22:26:52 1996 UTC (28 years, 11 months ago) by scottr
Branches: MAIN
Renamed these files.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>