The NetBSD Project

CVS log for src/sys/dev/ic/ncr53c9x.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.156 / (download) - annotate - [select for diffs], Sun Dec 5 08:16:10 2021 UTC (2 years, 3 months ago) by msaitoh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.155: +3 -3 lines
Diff to previous 1.155 (colored) to selected 1.15.2.2 (colored)

s/timout/timeout/

Revision 1.155 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:12 2021 UTC (2 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.154: +3 -3 lines
Diff to previous 1.154 (colored) to selected 1.15.2.2 (colored)

Merge thorpej-cfargs2.

Revision 1.154.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 20:14:42 2021 UTC (2 years, 7 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.154: +3 -3 lines
Diff to previous 1.154 (colored) next main 1.155 (colored) to selected 1.15.2.2 (colored)

Adapt to CFARGS().

Revision 1.154 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:55 2021 UTC (2 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Changes since 1.153: +4 -3 lines
Diff to previous 1.153 (colored) to selected 1.15.2.2 (colored)

Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

Revision 1.153.4.1 / (download) - annotate - [select for diffs], Sun Mar 21 21:09:12 2021 UTC (3 years ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.153: +4 -3 lines
Diff to previous 1.153 (colored) next main 1.154 (colored) to selected 1.15.2.2 (colored)

Give config_found() the same variadic arguments treatment as
config_search().  This commit only adds the CFARG_EOL sentinel
to the existing config_found() calls.  Conversion of config_found_sm_loc()
and config_found_ia() call sites will be in subsequent commits.

Revision 1.148.6.3 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:16 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.148.6.2: +1 -3 lines
Diff to previous 1.148.6.2 (colored) to branchpoint 1.148 (colored) next main 1.149 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD

Revision 1.152.6.1 / (download) - annotate - [select for diffs], Mon Apr 20 11:29:03 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.152: +3 -5 lines
Diff to previous 1.152 (colored) next main 1.153 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD

Revision 1.148.6.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:21 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.148.6.1: +5 -11 lines
Diff to previous 1.148.6.1 (colored) to branchpoint 1.148 (colored) to selected 1.15.2.2 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.153 / (download) - annotate - [select for diffs], Mon Apr 13 00:27:17 2020 UTC (3 years, 11 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, phil-wifi-20200421, bouyer-xenpvh-base2, bouyer-xenpvh-base1
Branch point for: thorpej-cfargs
Changes since 1.152: +3 -5 lines
Diff to previous 1.152 (colored) to selected 1.15.2.2 (colored)

slightly change and fix the semantics of pool_set*wat(), pool_sethardlimit()
and pool_prime() (and their pool_cache_* counterparts):

 - the pool_set*wat() APIs are supposed to specify thresholds for the count of
   free items in the pool before pool pages are automatically allocated or freed
   during pool_get() / pool_put(), whereas pool_sethardlimit() and pool_prime()
   are supposed to specify minimum and maximum numbers of total items
   in the pool (both free and allocated).  these were somewhat conflated
   in the existing code, so separate them as they were intended.

 - change pool_prime() to take an absolute number of items to preallocate
   rather than an increment over whatever was done before, and wait for
   any memory allocations to succeed.  since pool_prime() can no longer fail
   after this, change its return value to void and adjust all callers.

 - pool_setlowat() is documented as not immediately attempting to allocate
   any memory, but it was changed some time ago to immediately try to allocate
   up to the lowat level, so just fix the manpage to describe the current
   behaviour.

 - add a pool_cache_prime() to complete the API set.

Revision 1.152 / (download) - annotate - [select for diffs], Sun Nov 10 21:16:35 2019 UTC (4 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Changes since 1.151: +5 -11 lines
Diff to previous 1.151 (colored) to selected 1.15.2.2 (colored)

in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.

Revision 1.148.6.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:11 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.148: +11 -10 lines
Diff to previous 1.148 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD

Revision 1.151 / (download) - annotate - [select for diffs], Sun Feb 10 17:13:33 2019 UTC (5 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Changes since 1.150: +5 -7 lines
Diff to previous 1.150 (colored) to selected 1.15.2.2 (colored)

Introduce PR_ZERO to avoid open-coding memset()s everywhere. OK riastradh@.

Revision 1.150 / (download) - annotate - [select for diffs], Sun Feb 3 03:19:27 2019 UTC (5 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.149: +5 -2 lines
Diff to previous 1.149 (colored) to selected 1.15.2.2 (colored)

- add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
  this case, and thus can't be marked __dead easily

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

Sync with HEAD

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

Revision 1.149 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:31 2018 UTC (5 years, 6 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.148: +5 -5 lines
Diff to previous 1.148 (colored) to selected 1.15.2.2 (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.145.2.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:03 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.145: +12 -9 lines
Diff to previous 1.145 (colored) next main 1.146 (colored) to selected 1.15.2.2 (colored)

update from HEAD

Revision 1.145.16.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:03 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.145.16.1: +7 -4 lines
Diff to previous 1.145.16.1 (colored) to branchpoint 1.145 (colored) next main 1.146 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD

Revision 1.148 / (download) - annotate - [select for diffs], Sat Jul 1 15:54:08 2017 UTC (6 years, 8 months ago) by macallan
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, 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, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.147: +7 -4 lines
Diff to previous 1.147 (colored) to selected 1.15.2.2 (colored)

do what other SCSI drivers do - ack MSG_IGN_WIDE_RESIDUE messages and move on
instead of erroring out and resetting the drive
while there, when rejecting a message print which one it is
now my U2 boots without resetting its disk 3 times

Revision 1.145.20.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:28 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.145.20.1: +3 -3 lines
Diff to previous 1.145.20.1 (colored) to branchpoint 1.145 (colored) next main 1.146 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD

Revision 1.145.16.1 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:28 2017 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.145: +7 -7 lines
Diff to previous 1.145 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD

Revision 1.147 / (download) - annotate - [select for diffs], Wed Jan 11 07:16:48 2017 UTC (7 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, nick-nhusb-base-20170204, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.146: +3 -3 lines
Diff to previous 1.146 (colored) to selected 1.15.2.2 (colored)

adatper -> adapter

Revision 1.145.20.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:32 2017 UTC (7 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.145: +6 -6 lines
Diff to previous 1.145 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.146 / (download) - annotate - [select for diffs], Sat Dec 24 06:04:50 2016 UTC (7 years, 3 months ago) by macallan
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107
Changes since 1.145: +6 -6 lines
Diff to previous 1.145 (colored) to selected 1.15.2.2 (colored)

avoid accessing condition variables which belong to a scsibus before actually
attaching the scsibus
now my SS20 boots again

Revision 1.143.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:21:06 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.143.2.1: +6 -2 lines
Diff to previous 1.143.2.1 (colored) to branchpoint 1.143 (colored) next main 1.144 (colored) to selected 1.15.2.2 (colored)

sync with head

Revision 1.143.8.2 / (download) - annotate - [select for diffs], Wed Jul 25 20:55:36 2012 UTC (11 years, 8 months ago) by jdc
Branch: netbsd-6
CVS Tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.143.8.1: +6 -2 lines
Diff to previous 1.143.8.1 (colored) to branchpoint 1.143 (colored) next main 1.144 (colored) to selected 1.15.2.2 (colored)

Pull up revision 1.145 (requested by ryoon in ticket #439).

When issuing a non-dma command, make sure to set the "remaining length of
command to be transfered via dma" (sc_cmdlen) to zero upfront, otherwise we
might get confused on command completition interrupt (no dma active but still
data left to transfer).

Revision 1.145 / (download) - annotate - [select for diffs], Mon Jun 18 21:23:56 2012 UTC (11 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, 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, 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, localcount-20160914, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, pgoyette-localcount, nick-nhusb
Changes since 1.144: +6 -2 lines
Diff to previous 1.144 (colored) to selected 1.15.2.2 (colored)

When issuing a non-dma command, make sure to set the "remaining length of
command to be transfered via dma" (sc_cmdlen) to zero upfront, otherwise we
might get confused on command completition interrupt (no dma active but still
data left to transfer).

Revision 1.143.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:35 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.143: +8 -2 lines
Diff to previous 1.143 (colored) to selected 1.15.2.2 (colored)

sync with head

Revision 1.143.8.1 / (download) - annotate - [select for diffs], Mon Mar 19 23:13:59 2012 UTC (12 years ago) by riz
Branch: netbsd-6
Changes since 1.143: +8 -2 lines
Diff to previous 1.143 (colored) to selected 1.15.2.2 (colored)

Pull up following revision(s) (requested by mrg in ticket #125):
	sys/dev/scsipi/scsiconf.c: revision 1.263
	sys/dev/scsipi/scsiconf.c: revision 1.264
	sys/dev/ic/ncr53c9x.c: revision 1.144
	sys/dev/ic/ninjascsi32.c: revision 1.22
	sys/dev/usb/uhub.c: revision 1.117
take the kernel lock in functions called from attach*().
scsidevdetached ioctl path enters scsipi code without kernel lock
and this upsets the newer kasserts.  take kernel lock here.
take the kernel lock a few more places when doing detach, to avoid
triggering KERNEL_LOCK_P() asserts in both scsi and usb code.
with this and other recent fixes i can now "drvctl -d ehci0".

Revision 1.143.6.1 / (download) - annotate - [select for diffs], Sun Mar 11 01:52:27 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.143: +8 -2 lines
Diff to previous 1.143 (colored) next main 1.144 (colored) to selected 1.15.2.2 (colored)

sync to latest -current

Revision 1.144 / (download) - annotate - [select for diffs], Sat Mar 10 20:54:20 2012 UTC (12 years ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base10
Changes since 1.143: +8 -2 lines
Diff to previous 1.143 (colored) to selected 1.15.2.2 (colored)

take the kernel lock in functions called from attach*().

Revision 1.143 / (download) - annotate - [select for diffs], Sun Jul 31 18:39:00 2011 UTC (12 years, 8 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, netbsd-6, jmcneill-usbmp
Changes since 1.142: +24 -32 lines
Diff to previous 1.142 (colored) to selected 1.15.2.2 (colored)

simple_lock to mutex conversion.

Revision 1.142 / (download) - annotate - [select for diffs], Mon Jul 4 16:06:17 2011 UTC (12 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.141: +3 -3 lines
Diff to previous 1.141 (colored) to selected 1.15.2.2 (colored)

Fix memset usage.

Revision 1.137.14.1.2.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:27:37 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.137.14.1: +2 -2 lines
Diff to previous 1.137.14.1 (colored) next main 1.138 (colored) to selected 1.15.2.2 (colored)

sync to netbsd-5

Revision 1.135.4.3 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:48 2009 UTC (14 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.135.4.2: +25 -22 lines
Diff to previous 1.135.4.2 (colored) to branchpoint 1.135 (colored) next main 1.136 (colored) to selected 1.15.2.2 (colored)

sync with head

Revision 1.141 / (download) - annotate - [select for diffs], Mon Sep 7 13:31:44 2009 UTC (14 years, 6 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-premerge-20091211, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.140: +6 -6 lines
Diff to previous 1.140 (colored) to selected 1.15.2.2 (colored)

Whitespace nits.

Revision 1.140 / (download) - annotate - [select for diffs], Wed Sep 2 10:34:04 2009 UTC (14 years, 6 months ago) by tsutsui
Branch: MAIN
Changes since 1.139: +2 -3 lines
Diff to previous 1.139 (colored) to selected 1.15.2.2 (colored)

Some backends may use ncr53c9x_abort(), so remove static declaration from
the function and explicitly declare it in ncr53c9xvar.h.  Noticed by he@.

Revision 1.139 / (download) - annotate - [select for diffs], Sat Aug 29 06:05:39 2009 UTC (14 years, 7 months ago) by tsutsui
Branch: MAIN
Changes since 1.138: +22 -18 lines
Diff to previous 1.138 (colored) to selected 1.15.2.2 (colored)

Uncomment /*static*/ function declarations,
and #ifdef'ed out an unused function.

Revision 1.137.12.1 / (download) - annotate - [select for diffs], Wed May 13 17:19:23 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.137: +4 -3 lines
Diff to previous 1.137 (colored) next main 1.138 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.135.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:43 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.135.4.1: +4 -3 lines
Diff to previous 1.135.4.1 (colored) to branchpoint 1.135 (colored) to selected 1.15.2.2 (colored)

sync with head.

Revision 1.137.14.1 / (download) - annotate - [select for diffs], Sun May 3 13:36:26 2009 UTC (14 years, 10 months ago) by bouyer
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.137: +4 -3 lines
Diff to previous 1.137 (colored) next main 1.138 (colored) to selected 1.15.2.2 (colored)

Pull up following revision(s) (requested by martin in ticket #734):
	sys/dev/ic/ncr53c9x.c: revision 1.138
Add missing braces - patch from Kurt Lidl in PR port-vax/41314.

Revision 1.137.8.1 / (download) - annotate - [select for diffs], Sun May 3 13:34:25 2009 UTC (14 years, 10 months ago) by bouyer
Branch: netbsd-5
CVS Tags: 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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.137: +4 -3 lines
Diff to previous 1.137 (colored) next main 1.138 (colored) to selected 1.15.2.2 (colored)

Pull up following revision(s) (requested by martin in ticket #734):
	sys/dev/ic/ncr53c9x.c: revision 1.138
Add missing braces - patch from Kurt Lidl in PR port-vax/41314.

Revision 1.138 / (download) - annotate - [select for diffs], Fri May 1 03:18:20 2009 UTC (14 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, jymxensuspend-base, jym-xensuspend-base
Changes since 1.137: +4 -3 lines
Diff to previous 1.137 (colored) to selected 1.15.2.2 (colored)

Add missing braces - patch from Kurt Lidl in PR port-vax/41314.

Revision 1.136.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:05 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.136: +3 -4 lines
Diff to previous 1.136 (colored) next main 1.137 (colored) to selected 1.15.2.2 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.131.18.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:25 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.131: +143 -136 lines
Diff to previous 1.131 (colored) next main 1.132 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD.

Revision 1.135.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:44 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.135: +3 -11 lines
Diff to previous 1.135 (colored) next main 1.136 (colored) to selected 1.15.2.2 (colored)

sync with head.

Revision 1.135.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:24:05 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.135: +3 -11 lines
Diff to previous 1.135 (colored) to selected 1.15.2.2 (colored)

sync with head.

Revision 1.137 / (download) - annotate - [select for diffs], Tue May 13 22:16:27 2008 UTC (15 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, 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-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, mjf-devfs2-base, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: netbsd-5-0, netbsd-5, jym-xensuspend
Changes since 1.136: +3 -4 lines
Diff to previous 1.136 (colored) to selected 1.15.2.2 (colored)

don't play with timevals directly, use the macros. From OpenBSD

Revision 1.136 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:50 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
Branch point for: wrstuden-revivesa
Changes since 1.135: +2 -9 lines
Diff to previous 1.135 (colored) to selected 1.15.2.2 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.135 / (download) - annotate - [select for diffs], Sun Apr 13 12:59:10 2008 UTC (15 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.134: +3 -3 lines
Diff to previous 1.134 (colored) to selected 1.15.2.2 (colored)

Fix another typo.

Revision 1.134 / (download) - annotate - [select for diffs], Sun Apr 13 12:22:13 2008 UTC (15 years, 11 months ago) by mlelstv
Branch: MAIN
Changes since 1.133: +4 -4 lines
Diff to previous 1.133 (colored) to selected 1.15.2.2 (colored)

fix format strings for DIAGNOSTIC output

Revision 1.133 / (download) - annotate - [select for diffs], Sun Apr 13 04:55:53 2008 UTC (15 years, 11 months ago) by tsutsui
Branch: MAIN
Changes since 1.132: +148 -126 lines
Diff to previous 1.132 (colored) to selected 1.15.2.2 (colored)

Split device_t/softc for MI ncr53c9x and some related devices,
with various cleanup.

Revision 1.132 / (download) - annotate - [select for diffs], Tue Apr 8 12:07:26 2008 UTC (15 years, 11 months ago) by cegger
Branch: MAIN
Changes since 1.131: +59 -66 lines
Diff to previous 1.131 (colored) to selected 1.15.2.2 (colored)

use aprint_*_dev and device_xname

Revision 1.129.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:26:57 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.129: +4 -3 lines
Diff to previous 1.129 (colored) next main 1.130 (colored) to selected 1.15.2.2 (colored)

sync with HEAD

Revision 1.115.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:30:54 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.115.2.4: +4 -3 lines
Diff to previous 1.115.2.4 (colored) to branchpoint 1.115 (colored) next main 1.116 (colored) to selected 1.15.2.2 (colored)

sync with head.

Revision 1.126.2.3 / (download) - annotate - [select for diffs], Tue Oct 9 13:41:28 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.126.2.2: +88 -118 lines
Diff to previous 1.126.2.2 (colored) next main 1.127 (colored) to selected 1.15.2.2 (colored)

Sync with head.

Revision 1.129.4.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:31:14 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.129: +4 -3 lines
Diff to previous 1.129 (colored) next main 1.130 (colored) to selected 1.15.2.2 (colored)

sync with head.

Revision 1.128.6.2 / (download) - annotate - [select for diffs], Tue Oct 2 18:28:25 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.128.6.1: +4 -3 lines
Diff to previous 1.128.6.1 (colored) to branchpoint 1.128 (colored) next main 1.129 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD.

Revision 1.131 / (download) - annotate - [select for diffs], Mon Oct 1 12:54:39 2007 UTC (16 years, 6 months ago) by martin
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, 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.130: +2 -4 lines
Diff to previous 1.130 (colored) to selected 1.15.2.2 (colored)

Back out accidently commited part of previous

Revision 1.130 / (download) - annotate - [select for diffs], Mon Oct 1 09:43:00 2007 UTC (16 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.129: +6 -3 lines
Diff to previous 1.129 (colored) to selected 1.15.2.2 (colored)

Do not stop callouts for polled commands.

Revision 1.128.6.1 / (download) - annotate - [select for diffs], Mon Sep 3 16:48:05 2007 UTC (16 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.128: +86 -117 lines
Diff to previous 1.128 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD.

Revision 1.115.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:35:00 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.115.2.3: +92 -123 lines
Diff to previous 1.115.2.3 (colored) to branchpoint 1.115 (colored) to selected 1.15.2.2 (colored)

sync with head.

Revision 1.128.2.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:20:24 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.128: +86 -117 lines
Diff to previous 1.128 (colored) next main 1.129 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD.

Revision 1.129 / (download) - annotate - [select for diffs], Mon Aug 20 12:32:30 2007 UTC (16 years, 7 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5
Branch point for: yamt-x86pmap, matt-armv6
Changes since 1.128: +86 -117 lines
Diff to previous 1.128 (colored) to selected 1.15.2.2 (colored)

KNF, ANSIfy, TAB/space cosmetics.

Revision 1.127.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:06:02 2007 UTC (16 years, 8 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.127: +3 -3 lines
Diff to previous 1.127 (colored) next main 1.128 (colored) to selected 1.15.2.2 (colored)

Sync with head.

Revision 1.128 / (download) - annotate - [select for diffs], Mon Jul 9 21:00:37 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, jmcneill-pm
Changes since 1.127: +3 -3 lines
Diff to previous 1.127 (colored) to selected 1.15.2.2 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.126.2.2 / (download) - annotate - [select for diffs], Sun Jul 1 21:47:52 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.126.2.1: +3 -3 lines
Diff to previous 1.126.2.1 (colored) to selected 1.15.2.2 (colored)

Adapt to callout API change.

Revision 1.125.2.2 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:28 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.125.2.1: +3 -3 lines
Diff to previous 1.125.2.1 (colored) to branchpoint 1.125 (colored) next main 1.126 (colored) to selected 1.15.2.2 (colored)

sync with head.

Revision 1.126.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:50:23 2007 UTC (17 years ago) by ad
Branch: vmlocking
Changes since 1.126: +3 -3 lines
Diff to previous 1.126 (colored) to selected 1.15.2.2 (colored)

Sync with head.

Revision 1.127 / (download) - annotate - [select for diffs], Mon Mar 12 18:18:30 2007 UTC (17 years ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: mjf-ufs-trans
Changes since 1.126: +3 -3 lines
Diff to previous 1.126 (colored) to selected 1.15.2.2 (colored)

Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.

Revision 1.125.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:53:39 2007 UTC (17 years ago) by rmind
Branch: yamt-idlelwp
Changes since 1.125: +6 -6 lines
Diff to previous 1.125 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD.

Revision 1.126 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:59 2007 UTC (17 years ago) by christos
Branch: MAIN
Branch point for: vmlocking
Changes since 1.125: +6 -6 lines
Diff to previous 1.125 (colored) to selected 1.15.2.2 (colored)

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

Revision 1.115.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:10 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.115.2.2: +72 -40 lines
Diff to previous 1.115.2.2 (colored) to branchpoint 1.115 (colored) to selected 1.15.2.2 (colored)

sync with head.

Revision 1.120.6.2 / (download) - annotate - [select for diffs], Fri Jan 12 00:57:36 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.120.6.1: +74 -40 lines
Diff to previous 1.120.6.1 (colored) to branchpoint 1.120 (colored) next main 1.121 (colored) to selected 1.15.2.2 (colored)

Sync with head.

Revision 1.125 / (download) - annotate - [select for diffs], Tue Jan 9 12:53:12 2007 UTC (17 years, 2 months ago) by itohy
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.124: +72 -40 lines
Diff to previous 1.124 (colored) to selected 1.15.2.2 (colored)

Cancel commands and free allocated resources on detach.

Revision 1.115.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:03 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.115.2.1: +11 -15 lines
Diff to previous 1.115.2.1 (colored) to branchpoint 1.115 (colored) to selected 1.15.2.2 (colored)

sync with head.

Revision 1.124 / (download) - annotate - [select for diffs], Thu Dec 28 03:13:54 2006 UTC (17 years, 3 months ago) by itohy
Branch: MAIN
Changes since 1.123: +4 -2 lines
Diff to previous 1.123 (colored) to selected 1.15.2.2 (colored)

Stop callout on detach.

Revision 1.120.8.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:06 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.120.8.1: +6 -6 lines
Diff to previous 1.120.8.1 (colored) to branchpoint 1.120 (colored) next main 1.121 (colored) to selected 1.15.2.2 (colored)

sync with head.

Revision 1.120.6.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:13 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.120: +9 -15 lines
Diff to previous 1.120 (colored) to selected 1.15.2.2 (colored)

Sync with head.

Revision 1.123 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:52 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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
Changes since 1.122: +6 -6 lines
Diff to previous 1.122 (colored) to selected 1.15.2.2 (colored)

__unused removal on arguments; approved by core.

Revision 1.120.8.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:45 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.120: +9 -15 lines
Diff to previous 1.120 (colored) to selected 1.15.2.2 (colored)

sync with head

Revision 1.122 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:01 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.121: +7 -14 lines
Diff to previous 1.121 (colored) to selected 1.15.2.2 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.121 / (download) - annotate - [select for diffs], Wed Oct 4 15:59:08 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.120: +4 -3 lines
Diff to previous 1.120 (colored) to selected 1.15.2.2 (colored)

fix empty if

Revision 1.118.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:50:02 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.118: +5 -5 lines
Diff to previous 1.118 (colored) next main 1.119 (colored) to selected 1.15.2.2 (colored)

sync with head

Revision 1.118.8.2 / (download) - annotate - [select for diffs], Mon Jun 26 12:51:01 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.118.8.1: +4 -4 lines
Diff to previous 1.118.8.1 (colored) to branchpoint 1.118 (colored) next main 1.119 (colored) to selected 1.15.2.2 (colored)

sync with head.

Revision 1.115.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:02:55 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.115: +9 -9 lines
Diff to previous 1.115 (colored) to selected 1.15.2.2 (colored)

sync with head.

Revision 1.119.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 03:58:13 2006 UTC (17 years, 9 months ago) by chap
Branch: chap-midi
Changes since 1.119: +4 -4 lines
Diff to previous 1.119 (colored) next main 1.120 (colored) to selected 1.15.2.2 (colored)

Sync with head.

Revision 1.120 / (download) - annotate - [select for diffs], Wed Jun 7 22:33:36 2006 UTC (17 years, 9 months ago) by kardel
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.119: +4 -4 lines
Diff to previous 1.119 (colored) to selected 1.15.2.2 (colored)

merge FreeBSD timecounters from branch simonb-timecounters
- struct timeval time is gone
  time.tv_sec -> time_second
- struct timeval mono_time is gone
  mono_time.tv_sec -> time_uptime
- access to time via
	{get,}{micro,nano,bin}time()
	get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
  Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
  NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html

Revision 1.118.6.2 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:56 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.118.6.1: +3 -3 lines
Diff to previous 1.118.6.1 (colored) to branchpoint 1.118 (colored) next main 1.119 (colored) to selected 1.15.2.2 (colored)

Sync with head.

Revision 1.118.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:24:39 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.118: +3 -3 lines
Diff to previous 1.118 (colored) next main 1.119 (colored) to selected 1.15.2.2 (colored)

sync with head.

Revision 1.118.8.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:58 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.118: +3 -3 lines
Diff to previous 1.118 (colored) to selected 1.15.2.2 (colored)

sync with head.

Revision 1.118.12.1 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:20 2006 UTC (18 years ago) by tron
Branch: peter-altq
Changes since 1.118: +3 -3 lines
Diff to previous 1.118 (colored) next main 1.119 (colored) to selected 1.15.2.2 (colored)

Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.119 / (download) - annotate - [select for diffs], Wed Mar 29 04:16:49 2006 UTC (18 years ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, simonb-timecounters-base, elad-kernelauth-base
Branch point for: chap-midi
Changes since 1.118: +3 -3 lines
Diff to previous 1.118 (colored) to selected 1.15.2.2 (colored)

Use device_cfdata().

Revision 1.118.6.1 / (download) - annotate - [select for diffs], Sat Feb 4 14:03:58 2006 UTC (18 years, 1 month ago) by simonb
Branch: simonb-timecounters
Changes since 1.118: +4 -4 lines
Diff to previous 1.118 (colored) to selected 1.15.2.2 (colored)

Adapt for timecounters: mostly use get*time() and use "time_second"
instead of "time.tv_sec".

Revision 1.118 / (download) - annotate - [select for diffs], Sat Dec 24 23:41:33 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, 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.117: +3 -3 lines
Diff to previous 1.117 (colored) to selected 1.15.2.2 (colored)

__inline__ -> inline

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

merge ktrace-lwp.

Revision 1.106.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 14:04:15 2005 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.106.2.4: +11 -11 lines
Diff to previous 1.106.2.4 (colored) next main 1.107 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD. Here we go again...

Revision 1.116 / (download) - annotate - [select for diffs], Sun Nov 6 10:31:46 2005 UTC (18 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, ktrace-lwp-base
Changes since 1.115: +5 -5 lines
Diff to previous 1.115 (colored) to selected 1.15.2.2 (colored)

NCRDMA_SETUP() should be called before NCR_SET_COUNT() and NCRCMD_DMA command
in ncr53c9x_select(). Tested with esp on SS1+ and sun3/80, and pcscp at pci.

Revision 1.115 / (download) - annotate - [select for diffs], Mon May 30 04:43:47 2005 UTC (18 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-lazymbuf
Changes since 1.114: +8 -8 lines
Diff to previous 1.114 (colored) to selected 1.15.2.2 (colored)

- add missing const
- fix variable shadowing
- remove unneeded casts

Revision 1.112.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:51 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.112: +20 -19 lines
Diff to previous 1.112 (colored) next main 1.113 (colored) to selected 1.15.2.2 (colored)

sync with -current

Revision 1.112.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:34:03 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.112: +20 -19 lines
Diff to previous 1.112 (colored) next main 1.113 (colored) to selected 1.15.2.2 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.106.2.4 / (download) - annotate - [select for diffs], Fri Mar 4 16:41:31 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.106.2.3: +20 -19 lines
Diff to previous 1.106.2.3 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.114 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:02 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Changes since 1.113: +14 -14 lines
Diff to previous 1.113 (colored) to selected 1.15.2.2 (colored)

nuke trailing whitespace

Revision 1.113 / (download) - annotate - [select for diffs], Mon Feb 21 00:29:07 2005 UTC (19 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.112: +8 -7 lines
Diff to previous 1.112 (colored) to selected 1.15.2.2 (colored)

Part 1 of a cleanup pass over the SCSI subsystem.  The aim is to name
everything "scsi_*", since we really are talking about the SCSI command
set, ATAPI transport not withstanding.  Improve the names of many structures,
and prepend "SCSI_" onto all SCSI command opcodes.  Place items described
by the SCSI Primary Commands document into scsi_spc.h.

Revision 1.106.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:28:05 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.106.2.2: +2 -2 lines
Diff to previous 1.106.2.2 (colored) to selected 1.15.2.2 (colored)

Fix the sync with head I botched.

Revision 1.106.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:45:59 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.106.2.1: +8 -3 lines
Diff to previous 1.106.2.1 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD.

Revision 1.110.2.2 / (download) - annotate - [select for diffs], Sat Sep 11 13:03:49 2004 UTC (19 years, 6 months ago) by he
Branch: netbsd-2-0
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-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
Changes since 1.110.2.1: +8 -3 lines
Diff to previous 1.110.2.1 (colored) to branchpoint 1.110 (colored) next main 1.111 (colored) to selected 1.15.2.2 (colored)

Pull up revision 1.112 (requested by bouyer in ticket #838):
  Reserve one element for the ncr53c9x_ecb pool to ensure that
  we will not deadlock against other pool users.

Revision 1.112 / (download) - annotate - [select for diffs], Fri Sep 10 23:44:29 2004 UTC (19 years, 6 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.111: +8 -3 lines
Diff to previous 1.111 (colored) to selected 1.15.2.2 (colored)

pool_prime() the ncr53c9x_ecb pool with one element (this will cause one page
to be allocated anyway). scsipi can deal with resources shortage, but if this
pool goes down to 0 pages we can deadlock with the scsipi_xfer, vnode or
inode pools.
Also update a comment, despite resources accounting we can return
ATAPTER_RESOURCES_SHORTAGE here.

Revision 1.106.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:46:17 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.106: +21 -15 lines
Diff to previous 1.106 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD

Revision 1.110.2.1 / (download) - annotate - [select for diffs], Thu May 6 05:35:15 2004 UTC (19 years, 10 months ago) by jmc
Branch: netbsd-2-0
Changes since 1.110: +8 -2 lines
Diff to previous 1.110 (colored) to selected 1.15.2.2 (colored)

Pullup rev 1.111 (requested by pk in ticket #255)

On reset, clear state flags and the msgout queue and notify the upper layer.

Revision 1.111 / (download) - annotate - [select for diffs], Mon May 3 12:25:34 2004 UTC (19 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.110: +8 -2 lines
Diff to previous 1.110 (colored) to selected 1.15.2.2 (colored)

On reset, clear state flags and the msgout queue and notify the upper layer.

Revision 1.110 / (download) - annotate - [select for diffs], Sun Nov 2 11:07:45 2003 UTC (20 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.109: +4 -4 lines
Diff to previous 1.109 (colored) to selected 1.15.2.2 (colored)

Fix some typos. From Tom Cosgrove via jmc@openbsd.

Revision 1.109 / (download) - annotate - [select for diffs], Sat Nov 1 17:00:49 2003 UTC (20 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.108: +4 -4 lines
Diff to previous 1.108 (colored) to selected 1.15.2.2 (colored)

avoid strong words; use 'screw' instead

Revision 1.108 / (download) - annotate - [select for diffs], Sun Oct 19 01:44:48 2003 UTC (20 years, 5 months ago) by simonb
Branch: MAIN
Changes since 1.107: +2 -7 lines
Diff to previous 1.107 (colored) to selected 1.15.2.2 (colored)

Remove unreachable break after return and goto statements.

Revision 1.107 / (download) - annotate - [select for diffs], Fri Jul 25 06:40:29 2003 UTC (20 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.106: +11 -6 lines
Diff to previous 1.106 (colored) to selected 1.15.2.2 (colored)

Print more diagnostic info on the occassions `unexpected disconnect' and
`invalid state'.

Revision 1.106 / (download) - annotate - [select for diffs], Wed Apr 16 18:53:50 2003 UTC (20 years, 11 months ago) by petrov
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.105: +4 -2 lines
Diff to previous 1.105 (colored) to selected 1.15.2.2 (colored)

Comment out debug printf.

Revision 1.105 / (download) - annotate - [select for diffs], Tue Feb 4 20:05:12 2003 UTC (21 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.104: +45 -30 lines
Diff to previous 1.104 (colored) to selected 1.15.2.2 (colored)

Make this driver MP-safe by using a single spin lock to guard all its entrances.

Revision 1.93.4.2 / (download) - annotate - [select for diffs], Mon Feb 3 05:14:00 2003 UTC (21 years, 1 month ago) by jmc
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.93.4.1: +35 -54 lines
Diff to previous 1.93.4.1 (colored) to branchpoint 1.93 (colored) next main 1.94 (colored) to selected 1.15.2.2 (colored)

Pullup revisions 1.103->1.104 (requested by pk in ticket #1138)
 The introduction of FAS366 support annihilated the
 `reselect-while-selecting\' workaround for the ESP100 variant.

Revision 1.104 / (download) - annotate - [select for diffs], Thu Jan 30 11:03:45 2003 UTC (21 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.103: +35 -54 lines
Diff to previous 1.103 (colored) to selected 1.15.2.2 (colored)

The introduction of FAS366 support annihilated the `reselect-while-selecting'
workaround for the ESP100 variant.

Revision 1.93.4.1 / (download) - annotate - [select for diffs], Fri Nov 22 17:50:07 2002 UTC (21 years, 4 months ago) by tron
Branch: netbsd-1-6
Changes since 1.93: +76 -59 lines
Diff to previous 1.93 (colored) to selected 1.15.2.2 (colored)

Pull up revision 1.94-1.103 (requested by martin in ticket #948):
Additional fixes to make 16 targets work on FAS366.

Revision 1.70.2.11 / (download) - annotate - [select for diffs], Fri Oct 18 02:41:57 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.70.2.10: +35 -31 lines
Diff to previous 1.70.2.10 (colored) next main 1.71 (colored) to selected 1.15.2.2 (colored)

Catch up to -current.

Revision 1.83.2.8 / (download) - annotate - [select for diffs], Thu Oct 10 18:39:09 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.83.2.7: +35 -30 lines
Diff to previous 1.83.2.7 (colored) next main 1.84 (colored) to selected 1.15.2.2 (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.103 / (download) - annotate - [select for diffs], Sun Oct 6 21:35:33 2002 UTC (21 years, 5 months ago) by petrov
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.102: +4 -5 lines
Diff to previous 1.102 (colored) to selected 1.15.2.2 (colored)

Reset the driver on scsibus reset.

Revision 1.102 / (download) - annotate - [select for diffs], Fri Sep 27 15:37:18 2002 UTC (21 years, 6 months ago) by provos
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.101: +4 -4 lines
Diff to previous 1.101 (colored) to selected 1.15.2.2 (colored)

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

Revision 1.101 / (download) - annotate - [select for diffs], Wed Sep 25 06:23:29 2002 UTC (21 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.100: +3 -3 lines
Diff to previous 1.100 (colored) to selected 1.15.2.2 (colored)

Update copyright.

Revision 1.100 / (download) - annotate - [select for diffs], Wed Sep 25 05:19:20 2002 UTC (21 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.99: +31 -28 lines
Diff to previous 1.99 (colored) to selected 1.15.2.2 (colored)

Additional fixes to make 16 targets work on FAS366.

Revision 1.99 / (download) - annotate - [select for diffs], Tue Sep 24 13:29:44 2002 UTC (21 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.98: +6 -2 lines
Diff to previous 1.98 (colored) to selected 1.15.2.2 (colored)

Oof, this driver needs a lot more work to support 16 targets.

Revision 1.98 / (download) - annotate - [select for diffs], Sun Sep 22 19:05:11 2002 UTC (21 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.97: +3 -3 lines
Diff to previous 1.97 (colored) to selected 1.15.2.2 (colored)

Tell the scsibus layer we have 16 targets on the FAS366.

Revision 1.97 / (download) - annotate - [select for diffs], Mon Sep 16 21:49:15 2002 UTC (21 years, 6 months ago) by petrov
Branch: MAIN
Changes since 1.96: +3 -5 lines
Diff to previous 1.96 (colored) to selected 1.15.2.2 (colored)

Use driver reset in case 'internal state mismatch'.

Revision 1.83.2.7 / (download) - annotate - [select for diffs], Fri Sep 6 08:44:29 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.83.2.6: +43 -30 lines
Diff to previous 1.83.2.6 (colored) to selected 1.15.2.2 (colored)

sync kqueue branch with HEAD

Revision 1.93.2.2 / (download) - annotate - [select for diffs], Thu Aug 29 05:22:30 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.93.2.1: +37 -27 lines
Diff to previous 1.93.2.1 (colored) to branchpoint 1.93 (colored) next main 1.94 (colored) to selected 1.15.2.2 (colored)

catch up with -current.

Revision 1.70.2.10 / (download) - annotate - [select for diffs], Tue Aug 27 23:46:42 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.70.2.9: +35 -25 lines
Diff to previous 1.70.2.9 (colored) to selected 1.15.2.2 (colored)

Catch up to -current.

Revision 1.96 / (download) - annotate - [select for diffs], Mon Aug 26 06:23:32 2002 UTC (21 years, 7 months ago) by petrov
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.95: +10 -4 lines
Diff to previous 1.95 (colored) to selected 1.15.2.2 (colored)

Accept WDTR from device(based on John Heasley patch for SCSI3 drive).
Do not define NCR53C9X_DEBUG.

Revision 1.95 / (download) - annotate - [select for diffs], Mon Aug 26 05:17:48 2002 UTC (21 years, 7 months ago) by petrov
Branch: MAIN
Changes since 1.94: +29 -25 lines
Diff to previous 1.94 (colored) to selected 1.15.2.2 (colored)

Start SYNC/WIDE renegotiating in controller reset, rearrange debug output.

Revision 1.70.2.9 / (download) - annotate - [select for diffs], Thu Aug 1 02:44:43 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.70.2.8: +6 -3 lines
Diff to previous 1.70.2.8 (colored) to selected 1.15.2.2 (colored)

Catch up to -current.

Revision 1.93.2.1 / (download) - annotate - [select for diffs], Mon Jul 15 10:35:18 2002 UTC (21 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.93: +8 -5 lines
Diff to previous 1.93 (colored) to selected 1.15.2.2 (colored)

catch up with -current.

Revision 1.83.2.6 / (download) - annotate - [select for diffs], Sun Jun 23 17:46:44 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.83.2.5: +12 -19 lines
Diff to previous 1.83.2.5 (colored) to selected 1.15.2.2 (colored)

catch up with -current on kqueue branch

Revision 1.94 / (download) - annotate - [select for diffs], Fri Jun 21 13:27:49 2002 UTC (21 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.93: +8 -5 lines
Diff to previous 1.93 (colored) to selected 1.15.2.2 (colored)

implement SCBUSIORESET by calling ncr53c9x_scsi_reset()

Revision 1.70.2.8 / (download) - annotate - [select for diffs], Wed Apr 17 00:05:49 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.70.2.7: +3 -16 lines
Diff to previous 1.70.2.7 (colored) to selected 1.15.2.2 (colored)

Catch up to -current.

Revision 1.93 / (download) - annotate - [select for diffs], Fri Apr 5 18:27:53 2002 UTC (21 years, 11 months ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.92: +4 -18 lines
Diff to previous 1.92 (colored) to selected 1.15.2.2 (colored)

Implement mstohz() as discussed on tech-kern, and use it in SCSI drivers
to convert xs->timeout to callout() parameter.

Revision 1.92 / (download) - annotate - [select for diffs], Tue Apr 2 09:48:27 2002 UTC (22 years ago) by petrov
Branch: MAIN
Changes since 1.91: +3 -2 lines
Diff to previous 1.91 (colored) to selected 1.15.2.2 (colored)

Return from interrupt handler after chip init(reset).

Revision 1.70.2.7 / (download) - annotate - [select for diffs], Mon Apr 1 07:45:35 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.70.2.6: +10 -4 lines
Diff to previous 1.70.2.6 (colored) to selected 1.15.2.2 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.91 / (download) - annotate - [select for diffs], Sun Mar 24 17:16:19 2002 UTC (22 years ago) by jdolecek
Branch: MAIN
Changes since 1.90: +9 -3 lines
Diff to previous 1.90 (colored) to selected 1.15.2.2 (colored)

ncr53c9x_attach(): if sc_rev is NCR53C90_86C01, set it to ESP100 once
the variant name is printed.
This fixes a problem that the card would be treated as ESP100 in
ncr53c9x_reset(), but not on couple other places (pointed out by
Andy Doran in private e-mail).

g/c now redundant case entry in ncr53c9x_reset()

Revision 1.83.2.5 / (download) - annotate - [select for diffs], Sat Mar 16 16:01:01 2002 UTC (22 years ago) by jdolecek
Branch: kqueue
Changes since 1.83.2.4: +3 -3 lines
Diff to previous 1.83.2.4 (colored) to selected 1.15.2.2 (colored)

Catch up with -current.

Revision 1.90 / (download) - annotate - [select for diffs], Fri Mar 8 20:48:38 2002 UTC (22 years ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base, newlock, eeh-devprop-base, eeh-devprop
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored) to selected 1.15.2.2 (colored)

Pool deals fairly well with physical memory shortage, but it doesn't
deal with shortages of the VM maps where the backing pages are mapped
(usually kmem_map).  Try to deal with this:

* Group all information about the backend allocator for a pool in a
  separate structure.  The pool references this structure, rather than
  the individual fields.
* Change the pool_init() API accordingly, and adjust all callers.
* Link all pools using the same backend allocator on a list.
* The backend allocator is responsible for waiting for physical memory
  to become available, but will still fail if it cannot callocate KVA
  space for the pages.  If this happens, carefully drain all pools using
  the same backend allocator, so that some KVA space can be freed.
* Change pool_reclaim() to indicate if it actually succeeded in freeing
  some pages, and use that information to make draining easier and more
  efficient.
* Get rid of PR_URGENT.  There was only one use of it, and it could be
  dealt with by the caller.

From art@openbsd.org.

Revision 1.70.2.6 / (download) - annotate - [select for diffs], Thu Feb 28 04:13:29 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.70.2.5: +4 -5 lines
Diff to previous 1.70.2.5 (colored) to selected 1.15.2.2 (colored)

Catch up to -current.

Revision 1.83.2.4 / (download) - annotate - [select for diffs], Mon Feb 11 20:09:45 2002 UTC (22 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.83.2.3: +4 -5 lines
Diff to previous 1.83.2.3 (colored) to selected 1.15.2.2 (colored)

Sync w/ -current.

Revision 1.89 / (download) - annotate - [select for diffs], Sat Jan 12 16:03:12 2002 UTC (22 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.88: +4 -5 lines
Diff to previous 1.88 (colored) to selected 1.15.2.2 (colored)

Call malloc(9) with M_ZERO flag instead of memset() after malloc().

Revision 1.83.2.3 / (download) - annotate - [select for diffs], Thu Jan 10 19:54:54 2002 UTC (22 years, 2 months ago) by thorpej
Branch: kqueue
Changes since 1.83.2.2: +9 -13 lines
Diff to previous 1.83.2.2 (colored) to selected 1.15.2.2 (colored)

Sync kqueue branch with -current.

Revision 1.70.2.5 / (download) - annotate - [select for diffs], Tue Jan 8 00:30:01 2002 UTC (22 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.70.2.4: +4 -3 lines
Diff to previous 1.70.2.4 (colored) to selected 1.15.2.2 (colored)

Catch up to -current.

Revision 1.88 / (download) - annotate - [select for diffs], Mon Dec 3 23:27:31 2001 UTC (22 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.87: +4 -2 lines
Diff to previous 1.87 (colored) to selected 1.15.2.2 (colored)

add NCR_VARIANT_NCR53C90_86C01 "NCR53C90 (86C01)"
treat exactly like NCR_VARIANT_ESP100

Revision 1.87 / (download) - annotate - [select for diffs], Thu Nov 15 09:48:07 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.86: +2 -3 lines
Diff to previous 1.86 (colored) to selected 1.15.2.2 (colored)

don't need <sys/types.h> when including <sys/param.h>

Revision 1.70.2.4 / (download) - annotate - [select for diffs], Wed Nov 14 19:14:31 2001 UTC (22 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.70.2.3: +7 -12 lines
Diff to previous 1.70.2.3 (colored) to selected 1.15.2.2 (colored)

Catch up to -current.

Revision 1.86 / (download) - annotate - [select for diffs], Tue Nov 13 13:14:42 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.85: +4 -1 lines
Diff to previous 1.85 (colored) to selected 1.15.2.2 (colored)

add/cleanup RCSID

Revision 1.84.4.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:18:04 2001 UTC (22 years, 4 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.84: +4 -12 lines
Diff to previous 1.84 (colored) next main 1.85 (colored) to selected 1.15.2.2 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.85 / (download) - annotate - [select for diffs], Sun Nov 4 12:05:42 2001 UTC (22 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.84: +4 -12 lines
Diff to previous 1.84 (colored) to selected 1.15.2.2 (colored)

Use common macro to check message length.

Revision 1.70.2.3 / (download) - annotate - [select for diffs], Fri Aug 24 00:09:33 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.70.2.2: +9 -14 lines
Diff to previous 1.70.2.2 (colored) to selected 1.15.2.2 (colored)

Catch up with -current.

Revision 1.83.2.2 / (download) - annotate - [select for diffs], Fri Aug 3 04:13:02 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.83.2.1: +2962 -0 lines
Diff to previous 1.83.2.1 (colored) to selected 1.15.2.2 (colored)

update to -current

Revision 1.84 / (download) - annotate - [select for diffs], Thu Jul 26 15:51:04 2001 UTC (22 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored) to selected 1.15.2.2 (colored)

Fix timeout overflow caused by "scsictl format" on machines HZ==100.

Revision 1.83.2.1, Tue Jul 10 00:36:36 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.83: +0 -2962 lines
FILE REMOVED

file ncr53c9x.c was added on branch kqueue on 2001-08-03 04:13:02 +0000

Revision 1.83 / (download) - annotate - [select for diffs], Tue Jul 10 00:36:36 2001 UTC (22 years, 8 months ago) by chs
Branch: MAIN
Branch point for: kqueue
Changes since 1.82: +2 -7 lines
Diff to previous 1.82 (colored) to selected 1.15.2.2 (colored)

add a missing newline in a printf.

Revision 1.82 / (download) - annotate - [select for diffs], Sat Jul 7 16:13:49 2001 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.81: +5 -5 lines
Diff to previous 1.81 (colored) to selected 1.15.2.2 (colored)

bzero -> memset

Revision 1.81 / (download) - annotate - [select for diffs], Sat Jul 7 15:53:19 2001 UTC (22 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.80: +2 -2 lines
Diff to previous 1.80 (colored) to selected 1.15.2.2 (colored)

bcopy -> memcpy

Revision 1.70.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:03:00 2001 UTC (22 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.70.2.1: +487 -513 lines
Diff to previous 1.70.2.1 (colored) to selected 1.15.2.2 (colored)

Catch up to -current.

Revision 1.80 / (download) - annotate - [select for diffs], Wed May 23 18:32:26 2001 UTC (22 years, 10 months ago) by petrov
Branch: MAIN
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored) to selected 1.15.2.2 (colored)

adjust fas register fields names

Revision 1.79 / (download) - annotate - [select for diffs], Fri May 18 12:57:42 2001 UTC (22 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.78: +1 -3 lines
Diff to previous 1.78 (colored) to selected 1.15.2.2 (colored)

Enable tagged queuing again; should work now with scsipi_base rev 1.42

Revision 1.78 / (download) - annotate - [select for diffs], Mon Apr 30 13:58:32 2001 UTC (22 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.77: +2 -1 lines
Diff to previous 1.77 (colored) to selected 1.15.2.2 (colored)

Ops, don't forget to increment li->used for each tagged command.

Revision 1.77 / (download) - annotate - [select for diffs], Sat Apr 28 15:09:42 2001 UTC (22 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.76: +10 -18 lines
Diff to previous 1.76 (colored) to selected 1.15.2.2 (colored)

- don't wait when called from interrupt context (basically this means we
  can't sleep in HBA drivers)
- pool_get can fail, so return XS_RESOURCE_SHORTAGE instead of panic()
- don't try to bzero() a NULL pointer

Revision 1.76 / (download) - annotate - [select for diffs], Thu Apr 26 17:09:39 2001 UTC (22 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.75: +3 -1 lines
Diff to previous 1.75 (colored) to selected 1.15.2.2 (colored)

Disable tagged queuing for now, it causes commands timeouts.
Note that it's not worse since thorpej_scsipi integration: tagged queuing
was not used before, because of a tag message rejected at probe time.

Revision 1.75 / (download) - annotate - [select for diffs], Wed Apr 25 17:53:33 2001 UTC (22 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.74: +245 -263 lines
Diff to previous 1.74 (colored) to selected 1.15.2.2 (colored)

Pull up the thorpej_scsipi branch to main branch.
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers are queued in the mid-layer, rather than doing so in an
  ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
  to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
  peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
  recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
  scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
  (no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
  set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
  the need to use buggy tag ID allocation schemes in many adapter drivers).
- support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command
  will be requeued, or a REQUEST SENSE will be sent as appropriate.

Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge

Revision 1.36.2.19 / (download) - annotate - [select for diffs], Wed Apr 25 13:07:22 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.36.2.18: +2 -1 lines
Diff to previous 1.36.2.18 (colored) next main 1.37 (colored) to selected 1.15.2.2 (colored)

add back a missing
ecb->flags |= ECB_READY;
I can run with tagged queuing enabled on my ultra/1 now, which is an
improvement over -current :)

Revision 1.36.2.18 / (download) - annotate - [select for diffs], Wed Apr 25 08:49:06 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.36.2.17: +2 -1 lines
Diff to previous 1.36.2.17 (colored) to selected 1.15.2.2 (colored)

Add back a ncr53c9x_dequeue() which has been removed by mistake, I think.

Revision 1.36.2.17 / (download) - annotate - [select for diffs], Tue Apr 24 07:29:31 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.36.2.16: +6 -4 lines
Diff to previous 1.36.2.16 (colored) to selected 1.15.2.2 (colored)

reset ti->width to 0 when wide negotiation didn't succeed. Use this to
report wide status; T_WIDE is only used to tell if wide nego should be
started.
While I'm there fix a bogon in tagged queueing reporting.

Revision 1.36.2.16 / (download) - annotate - [select for diffs], Mon Apr 23 09:42:18 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.36.2.15: +253 -252 lines
Diff to previous 1.36.2.15 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD.

Revision 1.36.2.15 / (download) - annotate - [select for diffs], Sat Apr 21 17:48:40 2001 UTC (22 years, 11 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.36.2.14: +378 -164 lines
Diff to previous 1.36.2.14 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD

Revision 1.74 / (download) - annotate - [select for diffs], Sat Apr 21 07:28:22 2001 UTC (22 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.73: +10 -13 lines
Diff to previous 1.73 (colored) to selected 1.15.2.2 (colored)

Make sure to check SC_ACCEL_TAGS in ncr53c9x_ioctl()
even if sync transfer is disabled or not supported.

Revision 1.73 / (download) - annotate - [select for diffs], Sat Apr 21 05:35:20 2001 UTC (22 years, 11 months ago) by tsutsui
Branch: MAIN
Changes since 1.72: +30 -35 lines
Diff to previous 1.72 (colored) to selected 1.15.2.2 (colored)

Clean up ncr53c9x_select():
- Define NCR_F_SELATN3 for sc_features and use it to check if the chip
  supports SELATN3 command
- Make conditions of sending messages a bit simpler.

Revision 1.72 / (download) - annotate - [select for diffs], Fri Apr 20 17:32:33 2001 UTC (22 years, 11 months ago) by tsutsui
Branch: MAIN
Changes since 1.71: +240 -233 lines
Diff to previous 1.71 (colored) to selected 1.15.2.2 (colored)

Cosmetics. (tab/space etc.)

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:56:25 2001 UTC (22 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.70: +385 -166 lines
Diff to previous 1.70 (colored) to selected 1.15.2.2 (colored)

Catch up with -current.

Revision 1.71 / (download) - annotate - [select for diffs], Thu Mar 29 02:58:39 2001 UTC (23 years ago) by petrov
Branch: MAIN
Changes since 1.70: +385 -166 lines
Diff to previous 1.70 (colored) to selected 1.15.2.2 (colored)

fas support added

Revision 1.36.2.14 / (download) - annotate - [select for diffs], Fri Mar 23 11:31:42 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.36.2.13: +1 -3 lines
Diff to previous 1.36.2.13 (colored) to selected 1.15.2.2 (colored)

Remove debugging code.

Revision 1.36.2.13 / (download) - annotate - [select for diffs], Sun Feb 11 19:15:35 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.36.2.12: +9 -7 lines
Diff to previous 1.36.2.12 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD.

Revision 1.70 / (download) - annotate - [select for diffs], Fri Jan 19 23:04:23 2001 UTC (23 years, 2 months ago) by eeh
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.69: +15 -8 lines
Diff to previous 1.69 (colored) to selected 1.15.2.2 (colored)

Use the SCSIACCEL ioctl() to turn on TAG QUEUEs.

Revision 1.36.2.12 / (download) - annotate - [select for diffs], Mon Jan 15 09:25:36 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.36.2.11: +2 -2 lines
Diff to previous 1.36.2.11 (colored) to selected 1.15.2.2 (colored)

Make it compile again.

Revision 1.36.2.11 / (download) - annotate - [select for diffs], Fri Jan 5 17:35:44 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.36.2.10: +72 -24 lines
Diff to previous 1.36.2.10 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD

Revision 1.69 / (download) - annotate - [select for diffs], Wed Dec 20 15:49:03 2000 UTC (23 years, 3 months ago) by briggs
Branch: MAIN
Changes since 1.68: +8 -6 lines
Diff to previous 1.68 (colored) to selected 1.15.2.2 (colored)

Make _sure_ that we do not use selatn3 when it is not present.  Fixes a
problem on pmax reported by Izumi Tsutsui.  Tested also on alpha and mac68k.

Revision 1.68 / (download) - annotate - [select for diffs], Wed Dec 20 03:19:34 2000 UTC (23 years, 3 months ago) by eeh
Branch: MAIN
Changes since 1.67: +23 -7 lines
Diff to previous 1.67 (colored) to selected 1.15.2.2 (colored)

Make the driver negotiate sync again and remove some (hopefully) superfluous
DELAY()s.

Revision 1.36.2.10 / (download) - annotate - [select for diffs], Tue Dec 19 21:59:08 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.36.2.9: +11 -10 lines
Diff to previous 1.36.2.9 (colored) to selected 1.15.2.2 (colored)

Add more ncr53c9x_update_xfer_mode() where appropriate.

Revision 1.67 / (download) - annotate - [select for diffs], Tue Dec 19 14:08:17 2000 UTC (23 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored) to selected 1.15.2.2 (colored)

Fix reversed logic when setting setting sync-negotiation ability flag

Revision 1.66 / (download) - annotate - [select for diffs], Mon Dec 18 23:39:44 2000 UTC (23 years, 3 months ago) by briggs
Branch: MAIN
Changes since 1.65: +45 -15 lines
Diff to previous 1.65 (colored) to selected 1.15.2.2 (colored)

If the target rejects a tag message, turn off tagged transfers for that target.
Also, adjust message/command construction in ncr53c9x_select() to work no
matter how the structure alignment works out (needed at least for m68k).
Tested by me on mac68k & alpha, and sanity-checked by eeh.

Revision 1.65 / (download) - annotate - [select for diffs], Sun Dec 17 04:38:29 2000 UTC (23 years, 3 months ago) by briggs
Branch: MAIN
Changes since 1.64: +1 -3 lines
Diff to previous 1.64 (colored) to selected 1.15.2.2 (colored)

Back out previous change.  It appears to be in error.  There is something
else that is causing the esp driver on the mac68k to fail miserably.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Dec 17 03:29:03 2000 UTC (23 years, 3 months ago) by briggs
Branch: MAIN
Changes since 1.63: +3 -1 lines
Diff to previous 1.63 (colored) to selected 1.15.2.2 (colored)

At least the 53c96 does not work with the selatn3 command.  Disable it
for both the 53c94 and 53c96.  This also addresses PR port-mac68k/11716.

Revision 1.36.2.9 / (download) - annotate - [select for diffs], Sat Dec 16 19:42:18 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.36.2.8: +2 -4 lines
Diff to previous 1.36.2.8 (colored) to selected 1.15.2.2 (colored)

Remove debug printf.

Revision 1.36.2.8 / (download) - annotate - [select for diffs], Sat Dec 16 19:40:29 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.36.2.7: +18 -45 lines
Diff to previous 1.36.2.7 (colored) to selected 1.15.2.2 (colored)

Gives a single-bit flag for T_TAGOFF.
Report tagged-queuing support to upper layer, so that tagged queuing is
really used. Report QUEUE FULL events to upper layer. Bup per-target
openings to 256 as the driver supports it. Fix handling of T_SYNCOFF.

Revision 1.36.2.7 / (download) - annotate - [select for diffs], Wed Dec 13 15:50:04 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.36.2.6: +35 -11 lines
Diff to previous 1.36.2.6 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD (for UBC fixes).

Revision 1.63 / (download) - annotate - [select for diffs], Sun Dec 10 19:25:07 2000 UTC (23 years, 3 months ago) by eeh
Branch: MAIN
Changes since 1.62: +36 -12 lines
Diff to previous 1.62 (colored) to selected 1.15.2.2 (colored)

Fix for chips that don't grok NCRCMD_SELATN3.

Revision 1.36.2.6 / (download) - annotate - [select for diffs], Fri Dec 8 09:12:24 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.36.2.5: +490 -170 lines
Diff to previous 1.36.2.5 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD.

Revision 1.62 / (download) - annotate - [select for diffs], Mon Dec 4 11:18:49 2000 UTC (23 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored) to selected 1.15.2.2 (colored)

'error' was not initialized in the _ioctl function, potentially returning
!= 0 values in the non-error case.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Dec 3 23:25:24 2000 UTC (23 years, 3 months ago) by eeh
Branch: MAIN
Changes since 1.60: +4 -3 lines
Diff to previous 1.60 (colored) to selected 1.15.2.2 (colored)

Fix bug in non-dma select code i added.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Dec 1 04:37:54 2000 UTC (23 years, 4 months ago) by augustss
Branch: MAIN
Changes since 1.59: +2 -1 lines
Diff to previous 1.59 (colored) to selected 1.15.2.2 (colored)

Make this compile again (on i386).

Revision 1.59 / (download) - annotate - [select for diffs], Thu Nov 30 23:21:39 2000 UTC (23 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.58: +1 -5 lines
Diff to previous 1.58 (colored) to selected 1.15.2.2 (colored)

We don't need <sys/proc.h>, <sys/user.h> and <machine/cpu.h>.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Nov 30 23:12:43 2000 UTC (23 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.57: +28 -33 lines
Diff to previous 1.57 (colored) to selected 1.15.2.2 (colored)

De-__P().

Revision 1.57 / (download) - annotate - [select for diffs], Thu Nov 30 23:01:03 2000 UTC (23 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.56: +84 -72 lines
Diff to previous 1.56 (colored) to selected 1.15.2.2 (colored)

KNF patrol.

Revision 1.56 / (download) - annotate - [select for diffs], Thu Nov 30 14:41:46 2000 UTC (23 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.55: +4 -61 lines
Diff to previous 1.55 (colored) to selected 1.15.2.2 (colored)

Fix some printf formats, and remove SPARC-specific debugging stuff.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Nov 30 09:58:03 2000 UTC (23 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.54: +7 -7 lines
Diff to previous 1.54 (colored) to selected 1.15.2.2 (colored)

Fix two cases of reversed arguments to printf();

Revision 1.54 / (download) - annotate - [select for diffs], Thu Nov 30 00:19:25 2000 UTC (23 years, 4 months ago) by eeh
Branch: MAIN
Changes since 1.53: +538 -118 lines
Diff to previous 1.53 (colored) to selected 1.15.2.2 (colored)

Add TAG QUEUE support to the ncr53c9x driver.

Revision 1.36.2.5 / (download) - annotate - [select for diffs], Wed Nov 22 16:03:26 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.36.2.4: +57 -4 lines
Diff to previous 1.36.2.4 (colored) to selected 1.15.2.2 (colored)

Sync with HEAD.

Revision 1.36.2.4 / (download) - annotate - [select for diffs], Mon Nov 20 11:40:47 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.36.2.3: +115 -43 lines
Diff to previous 1.36.2.3 (colored) to selected 1.15.2.2 (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.53 / (download) - annotate - [select for diffs], Mon Nov 13 15:24:22 2000 UTC (23 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.52: +57 -5 lines
Diff to previous 1.52 (colored) to selected 1.15.2.2 (colored)

Define ncr53c9x_ioctl() and use it to start sync negotiation.

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Tue Jul 4 01:18:53 2000 UTC (23 years, 8 months ago) by thorpej
Branch: netbsd-1-5
CVS Tags: 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
Changes since 1.51: +18 -4 lines
Diff to previous 1.51 (colored) next main 1.52 (colored) to selected 1.15.2.2 (colored)

Pull up rev. 1.52:
Fix negative timeout symptoms caused by integer multiply overflow,
which is revealed with larger HZ systems like NetBSD/pmax (256Hz)
and NetBSD/alpha (1024Hz) as reported by PR#8645.  Polled tape
drive access is done with maximum 6 hour timeout which ended up
with negative time and then confused SCSI bus severely.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Jul 4 01:10:18 2000 UTC (23 years, 8 months ago) by nisimura
Branch: MAIN
Changes since 1.51: +18 -4 lines
Diff to previous 1.51 (colored) to selected 1.15.2.2 (colored)

Fix negative timeout symptoms caused by integer multiply overflow,
which is revealed with larger HZ systems like NetBSD/pmax (256Hz)
and NetBSD/alpha (1024Hz) as reported by PR#8645.  Polled tape
drive access is done with maximum 6 hour timeout which ended up
with negative time and then confused SCSI bus severely.

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:06:50 2000 UTC (23 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.49: +23 -6 lines
Diff to previous 1.49 (colored) next main 1.50 (colored) to selected 1.15.2.2 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Jun 5 15:19:42 2000 UTC (23 years, 9 months ago) by tsutsui
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.50: +2 -1 lines
Diff to previous 1.50 (colored) to selected 1.15.2.2 (colored)

Oops, struct scsipi_adapter was changed recently.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Jun 5 07:59:54 2000 UTC (23 years, 9 months ago) by nisimura
Branch: MAIN
Changes since 1.49: +22 -6 lines
Diff to previous 1.49 (colored) to selected 1.15.2.2 (colored)

Have MI ncr53c9x_attach() the 2nd and 3rd arguments for scsipi_adater
and scsipi_device respectively, with size reduction of ncr53c9x_softc.
Specifying NULL instructs the driver to use default adapter and default
device codes. Every target port has ncr53c9x_attach(sc, NULL, NULL) anyway.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Mar 29 13:57:51 2000 UTC (24 years ago) by tsutsui
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.48: +7 -7 lines
Diff to previous 1.48 (colored) to selected 1.15.2.2 (colored)

Nuke register declarations.

Revision 1.48 / (download) - annotate - [select for diffs], Thu Mar 23 07:01:32 2000 UTC (24 years ago) by thorpej
Branch: MAIN
Changes since 1.47: +10 -11 lines
Diff to previous 1.47 (colored) to selected 1.15.2.2 (colored)

New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.

Revision 1.47 / (download) - annotate - [select for diffs], Wed Mar 22 03:27:56 2000 UTC (24 years ago) by mycroft
Branch: MAIN
Changes since 1.46: +1 -15 lines
Diff to previous 1.46 (colored) to selected 1.15.2.2 (colored)

There's no need to frob cfg4/cfg5 in _attach(), since _reset() does it.

Revision 1.46 / (download) - annotate - [select for diffs], Mon Mar 20 05:48:28 2000 UTC (24 years ago) by tsutsui
Branch: MAIN
Changes since 1.45: +2 -3 lines
Diff to previous 1.45 (colored) to selected 1.15.2.2 (colored)

Use sc_cfg4 for the Am53c974.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Mar 20 00:49:42 2000 UTC (24 years ago) by mycroft
Branch: MAIN
Changes since 1.44: +3 -2 lines
Diff to previous 1.44 (colored) to selected 1.15.2.2 (colored)

Reset CFG4 and CFG5 correctly in the reset routine.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Mar 19 21:25:49 2000 UTC (24 years ago) by mycroft
Branch: MAIN
Changes since 1.43: +46 -13 lines
Diff to previous 1.43 (colored) to selected 1.15.2.2 (colored)

For the ESP406/FAS408, add sc_cfg4 and sc_cfg5.
Add a detach routine, and do the addref/delref.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Mar 18 22:18:57 2000 UTC (24 years ago) by mycroft
Branch: MAIN
Changes since 1.42: +1 -2 lines
Diff to previous 1.42 (colored) to selected 1.15.2.2 (colored)

Expose ncr53c9x_init().

Revision 1.42 / (download) - annotate - [select for diffs], Sat Mar 18 22:09:32 2000 UTC (24 years ago) by mycroft
Branch: MAIN
Changes since 1.41: +4 -3 lines
Diff to previous 1.41 (colored) to selected 1.15.2.2 (colored)

Adjust ncr53c9x_intr() prototype.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Mar 9 23:19:26 2000 UTC (24 years ago) by matt
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored) to selected 1.15.2.2 (colored)

change Mb/s to MB/s (Megabit to megabyte).

Revision 1.40 / (download) - annotate - [select for diffs], Tue Jan 25 09:30:00 2000 UTC (24 years, 2 months ago) by pk
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.39: +3 -2 lines
Diff to previous 1.39 (colored) to selected 1.15.2.2 (colored)

Prevent possible wayward loop.

Revision 1.36.6.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:34:50 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.36: +41 -4 lines
Diff to previous 1.36 (colored) next main 1.37 (colored) to selected 1.15.2.2 (colored)

Pull up to last week's -current.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Sat Dec 4 19:34:13 1999 UTC (24 years, 3 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003, netbsd-1-4-PATCH002
Changes since 1.34: +9 -3 lines
Diff to previous 1.34 (colored) next main 1.35 (colored) to selected 1.15.2.2 (colored)

Pull up revision 1.35 (requested by mhitch):
  Fix the problems in detecting the clock speed on the TCDS Dual
  SCSI Option cards, and correctly configure the Fast SCSI interfaces.
  This allows installation on the 3000/500 -> 3000/900 Alphas which
  have the Fast SCSI interface on the on-board SCSI adapters.

Revision 1.36.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:40:34 1999 UTC (24 years, 4 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.36: +41 -4 lines
Diff to previous 1.36 (colored) next main 1.37 (colored) to selected 1.15.2.2 (colored)

Sync with -current

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Wed Nov 10 05:02:54 1999 UTC (24 years, 4 months ago) by mycroft
Branch: comdex-fall-1999
Changes since 1.39.2.1: +2225 -0 lines
Diff to previous 1.39.2.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored) to selected 1.15.2.2 (colored)

Modification to the previous:
We still have to preload the command, when selecting without ATN.  (We could
probably avoid this by being more careful in the interrupt handler...)

Revision 1.39.2.1, Wed Nov 10 05:02:53 1999 UTC (24 years, 4 months ago) by mycroft
Branch: comdex-fall-1999
Changes since 1.39: +0 -2225 lines
FILE REMOVED

file ncr53c9x.c was added on branch comdex-fall-1999 on 1999-11-10 05:02:54 +0000

Revision 1.39 / (download) - annotate - [select for diffs], Wed Nov 10 05:02:53 1999 UTC (24 years, 4 months ago) by mycroft
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, comdex-fall-1999-base
Branch point for: comdex-fall-1999
Changes since 1.38: +31 -5 lines
Diff to previous 1.38 (colored) to selected 1.15.2.2 (colored)

Modification to the previous:
We still have to preload the command, when selecting without ATN.  (We could
probably avoid this by being more careful in the interrupt handler...)

Revision 1.38 / (download) - annotate - [select for diffs], Wed Nov 10 04:21:30 1999 UTC (24 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.37: +11 -1 lines
Diff to previous 1.37 (colored) to selected 1.15.2.2 (colored)

When sending a REQUEST SENSE, do *not* attempt to create an I_T_L nexus.  This
is technically wrong, and some targets (like my 4x NEC CD-ROM drive) misbehave
when we do.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Nov 10 00:42:37 1999 UTC (24 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored) to selected 1.15.2.2 (colored)

A residual after select with DMA step 2 is legitimate (in fact, *not* having a
residual would probably be cause for concern), so don't spew about it.

Revision 1.36.2.3 / (download) - annotate - [select for diffs], Tue Oct 26 23:10:16 1999 UTC (24 years, 5 months ago) by thorpej
Branch: thorpej_scsipi
Changes since 1.36.2.2: +42 -23 lines
Diff to previous 1.36.2.2 (colored) to selected 1.15.2.2 (colored)

Update for:

  Deal a little more gracefully with the fact that xfer mode parameters
  are for the I_T Nexus, and make all xfer mode updates `async events'.

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Tue Oct 19 23:20:53 1999 UTC (24 years, 5 months ago) by thorpej
Branch: thorpej_scsipi
Changes since 1.36.2.1: +9 -24 lines
Diff to previous 1.36.2.1 (colored) to selected 1.15.2.2 (colored)

Don't sleep waiting for a CCB; if we get to the CCB allocation phase, we're
guaranteed to have one.

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Tue Oct 19 17:47:40 1999 UTC (24 years, 5 months ago) by thorpej
Branch: thorpej_scsipi
Changes since 1.36: +186 -112 lines
Diff to previous 1.36 (colored) to selected 1.15.2.2 (colored)

Adapt to scsipi API changes.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Sep 30 23:04:41 1999 UTC (24 years, 6 months ago) by thorpej
Branch: MAIN
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.35: +9 -9 lines
Diff to previous 1.35 (colored) to selected 1.15.2.2 (colored)

Update for SCSPI changes.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Sep 22 03:31:23 1999 UTC (24 years, 6 months ago) by mhitch
Branch: MAIN
Changes since 1.34: +9 -3 lines
Diff to previous 1.34 (colored) to selected 1.15.2.2 (colored)

Define config register 3 values for NCR53C9x/FAS216.

Add sc_cfg3_fscsi to the softc and use it to set the chip into Fast SCSI
mode for the chips that use it.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Feb 12 00:52:52 1999 UTC (25 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Branch point for: netbsd-1-4
Changes since 1.33: +5 -5 lines
Diff to previous 1.33 (colored) to selected 1.15.2.2 (colored)

Fix printf format problems on Alpha.

Revision 1.20.2.4 / (download) - annotate - [select for diffs], Mon Jan 18 05:38:56 1999 UTC (25 years, 2 months ago) by cgd
Branch: netbsd-1-3
Changes since 1.20.2.3: +20 -2 lines
Diff to previous 1.20.2.3 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored) to selected 1.15.2.2 (colored)

pull up rev 1.24 from trunk (PR#5180).  (pk)

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jan 6 19:19:38 1999 UTC (25 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.32: +17 -2 lines
Diff to previous 1.32 (colored) to selected 1.15.2.2 (colored)

Changes to NCR53c9x driver necessary to add support for the AMD Am53c974
PCscsi-PCI SCSI controller.  From Izumi Tsutsui, PR #6654.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Dec 5 19:43:54 1998 UTC (25 years, 3 months ago) by mjacob
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored) to selected 1.15.2.2 (colored)

Update HBAs to incorporate the new max_lun property.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Nov 30 07:54:29 1998 UTC (25 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.30: +7 -8 lines
Diff to previous 1.30 (colored) to selected 1.15.2.2 (colored)

Update previous: we don't have the required information all the time.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Nov 30 07:44:24 1998 UTC (25 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.29: +19 -17 lines
Diff to previous 1.29 (colored) to selected 1.15.2.2 (colored)

Some more misc. cleanup in the same style as previous.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Nov 30 07:34:06 1998 UTC (25 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.28: +5 -3 lines
Diff to previous 1.28 (colored) to selected 1.15.2.2 (colored)

Announce negotiation of async mode consistently (Soren Jorvang; PR#6512)

Revision 1.28 / (download) - annotate - [select for diffs], Thu Nov 19 21:53:00 1998 UTC (25 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.27: +3 -4 lines
Diff to previous 1.27 (colored) to selected 1.15.2.2 (colored)

Adapt to the new scsipi_adapter interface.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Aug 15 10:51:18 1998 UTC (25 years, 7 months ago) by mycroft
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.26: +23 -16 lines
Diff to previous 1.26 (colored) to selected 1.15.2.2 (colored)

Assign my copyrights to TNF.

Revision 1.26 / (download) - annotate - [select for diffs], Tue May 26 23:17:34 1998 UTC (25 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.25: +21 -6 lines
Diff to previous 1.25 (colored) to selected 1.15.2.2 (colored)

If we have an NCR53CF9x (indicated by the front-end by setting a flag
in the softc's new "features" word), set FSCSI bit in CFG3 if the sync
period is <= 200ns, or clear it otherwise.

Revision 1.25 / (download) - annotate - [select for diffs], Mon May 4 14:47:48 1998 UTC (25 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.24: +593 -620 lines
Diff to previous 1.24 (colored) to selected 1.15.2.2 (colored)

Eliminate the degenerate loop in `ncr53c9x_intr()'. Retain the delay heuristic
it implemented under the label `shortcut:' and only use it in these
cases: (1) after successful re-relection, (2) after receiving command-complete
status, and (3) during message-in handshake.

Revision 1.24 / (download) - annotate - [select for diffs], Mon May 4 11:11:24 1998 UTC (25 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.23: +20 -2 lines
Diff to previous 1.23 (colored) to selected 1.15.2.2 (colored)

Allocate SCSI message buffers in ncr53c9x_attach(), with a provision
for front-ends to override the allocation to avoid alignment
handling in their DMA engines. Note that that ncr53c9x_msgout()
can request a 1 byte DMA transfer that would be difficult to break up.

Revision 1.20.2.3 / (download) - annotate - [select for diffs], Sat Feb 7 23:26:40 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.20.2.2: +33 -10 lines
Diff to previous 1.20.2.2 (colored) to branchpoint 1.20 (colored) to selected 1.15.2.2 (colored)

Pull up 1.23 (pk)

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Sat Feb 7 00:42:47 1998 UTC (26 years, 1 month ago) by mellon
Branch: netbsd-1-3
Changes since 1.20.2.1: +103 -49 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored) to selected 1.15.2.2 (colored)

Pull up 1.22 (pk)

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jan 31 23:37:51 1998 UTC (26 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.22: +33 -10 lines
Diff to previous 1.22 (colored) to selected 1.15.2.2 (colored)

* Make sure the `ECB_NEXUS' flag accurately reflects the existence of
  an initiator/target nexus and thus mark the correct queue (if any) a
  command is on.

* If a disconnected command times out, just leave it on the nexus queue
  and do nothing (for now). I need yet to decide on the strategy to
  follow in this case.  Note: we used to move the command to the `ready'
  queue and then do nothing, which is worse.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jan 24 15:33:35 1998 UTC (26 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.21: +103 -49 lines
Diff to previous 1.21 (colored) to selected 1.15.2.2 (colored)

* Do not remove ATN from the scsi bus if we have no messages queued but
  the target still is in MSG OUT phase. We still send a message (a NO_OP)
  in this case and the chip will remove ATN at the appropriate time.
  Using the RSTATN command here induces a "illegal command" in some
  chip revisions.

  This situation only occurs if the target rejects a previous (multi-byte)
  message early (by switching to MESSAGE IN and sending a MESSAGE REJECT)
  before the chip has completed the entire MSG OUT transfer. ATN will
  remain asserted, and the target returns to MESSAGE OUT phase.

* Account for the events above when reporting "DMA not completed"
  diagnostic messages.

* Stream-line the selection code a bit, and make the DMA setup code
  more like the MSG OUT & DATA XFER setup.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Mon Oct 27 19:43:14 1997 UTC (26 years, 5 months ago) by mellon
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-RELEASE, netbsd-1-3-BETA
Changes since 1.20: +12 -6 lines
Diff to previous 1.20 (colored) to selected 1.15.2.2 (colored)

Pull rev 1.21 up from trunk (pk)

Revision 1.21 / (download) - annotate - [select for diffs], Sun Oct 26 16:45:24 1997 UTC (26 years, 5 months ago) by pk
Branch: MAIN
Changes since 1.20: +12 -6 lines
Diff to previous 1.20 (colored) to selected 1.15.2.2 (colored)

Apply patch from Michael L. Hitch (PR#4318):

"A sequence step of 0 after a select with ATN can be a selection
 timeout, or it can also indicate the target did not respond with
 a message out phase.  The latter will occur on very old SCSI
 devices which do not respond to the ATN signal and go directly to
 the command phase".

Revision 1.15.2.4 / (download) - annotate - [select for diffs], Tue Oct 14 10:22:56 1997 UTC (26 years, 5 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.15.2.3: +3 -1 lines
Diff to previous 1.15.2.3 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored) to selected 1.15.2.2 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Oct 4 03:59:00 1997 UTC (26 years, 6 months ago) by mhitch
Branch: MAIN
CVS Tags: netbsd-1-3-base, marc-pcmcia-base
Branch point for: netbsd-1-3
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored) to selected 1.15.2.2 (colored)

Add yet another chip variant:  FAS216, used by the amiga Phase5 SCSI boards.

Revision 1.15.2.3 / (download) - annotate - [select for diffs], Mon Sep 1 20:22:25 1997 UTC (26 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.15.2.2: +18 -4 lines
Diff to previous 1.15.2.2 (colored) to branchpoint 1.15 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Aug 31 23:09:58 1997 UTC (26 years, 7 months ago) by pk
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal
Changes since 1.18: +18 -4 lines
Diff to previous 1.18 (colored) to selected 1.15.2.2 (colored)

Finish work-around for the re-select bug on ESP100s by dealing with
"illegal command" interrupt apparently caused by writing to the chip
while a re-selection is in progress.

Revision 1.15.2.2 / (download) - annotate - [selected], Wed Aug 27 23:30:54 1997 UTC (26 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.15.2.1: +69 -66 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Aug 27 11:24:59 1997 UTC (26 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.17: +69 -66 lines
Diff to previous 1.17 (colored) to selected 1.15.2.2 (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.15.2.1 / (download) - annotate - [select for diffs], Sat Aug 23 07:13:04 1997 UTC (26 years, 7 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.15: +22 -13 lines
Diff to previous 1.15 (colored) to selected 1.15.2.2 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.11.2.4 / (download) - annotate - [select for diffs], Thu Aug 14 11:06:10 1997 UTC (26 years, 7 months ago) by bouyer
Branch: bouyer-scsipi
Changes since 1.11.2.3: +4 -4 lines
Diff to previous 1.11.2.3 (colored) next main 1.12 (colored) to selected 1.15.2.2 (colored)

Sync with trunk.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Aug 4 08:16:49 1997 UTC (26 years, 8 months ago) by fair
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) to selected 1.15.2.2 (colored)

trivial change for PR#3815

Revision 1.11.2.3 / (download) - annotate - [select for diffs], Wed Jul 30 16:23:34 1997 UTC (26 years, 8 months ago) by bouyer
Branch: bouyer-scsipi
Changes since 1.11.2.2: +27 -16 lines
Diff to previous 1.11.2.2 (colored) to selected 1.15.2.2 (colored)

Sync with trunk.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jul 30 12:01:53 1997 UTC (26 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.15: +21 -12 lines
Diff to previous 1.15 (colored) to selected 1.15.2.2 (colored)

Arrange to turn off future sync-mode negotiation after experiencing a
timeout while in a data phase.

Replace XS_STUFFUP with XS_TIMEOUT, so we get a second chance after
recovering.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Jul 29 22:26:01 1997 UTC (26 years, 8 months ago) by pk
Branch: MAIN
CVS Tags: marc-pcmcia-bp
Branch point for: marc-pcmcia
Changes since 1.14: +6 -3 lines
Diff to previous 1.14 (colored) to selected 1.15.2.2 (colored)

If state is NCR_CLEANING, do not schedule commands until reset is complete.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jul 22 18:55:20 1997 UTC (26 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.13: +2 -3 lines
Diff to previous 1.13 (colored) to selected 1.15.2.2 (colored)

Relax `DMA terminal count' check to exclude any selection state to avoid
triggering the message when merely probing targets.

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Tue Jul 22 12:21:11 1997 UTC (26 years, 8 months ago) by bouyer
Branch: bouyer-scsipi
Changes since 1.11.2.1: +27 -9 lines
Diff to previous 1.11.2.1 (colored) to selected 1.15.2.2 (colored)

Sync with trunk.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jul 20 16:46:17 1997 UTC (26 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.12: +26 -8 lines
Diff to previous 1.12 (colored) to selected 1.15.2.2 (colored)

While processing DISCONNECTs, take note of the transfer count reaching
zero. We use this later when the COMPLETE message comes in to set the
final residual count to zero. The flag is reset if the target resumes
a data phase. This obsoletes the `AUTOSAVE' quirk (for this driver).
Also, avoid overwriting the residual count if a SENSE was appended to
the current transaction.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jul 19 21:54:16 1997 UTC (26 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) to selected 1.15.2.2 (colored)

Propagate SCSI status byte back to higher levels.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Tue Jul 1 17:35:11 1997 UTC (26 years, 9 months ago) by bouyer
Branch: bouyer-scsipi
Changes since 1.11: +65 -62 lines
Diff to previous 1.11 (colored) to selected 1.15.2.2 (colored)

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

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jun 26 00:27:25 1997 UTC (26 years, 9 months ago) by thorpej
Branch: MAIN
Branch point for: bouyer-scsipi
Changes since 1.10: +10 -2 lines
Diff to previous 1.10 (colored) to selected 1.15.2.2 (colored)

Do not print "esp0: !TC [intr ...]" messages if:
	(a) The interrupt is a RESEL interrupt, and
	(b) our state is SELECTING.
This condition can occur in perfectly normal operation if we are using
DMA to select the target and we are interrupted by another target
reselecting us.  Per discussion with Paul Krannenburg.

Revision 1.10 / (download) - annotate - [select for diffs], Thu May 1 22:16:24 1997 UTC (26 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.9: +18 -2 lines
Diff to previous 1.9 (colored) to selected 1.15.2.2 (colored)

Preliminary support for ESP406 and FAS408 variants (from Eric Hvodza; PR#3559)

Revision 1.9 / (download) - annotate - [select for diffs], Mon Apr 28 15:43:47 1997 UTC (26 years, 11 months ago) by mjacob
Branch: MAIN
Changes since 1.8: +4 -2 lines
Diff to previous 1.8 (colored) to selected 1.15.2.2 (colored)

On alpha size_t is not an int, ergo last argument to dma setup glue
function can't be a pointer to an int.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Apr 27 22:08:51 1997 UTC (26 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.7: +92 -20 lines
Diff to previous 1.7 (colored) to selected 1.15.2.2 (colored)

Implement target selection using DMA.
To allow a period of testing the variable `ncr53c9x_dmaselect' is used to
enable this feature (default is 0, i.e. the old behaviour).

Revision 1.7 / (download) - annotate - [select for diffs], Tue Apr 1 22:10:04 1997 UTC (27 years ago) by gwr
Branch: MAIN
Changes since 1.6: +19 -13 lines
Diff to previous 1.6 (colored) to selected 1.15.2.2 (colored)

Always schedule a timeout before the first occasion where
we return from the driver expecting to come back due to an
interrupt, because the interrupt might not happen...
Do the untimeout in ncr53c9x_done instead of just before
almost every call to ncr53c9x_done as was done previously.
Make ncr53c9x_sense schedule its own timeout for the new
command it is starting (request sense), separate from the
timeout for the command that just completed.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Mar 27 01:16:03 1997 UTC (27 years ago) by gwr
Branch: MAIN
Changes since 1.5: +1 -10 lines
Diff to previous 1.5 (colored) to selected 1.15.2.2 (colored)

No longer need the hack that forced SCSI_POLL when cold.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Mar 27 00:29:57 1997 UTC (27 years ago) by pk
Branch: MAIN
Changes since 1.4: +19 -5 lines
Diff to previous 1.4 (colored) to selected 1.15.2.2 (colored)

Add workaround for the "extraneous bytes after re-select" problem that
ESP100 chips may exhibit.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Mar 24 17:16:45 1997 UTC (27 years ago) by gwr
Branch: MAIN
Changes since 1.3: +11 -2 lines
Diff to previous 1.3 (colored) to selected 1.15.2.2 (colored)

When cold!=0 force SCSI_POLL (otherwise swapconf will hang)

Revision 1.3 / (download) - annotate - [select for diffs], Sat Mar 15 18:11:31 1997 UTC (27 years ago) by is
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored) to selected 1.15.2.2 (colored)

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Wed Mar 12 21:22:45 1997 UTC (27 years ago) by is
Branch: is-newarp
Changes since 1.2.2.1: +1902 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.15.2.2 (colored)

Merge in changes from Trunk

Revision 1.2.2.1, Thu Feb 27 13:59:32 1997 UTC (27 years, 1 month ago) by is
Branch: is-newarp
Changes since 1.2: +0 -1902 lines
FILE REMOVED

file ncr53c9x.c was added on branch is-newarp on 1997-03-12 21:22:45 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Thu Feb 27 13:59:32 1997 UTC (27 years, 1 month ago) by briggs
Branch: MAIN
CVS Tags: is-newarp-before-merge
Branch point for: is-newarp
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored) to selected 1.15.2.2 (colored)

Add the 53c96 variant.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Feb 27 01:12:07 1997 UTC (27 years, 1 month ago) by thorpej
Branch: MAIN
Diff to selected 1.15.2.2 (colored)

Machine-independent NCR 53c9x SCSI driver, derived from the SPARC/Alpha
versions.  Thanks to Chris Demetrious and Paul Krannenburg for the
initial work towards merging the two.

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>