The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.63 / (download) - annotate - [select for diffs], Thu Feb 8 19:44:08 2024 UTC (6 weeks, 6 days ago) by andvar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored) to selected 1.42.4.5 (colored)

s/should't/shouldn't/ and s/mistmatch/mismatch/ in comments.

Revision 1.62 / (download) - annotate - [select for diffs], Wed Nov 2 12:03:44 2022 UTC (16 months, 3 weeks ago) by andvar
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.61: +4 -4 lines
Diff to previous 1.61 (colored) to selected 1.42.4.5 (colored)

s/ourselve/ourselves/ in comments.

Revision 1.61 / (download) - annotate - [select for diffs], Mon May 23 19:21:30 2022 UTC (22 months ago) by andvar
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored) to selected 1.42.4.5 (colored)

s/beggining/beginning/ in comments.

Revision 1.60 / (download) - annotate - [select for diffs], Wed Feb 23 21:54:41 2022 UTC (2 years, 1 month ago) by andvar
Branch: MAIN
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored) to selected 1.42.4.5 (colored)

fix various typos in comments, mainly immediatly/immediately/,
as well shared and recently fixed typos in OpenBSD code by Jonathan Grey.

Revision 1.59 / (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.58: +3 -3 lines
Diff to previous 1.58 (colored) to selected 1.42.4.5 (colored)

Merge thorpej-cfargs2.

Revision 1.58.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.58: +3 -3 lines
Diff to previous 1.58 (colored) next main 1.59 (colored) to selected 1.42.4.5 (colored)

Adapt to CFARGS().

Revision 1.58 / (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.57: +3 -3 lines
Diff to previous 1.57 (colored) to selected 1.42.4.5 (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.57.46.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.57: +3 -3 lines
Diff to previous 1.57 (colored) next main 1.58 (colored) to selected 1.42.4.5 (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.55.18.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:38 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.55: +8 -4 lines
Diff to previous 1.55 (colored) next main 1.56 (colored) to selected 1.42.4.5 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.55.8.1 / (download) - annotate - [select for diffs], Thu May 22 11:40:22 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.55: +10 -6 lines
Diff to previous 1.55 (colored) next main 1.56 (colored) to selected 1.42.4.5 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.55.22.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:37 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.55: +10 -6 lines
Diff to previous 1.55 (colored) next main 1.56 (colored) to selected 1.42.4.5 (colored)

sync with head

Revision 1.55.14.1 / (download) - annotate - [select for diffs], Sun Nov 17 18:14:47 2013 UTC (10 years, 4 months ago) by bouyer
Branch: netbsd-6
Changes since 1.55: +8 -4 lines
Diff to previous 1.55 (colored) next main 1.56 (colored) to selected 1.42.4.5 (colored)

Apply patch, requested by gson in ticket #981:
	sys/dev/ic/esiop.c				1.57 via patch
Turn the "siop_intr: I shouldn't be there !" panic message in the
esiop driver into a printf followed by a return from the interrupt
handler.  The condition is triggered on some KVM virtual hosts,
apparently harmlessly, and not panicing makes it possible to boot a
NetBSD GENERIC kernel on those hosts. Fixes PR kern/48277.

Revision 1.57 / (download) - annotate - [select for diffs], Sat Nov 2 13:59:14 2013 UTC (10 years, 4 months ago) by gson
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, 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, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncqfixes-base, jdolecek-ncqfixes, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-cfargs
Changes since 1.56: +8 -4 lines
Diff to previous 1.56 (colored) to selected 1.42.4.5 (colored)

Turn the "esiop_intr: I shouldn't be there !" panic into a printf
followed by a return from the interrupt handler.  The condition is
triggered on some KVM virtual hosts, apparently harmlessly, and not
panicing makes it possible to boot a NetBSD GENERIC kernel on those
hosts.  Also make the same change to siop to minimize divergence
between siop and esiop.  Fixes PR kern/48277.

Revision 1.56 / (download) - annotate - [select for diffs], Wed Oct 30 08:40:32 2013 UTC (10 years, 4 months ago) by gson
Branch: MAIN
Changes since 1.55: +5 -5 lines
Diff to previous 1.55 (colored) to selected 1.42.4.5 (colored)

Fix incorrect function names in panic message strings.

Revision 1.51.2.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:15 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.51.2.1: +11 -17 lines
Diff to previous 1.51.2.1 (colored) next main 1.52 (colored) to selected 1.42.4.5 (colored)

sync with head

Revision 1.42.14.2 / (download) - annotate - [select for diffs], Sat Nov 20 20:12:56 2010 UTC (13 years, 4 months ago) by riz
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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.42.14.1: +3 -3 lines
Diff to previous 1.42.14.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored) to selected 1.42.4.5 (colored)

Fix patch from ticket 1390; bad merge from -current to netbsd-5.

Revision 1.42.14.1 / (download) - annotate - [select for diffs], Sat Nov 20 18:20:49 2010 UTC (13 years, 4 months ago) by riz
Branch: netbsd-5
Changes since 1.42: +17 -5 lines
Diff to previous 1.42 (colored) to selected 1.42.4.5 (colored)

Pull up following revision(s) (requested by mhitch in ticket #1390):
	sys/dev/ic/siop.c: revision 1.95
	sys/dev/ic/esiop.c: revision 1.52
Improve error paths in (e)siop_scsipi_request():
  - When terminating the adapter request after the cmd has been removed
    from the free list, put that cmd back on the free list before returing.
  - Correctly indicate which bus_dma_load() failed.
Analysis and fix from Michael L. Hitch in PR/42844.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Nov 13 13:52:01 2010 UTC (13 years, 4 months ago) by uebayasi
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, khorben-n900, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet, netbsd-6
Changes since 1.54: +2 -4 lines
Diff to previous 1.54 (colored) to selected 1.42.4.5 (colored)

Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants.  These are provided by sys/param.h now.

Revision 1.49.2.3 / (download) - annotate - [select for diffs], Fri Oct 22 07:21:57 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.49.2.2: +9 -13 lines
Diff to previous 1.49.2.2 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored) to selected 1.42.4.5 (colored)

Sync with HEAD (-D20101022).

Revision 1.42.4.6 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:06 2010 UTC (13 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.42.4.5: +11 -15 lines
Diff to previous 1.42.4.5 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

sync with head

Revision 1.54 / (download) - annotate - [select for diffs], Thu Sep 9 14:50:25 2010 UTC (13 years, 6 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3
Changes since 1.53: +11 -15 lines
Diff to previous 1.53 (colored) to selected 1.42.4.5 (colored)

Allow e?siop_dump_script() to work with on-chip RAM.  Prefix
DUMP_SCRIPT with SIOP_.  Additionally, avoid undefining DEBUG,
condition on SIOP_DEBUG instead.

Revision 1.49.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:46:09 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.49.2.1: +1 -1 lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored) to selected 1.42.4.5 (colored)

Sync with HEAD.

Revision 1.42.4.5 / (download) - annotate - [selected], Wed Aug 11 22:53:25 2010 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.42.4.4: +17 -7 lines
Diff to previous 1.42.4.4 (colored) to branchpoint 1.42 (colored)

sync with head.

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:21 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.51: +16 -5 lines
Diff to previous 1.51 (colored) to selected 1.42.4.5 (colored)

sync with head

Revision 1.53 / (download) - annotate - [select for diffs], Sun May 2 17:37:52 2010 UTC (13 years, 10 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored) to selected 1.42.4.5 (colored)

Add (missing) newlines to error messages.

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:15 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.49: +18 -8 lines
Diff to previous 1.49 (colored) to selected 1.42.4.5 (colored)

Sync with HEAD.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Apr 9 19:25:52 2010 UTC (13 years, 11 months ago) by jakllsch
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.51: +16 -5 lines
Diff to previous 1.51 (colored) to selected 1.42.4.5 (colored)

Improve error paths in (e)siop_scsipi_request():

 - When terminating the adapter request after the cmd has been removed
   from the free list, put that cmd back on the free list before returing.
 - Correctly indicate which bus_dma_load() failed.

Analysis and fix from Michael L. Hitch in PR/42844.

Revision 1.42.4.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:30 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.42.4.3: +3 -8 lines
Diff to previous 1.42.4.3 (colored) to branchpoint 1.42 (colored) to selected 1.42.4.5 (colored)

sync with head

Revision 1.51 / (download) - annotate - [select for diffs], Thu Mar 11 04:00:36 2010 UTC (14 years ago) by mrg
Branch: MAIN
Branch point for: rmind-uvmplock
Changes since 1.50: +3 -4 lines
Diff to previous 1.50 (colored) to selected 1.42.4.5 (colored)

various aprint_* fixes.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Feb 12 06:40:52 2010 UTC (14 years, 1 month ago) by dholland
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored) to selected 1.42.4.5 (colored)

Make ESIOP_DEBUG compile (on some platforms? depends on bus definitions...)
From Chris Ross in PR 42792.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Oct 19 18:41:12 2009 UTC (14 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip
Changes since 1.48: +2 -7 lines
Diff to previous 1.48 (colored) to selected 1.42.4.5 (colored)

Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !

Revision 1.42.4.3 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:47 2009 UTC (14 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.42.4.2: +7 -7 lines
Diff to previous 1.42.4.2 (colored) to branchpoint 1.42 (colored) to selected 1.42.4.5 (colored)

sync with head

Revision 1.48 / (download) - annotate - [select for diffs], Fri Sep 4 18:29:52 2009 UTC (14 years, 6 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8
Changes since 1.47: +7 -7 lines
Diff to previous 1.47 (colored) to selected 1.42.4.5 (colored)

Remove unnecessary whitespace.

Revision 1.42.18.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:31:47 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.42.18.1: +200 -175 lines
Diff to previous 1.42.18.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored) to selected 1.42.4.5 (colored)

Sync with HEAD.

Revision 1.42.4.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:23 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.42.4.1: +200 -175 lines
Diff to previous 1.42.4.1 (colored) to branchpoint 1.42 (colored) to selected 1.42.4.5 (colored)

sync with head

Revision 1.47 / (download) - annotate - [select for diffs], Sat May 16 03:57:57 2009 UTC (14 years, 10 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base
Changes since 1.46: +184 -159 lines
Diff to previous 1.46 (colored) to selected 1.42.4.5 (colored)

Misc cleanup:
- some KNF
- u_intNN_t -> uintNN_t
- wrap long lines and fix indent
- remove return statements at the end of void functions
- use __arraycount()

XXX: many inconsistent aprint_error_dev(9) vs printf(9)

Revision 1.46 / (download) - annotate - [select for diffs], Fri May 15 17:55:44 2009 UTC (14 years, 10 months ago) by tsutsui
Branch: MAIN
Changes since 1.45: +51 -51 lines
Diff to previous 1.45 (colored) to selected 1.42.4.5 (colored)

Split device_t/softc.

No crash on:
esiop0 at pci0 dev 11 function 0: Symbios Logic 53c875 (ultra-wide scsi)
siop0 at pci0 dev 9 function 0: Symbios Logic 53c810a (fast scsi)
siop0 at gsc0 hpa 0xf0830000 path 2/0/7 irq 3 ipl 6: NCR53C720 rev 2

Revision 1.42.18.1 / (download) - annotate - [select for diffs], Wed May 13 17:19:22 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.42: +24 -61 lines
Diff to previous 1.42 (colored) to selected 1.42.4.5 (colored)

Sync with HEAD.

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

Revision 1.42.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:41 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.42: +24 -61 lines
Diff to previous 1.42 (colored) to selected 1.42.4.5 (colored)

sync with head.

Revision 1.42.12.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:26 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.42: +24 -61 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.42.4.5 (colored)

Sync with HEAD.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Mar 15 15:52:12 2009 UTC (15 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored) to selected 1.42.4.5 (colored)

ansify function definitions

Revision 1.44 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:19 2009 UTC (15 years ago) by dsl
Branch: MAIN
Changes since 1.43: +3 -5 lines
Diff to previous 1.43 (colored) to selected 1.42.4.5 (colored)

ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:17 2009 UTC (15 years ago) by dsl
Branch: MAIN
Changes since 1.42: +22 -57 lines
Diff to previous 1.42 (colored) to selected 1.42.4.5 (colored)

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.41.16.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:21 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.41: +64 -81 lines
Diff to previous 1.41 (colored) next main 1.42 (colored) to selected 1.42.4.5 (colored)

Sync with HEAD.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Apr 8 12:07:26 2008 UTC (15 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base2, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, mjf-devfs2-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, nick-hppapmap, netbsd-5, jym-xensuspend
Changes since 1.41: +64 -81 lines
Diff to previous 1.41 (colored) to selected 1.42.4.5 (colored)

use aprint_*_dev and device_xname

Revision 1.39.16.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:26:36 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.39: +5 -4 lines
Diff to previous 1.39 (colored) next main 1.40 (colored) to selected 1.42.4.5 (colored)

sync with HEAD

Revision 1.33.2.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:30:40 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.33.2.3: +5 -4 lines
Diff to previous 1.33.2.3 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored) to selected 1.42.4.5 (colored)

sync with head.

Revision 1.39.14.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:44:44 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.39.14.1: +3 -3 lines
Diff to previous 1.39.14.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored) to selected 1.42.4.5 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:37:38 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored) next main 1.41 (colored) to selected 1.42.4.5 (colored)

Sync with HEAD.

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Tue Oct 23 20:07:23 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.39.2.1: +3 -3 lines
Diff to previous 1.39.2.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored) to selected 1.42.4.5 (colored)

Sync with head.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Oct 19 11:59:51 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: 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, 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, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored) to selected 1.42.4.5 (colored)

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Tue Oct 9 13:41:23 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.39: +4 -3 lines
Diff to previous 1.39 (colored) to selected 1.42.4.5 (colored)

Sync with head.

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

sync with head.

Revision 1.39.14.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:28:24 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.39: +4 -3 lines
Diff to previous 1.39 (colored) to selected 1.42.4.5 (colored)

Sync with HEAD.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Sep 30 11:59:41 2007 UTC (16 years, 6 months ago) by martin
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base
Branch point for: bouyer-xenamd64
Changes since 1.39: +4 -3 lines
Diff to previous 1.39 (colored) to selected 1.42.4.5 (colored)

Do not stop callouts on polled commands. Problem noticed by Chris Ross
when trying to do a kernel dump on sparc64.
Approved by Manuel Bouyer.

Revision 1.33.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:34:33 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.33.2.2: +4 -4 lines
Diff to previous 1.33.2.2 (colored) to branchpoint 1.33 (colored) to selected 1.42.4.5 (colored)

sync with head.

Revision 1.38.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:53:32 2007 UTC (17 years ago) by rmind
Branch: yamt-idlelwp
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored) next main 1.39 (colored) to selected 1.42.4.5 (colored)

Sync with HEAD.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:55 2007 UTC (17 years ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base, yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, vmlocking, matt-armv6, jmcneill-pm
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored) to selected 1.42.4.5 (colored)

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

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:02 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.33.2.1: +13 -13 lines
Diff to previous 1.33.2.1 (colored) to branchpoint 1.33 (colored) to selected 1.42.4.5 (colored)

sync with head.

Revision 1.35.22.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:05 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.35.22.1: +11 -11 lines
Diff to previous 1.35.22.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored) to selected 1.42.4.5 (colored)

sync with head.

Revision 1.35.20.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:11 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.35: +13 -13 lines
Diff to previous 1.35 (colored) next main 1.36 (colored) to selected 1.42.4.5 (colored)

Sync with head.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Nov 2 15:08:30 2006 UTC (17 years, 4 months ago) by garbled
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, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.37: +9 -7 lines
Diff to previous 1.37 (colored) to selected 1.42.4.5 (colored)

Comment out the debug options to siop, and change the undef to define.
This way they will be compiled by the i386 DEBUG kernel and tested.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Nov 2 14:55:04 2006 UTC (17 years, 4 months ago) by garbled
Branch: MAIN
Changes since 1.36: +4 -6 lines
Diff to previous 1.36 (colored) to selected 1.42.4.5 (colored)

Make these compile when SIOP_DEBUG is enabled, by nuking the reference to
t_offset, which no longer seems to exist.

Revision 1.35.22.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:44 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored) to selected 1.42.4.5 (colored)

sync with head

Revision 1.36 / (download) - annotate - [select for diffs], Fri Sep 29 14:28:46 2006 UTC (17 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored) to selected 1.42.4.5 (colored)

Coverity CID 3015: Check before using (from Arnaud Lacombe)

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

sync with head.

Revision 1.35 / (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-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.34: +8 -8 lines
Diff to previous 1.34 (colored) to selected 1.42.4.5 (colored)

__inline__ -> inline

Revision 1.16.2.7 / (download) - annotate - [select for diffs], Wed Dec 14 03:20:35 2005 UTC (18 years, 3 months ago) by jmc
Branch: netbsd-1-6
Changes since 1.16.2.6: +50 -15 lines
Diff to previous 1.16.2.6 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored) to selected 1.42.4.5 (colored)

Pullup via patch (requested in ticket #5957 by bouyer)
  Some drives disconnect after the last data phase without a save data pointer
  message. In such case we would not update resid with the proper value
  (eventually resid would not be updated at all if there was only one data
  phase). To fix this, have the script save the offset in the data tables at
  disconnect time if there was a transfer, and use this to compute the resid
  if the current offset is 0. PR#31990

Revision 1.19.2.6 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:50 2005 UTC (18 years, 3 months ago) by christos
Branch: ktrace-lwp
Changes since 1.19.2.5: +50 -15 lines
Diff to previous 1.19.2.5 (colored) next main 1.20 (colored) to selected 1.42.4.5 (colored)

Sync with head.

Revision 1.27.4.5.2.1 / (download) - annotate - [select for diffs], Thu Dec 1 20:05:31 2005 UTC (18 years, 3 months ago) by riz
Branch: netbsd-2-1
Changes since 1.27.4.5: +50 -15 lines
Diff to previous 1.27.4.5 (colored) next main 1.27.4.6 (colored) to selected 1.42.4.5 (colored)

Pull up following revision(s) (requested by bouyer in ticket #10168):
	sys/dev/ic/siop.c: revision 1.79 via patch
	sys/dev/ic/siopvar_common.h: revision 1.33 via patch
	sys/dev/ic/esiopvar.h: revision 1.13 via patch
	sys/dev/ic/esiop.c: revision 1.34 via patch
	sys/dev/microcode/siop/esiop.ss: revision 1.20 via patch
	sys/dev/ic/siopvar.h: revision 1.22 via patch
	sys/dev/microcode/siop/siop.ss: revision 1.20 via patch
Some drives disconnect after the last data phase without a save data pointer
message. In such case we would not update resid with the proper value
(eventually resid would not be updated at all if there was only one data
phase). To fix this, have the script save the offset in the data tables at
disconnect time if there was a transfer, and use this to compute the resid
if the current offset is 0.
Problem reported and patch tested by edwin, Roy Bixler and YAMAMOTO Takashi.
Fix kern/31990 by YAMAMOTO Takashi.

Revision 1.27.4.6 / (download) - annotate - [select for diffs], Thu Dec 1 20:05:26 2005 UTC (18 years, 3 months ago) by riz
Branch: netbsd-2
Changes since 1.27.4.5: +50 -15 lines
Diff to previous 1.27.4.5 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored) to selected 1.42.4.5 (colored)

Pull up following revision(s) (requested by bouyer in ticket #10168):
	sys/dev/ic/siop.c: revision 1.79 via patch
	sys/dev/ic/siopvar_common.h: revision 1.33 via patch
	sys/dev/ic/esiopvar.h: revision 1.13 via patch
	sys/dev/ic/esiop.c: revision 1.34 via patch
	sys/dev/microcode/siop/esiop.ss: revision 1.20 via patch
	sys/dev/ic/siopvar.h: revision 1.22 via patch
	sys/dev/microcode/siop/siop.ss: revision 1.20 via patch
Some drives disconnect after the last data phase without a save data pointer
message. In such case we would not update resid with the proper value
(eventually resid would not be updated at all if there was only one data
phase). To fix this, have the script save the offset in the data tables at
disconnect time if there was a transfer, and use this to compute the resid
if the current offset is 0.
Problem reported and patch tested by edwin, Roy Bixler and YAMAMOTO Takashi.
Fix kern/31990 by YAMAMOTO Takashi.

Revision 1.33.8.1 / (download) - annotate - [select for diffs], Tue Nov 22 16:08:07 2005 UTC (18 years, 4 months ago) by yamt
Branch: yamt-readahead
Changes since 1.33: +50 -15 lines
Diff to previous 1.33 (colored) next main 1.34 (colored) to selected 1.42.4.5 (colored)

sync with head.

Revision 1.32.4.2 / (download) - annotate - [select for diffs], Mon Nov 21 20:55:44 2005 UTC (18 years, 4 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, 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-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.32.4.1: +48 -13 lines
Diff to previous 1.32.4.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored) to selected 1.42.4.5 (colored)

Pull up following revision(s) (requested by bouyer in ticket #973):
	sys/dev/ic/siop.c: revision 1.79
	sys/dev/ic/siopvar_common.h: revision 1.33
	sys/dev/ic/esiopvar.h: revision 1.13
	sys/dev/ic/esiop.c: revision 1.34
	sys/dev/microcode/siop/esiop.ss: revision 1.20
	sys/dev/ic/siopvar.h: revision 1.22
	sys/dev/microcode/siop/siop.ss: revision 1.20
Some drives disconnect after the last data phase without a save data pointer
message. In such case we would not update resid with the proper value
(eventually resid would not be updated at all if there was only one data
phase). To fix this, have the script save the offset in the data tables at
disconnect time if there was a transfer, and use this to compute the resid
if the current offset is 0.
Problem reported and patch tested by edwin, Roy Bixler and YAMAMOTO Takashi.
Fix kern/31990 by YAMAMOTO Takashi.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Nov 18 23:10:32 2005 UTC (18 years, 4 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-readahead-base3, yamt-readahead-base2, ktrace-lwp-base
Changes since 1.33: +50 -15 lines
Diff to previous 1.33 (colored) to selected 1.42.4.5 (colored)

Some drives disconnect after the last data phase without a save data pointer
message. In such case we would not update resid with the proper value
(eventually resid would not be updated at all if there was only one data
phase). To fix this, have the script save the offset in the data tables at
disconnect time if there was a transfer, and use this to compute the resid
if the current offset is 0.
Problem reported and patch tested by edwin, Roy Bixler and YAMAMOTO Takashi.
Fix kern/31990 by YAMAMOTO Takashi.

Revision 1.27.4.5 / (download) - annotate - [select for diffs], Mon May 16 05:15:48 2005 UTC (18 years, 10 months ago) by riz
Branch: netbsd-2
CVS Tags: 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
Branch point for: netbsd-2-1
Changes since 1.27.4.4: +6 -4 lines
Diff to previous 1.27.4.4 (colored) to branchpoint 1.27 (colored) to selected 1.42.4.5 (colored)

Pull up revision 1.33 (requested by bouyer in ticket #1514):
Don't assume all LUNs are probed before scsipi sets the mode, and always check
if lun_tagtbl needs to be allocated. Patch from john heasley in kern/29603.

Revision 1.27.4.4 / (download) - annotate - [select for diffs], Wed May 11 04:11:31 2005 UTC (18 years, 10 months ago) by snj
Branch: netbsd-2
Changes since 1.27.4.3: +3 -5 lines
Diff to previous 1.27.4.3 (colored) to branchpoint 1.27 (colored) to selected 1.42.4.5 (colored)

Pull up revision 1.31 (requested by bouyer in ticket #1368):
Rmove a redundant BUS_DMASYNC_POSTREAD | BUS_DMASYNC_POSTWRITE, and fix
another one (POST -> PRE)

Revision 1.27.4.3 / (download) - annotate - [select for diffs], Wed May 11 03:59:07 2005 UTC (18 years, 10 months ago) by snj
Branch: netbsd-2
Changes since 1.27.4.2: +34 -2 lines
Diff to previous 1.27.4.2 (colored) to branchpoint 1.27 (colored) to selected 1.42.4.5 (colored)

Pull up revision 1.30 (requested by bouyer in ticket #1366):
Add support for the Ignore Wide Residue SCSI message.

Revision 1.27.4.2 / (download) - annotate - [select for diffs], Wed May 11 03:49:01 2005 UTC (18 years, 10 months ago) by snj
Branch: netbsd-2
Changes since 1.27.4.1: +38 -76 lines
Diff to previous 1.27.4.1 (colored) to branchpoint 1.27 (colored) to selected 1.42.4.5 (colored)

Pull up revision 1.29 (requested by bouyer in ticket #1365):
when an unexpected disconnect occurs only compute the resid; do the
real save data pointers when we get the message (or rather, at disconnect
time following the message).
Factor out code to do this, and to deal with xs->resid, in siop_common.c.

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Wed May 11 03:20:17 2005 UTC (18 years, 10 months ago) by snj
Branch: netbsd-2
Changes since 1.27: +44 -9 lines
Diff to previous 1.27 (colored) to selected 1.42.4.5 (colored)

Pull up revision 1.28 (requested by bouyer in ticket #1364):
Properly compute xs->resid, instead of assuming it'll always be 0 when
a command is done.

Revision 1.16.2.6 / (download) - annotate - [select for diffs], Sun May 1 09:59:59 2005 UTC (18 years, 11 months ago) by tron
Branch: netbsd-1-6
Changes since 1.16.2.5: +6 -4 lines
Diff to previous 1.16.2.5 (colored) to branchpoint 1.16 (colored) to selected 1.42.4.5 (colored)

Pull up revision 1.33 (requested by bouyer in ticket #5755):
Don't assume all LUNs are probed before scsipi sets the mode, and always check
if lun_tagtbl needs to be allocated. Patch from john heasley in kern/29603.

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:49 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.31: +27 -26 lines
Diff to previous 1.31 (colored) next main 1.32 (colored) to selected 1.42.4.5 (colored)

sync with -current

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Thu Apr 21 16:55:20 2005 UTC (18 years, 11 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-0-RC1
Changes since 1.32: +6 -4 lines
Diff to previous 1.32 (colored) to selected 1.42.4.5 (colored)

Pull up revision 1.33 (requested by bouyer in ticket #171):
Don't assume all LUNs are probed before scsipi sets the mode, and always check
if lun_tagtbl needs to be allocated. Patch from john heasley in kern/29603.

Revision 1.19.2.5 / (download) - annotate - [select for diffs], Fri Apr 1 14:29:52 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.19.2.4: +6 -4 lines
Diff to previous 1.19.2.4 (colored) to selected 1.42.4.5 (colored)

Sync with HEAD.

Revision 1.31.6.2 / (download) - annotate - [select for diffs], Sat Mar 26 18:19:19 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.31.6.1: +4 -2 lines
Diff to previous 1.31.6.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored) to selected 1.42.4.5 (colored)

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Mar 23 21:23:15 2005 UTC (19 years ago) by bouyer
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base, yamt-km-base4, thorpej-vnode-attr-base, thorpej-vnode-attr, kent-audio2-base
Branch point for: yamt-readahead, yamt-lazymbuf
Changes since 1.32: +6 -4 lines
Diff to previous 1.32 (colored) to selected 1.42.4.5 (colored)

Don't assume all LUNs are probed before scsipi sets the mode, and always check
if lun_tagtbl needs to be allocated. Patch from john heasley in kern/29603.

Revision 1.16.2.5 / (download) - annotate - [select for diffs], Sat Mar 19 01:47:26 2005 UTC (19 years ago) by tron
Branch: netbsd-1-6
Changes since 1.16.2.4: +3 -5 lines
Diff to previous 1.16.2.4 (colored) to branchpoint 1.16 (colored) to selected 1.42.4.5 (colored)

Pull up revision 1.31 (requested by bouyer in ticket #1752):
Rmove a redundant BUS_DMASYNC_POSTREAD | BUS_DMASYNC_POSTWRITE, and fix
another one (POST -> PRE)

Revision 1.16.2.4 / (download) - annotate - [select for diffs], Sat Mar 19 01:44:15 2005 UTC (19 years ago) by tron
Branch: netbsd-1-6
Changes since 1.16.2.3: +34 -2 lines
Diff to previous 1.16.2.3 (colored) to branchpoint 1.16 (colored) to selected 1.42.4.5 (colored)

Pull up revision 1.30 (requested by bouyer in ticket #1751):
Add support for the Ignore Wide Residue SCSI message.

Revision 1.16.2.3 / (download) - annotate - [select for diffs], Thu Mar 17 17:50:08 2005 UTC (19 years ago) by tron
Branch: netbsd-1-6
Changes since 1.16.2.2: +38 -76 lines
Diff to previous 1.16.2.2 (colored) to branchpoint 1.16 (colored) to selected 1.42.4.5 (colored)

Pull up revision 1.29 (requested by bouyer in ticket #1750):
when an unexpected disconnect occurs only compute the resid; do the
real save data pointers when we get the message (or rather, at disconnect
time following the message).
Factor out code to do this, and to deal with xs->resid, in siop_common.c.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Thu Mar 17 17:43:45 2005 UTC (19 years ago) by tron
Branch: netbsd-1-6
Changes since 1.16.2.1: +44 -9 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored) to selected 1.42.4.5 (colored)

Pull up revision 1.28 (requested by bouyer in ticket #1749):
Properly compute xs->resid, instead of assuming it'll always be 0 when
a command is done.

Revision 1.31.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:43 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.31: +23 -24 lines
Diff to previous 1.31 (colored) to selected 1.42.4.5 (colored)

sync with head.

Revision 1.19.2.4 / (download) - annotate - [select for diffs], Fri Feb 4 11:45:25 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.19.2.3: +23 -24 lines
Diff to previous 1.19.2.3 (colored) to selected 1.42.4.5 (colored)

Sync with HEAD.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Feb 4 02:10:36 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base3, yamt-km-base2, netbsd-3-base
Branch point for: netbsd-3
Changes since 1.31: +23 -24 lines
Diff to previous 1.31 (colored) to selected 1.42.4.5 (colored)

de-__P

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

Fix the sync with head I botched.

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:45:57 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.19.2.1: +0 -0 lines
Diff to previous 1.19.2.1 (colored) to selected 1.42.4.5 (colored)

Sync with HEAD.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:46:13 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.19: +79 -52 lines
Diff to previous 1.19 (colored) to selected 1.42.4.5 (colored)

Sync with HEAD

Revision 1.31 / (download) - annotate - [select for diffs], Thu May 20 20:57:50 2004 UTC (19 years, 10 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.30: +3 -5 lines
Diff to previous 1.30 (colored) to selected 1.42.4.5 (colored)

Rmove a redundant BUS_DMASYNC_POSTREAD | BUS_DMASYNC_POSTWRITE, and fix
another one (POST -> PRE)

Revision 1.30 / (download) - annotate - [select for diffs], Mon May 17 20:12:34 2004 UTC (19 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.29: +34 -2 lines
Diff to previous 1.29 (colored) to selected 1.42.4.5 (colored)

Add support for the Ignore Wide Residue SCSI message.

Revision 1.29 / (download) - annotate - [select for diffs], Mon May 17 18:37:02 2004 UTC (19 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.28: +36 -74 lines
Diff to previous 1.28 (colored) to selected 1.42.4.5 (colored)

when an unexpected disconnect occurs only compute the resid; do the
real save data pointers when we get the message (or rather, at disconnect
time following the message).
Factor out code to do this, and to deal with xs->resid, in siop_common.c.

Revision 1.28 / (download) - annotate - [select for diffs], Mon May 17 11:10:24 2004 UTC (19 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.27: +44 -9 lines
Diff to previous 1.27 (colored) to selected 1.42.4.5 (colored)

Properly compute xs->resid, instead of assuming it'll always be 0 when
a command is done.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Sun Mar 28 08:52:52 2004 UTC (20 years ago) by jmc
Branch: netbsd-1-6
Changes since 1.16: +3 -4 lines
Diff to previous 1.16 (colored) to selected 1.42.4.5 (colored)

Pullup rev 1.25 (requested by bouyer in ticket #1633)

The real value of the message is in msgin, not esiop_cmd->cmd_tables->msg_in[0],
so print the correct value.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Mar 16 19:10:43 2004 UTC (20 years ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0
Branch point for: netbsd-2
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored) to selected 1.42.4.5 (colored)

cbd -> cdb
Command Block Descriptor -> Command Descriptor Block
Pointed out by Allen Briggs.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Mar 15 22:43:43 2004 UTC (20 years ago) by bouyer
Branch: MAIN
Changes since 1.25: +5 -3 lines
Diff to previous 1.25 (colored) to selected 1.42.4.5 (colored)

Extract the code printing the CBD from scsipi_print_sense(), so that it's
usable in other context.
Use the new scsipi_print_cbd() to dump the command in case of timeout
in siop/esiop.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Mar 10 21:51:29 2004 UTC (20 years ago) by bouyer
Branch: MAIN
Changes since 1.24: +3 -4 lines
Diff to previous 1.24 (colored) to selected 1.42.4.5 (colored)

The real value of the message is in msgin, not
esiop_cmd->cmd_tables->msg_in[0], so print the correct value.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Nov 2 11:07:45 2003 UTC (20 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.23: +6 -6 lines
Diff to previous 1.23 (colored) to selected 1.42.4.5 (colored)

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

Revision 1.23 / (download) - annotate - [select for diffs], Wed Oct 29 01:12:23 2003 UTC (20 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) to selected 1.42.4.5 (colored)

XXX: gcc

Revision 1.22 / (download) - annotate - [select for diffs], Sat Oct 25 18:35:42 2003 UTC (20 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored) to selected 1.42.4.5 (colored)

Fix uninitialized variable warnings

Revision 1.21 / (download) - annotate - [select for diffs], Mon Aug 4 19:50:11 2003 UTC (20 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.20: +2 -3 lines
Diff to previous 1.20 (colored) to selected 1.42.4.5 (colored)

Remove unused esiop_scsicmd() prototype.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jul 3 11:12:32 2003 UTC (20 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored) to selected 1.42.4.5 (colored)

Avoid an obscure gcc3 complaint about
"dereferencing type-punned pointer" by a cast to "void *".
I don't completely understand the warning, but it helps.

Revision 1.19 / (download) - annotate - [select for diffs], Sat May 3 18:11:17 2003 UTC (20 years, 11 months ago) by wiz
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) to selected 1.42.4.5 (colored)

DMA, not dma nor Dma.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jan 31 00:26:30 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.17: +7 -7 lines
Diff to previous 1.17 (colored) to selected 1.42.4.5 (colored)

Use aprint_*().

Revision 1.16.6.3 / (download) - annotate - [select for diffs], Fri Sep 6 08:44:16 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.16.6.2: +3 -3 lines
Diff to previous 1.16.6.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored) to selected 1.42.4.5 (colored)

sync kqueue branch with HEAD

Revision 1.16.4.3 / (download) - annotate - [select for diffs], Thu Aug 1 02:44:42 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.16.4.2: +3 -3 lines
Diff to previous 1.16.4.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored) to selected 1.42.4.5 (colored)

Catch up to -current.

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Sat Jul 20 11:35:07 2002 UTC (21 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.14.2.1: +3 -3 lines
Diff to previous 1.14.2.1 (colored) next main 1.15 (colored) to selected 1.42.4.5 (colored)

catch up with -current.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jul 18 11:59:08 2002 UTC (21 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, fvdl_fs64_base
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) to selected 1.42.4.5 (colored)

Spell 'should' correctly.

Revision 1.16.6.2 / (download) - annotate - [select for diffs], Sun Jun 23 17:46:22 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.16.6.1: +2158 -0 lines
Diff to previous 1.16.6.1 (colored) to branchpoint 1.16 (colored) to selected 1.42.4.5 (colored)

catch up with -current on kqueue branch

Revision 1.16.4.2 / (download) - annotate - [select for diffs], Thu Jun 20 03:44:33 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.16.4.1: +2158 -0 lines
Diff to previous 1.16.4.1 (colored) to branchpoint 1.16 (colored) to selected 1.42.4.5 (colored)

Catch up to -current.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Thu May 30 14:45:38 2002 UTC (21 years, 10 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.14: +6 -4 lines
Diff to previous 1.14 (colored) to selected 1.42.4.5 (colored)

Catch up with -current.

Revision 1.16.6.1, Sat May 18 16:09:43 2002 UTC (21 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.16: +0 -2158 lines
FILE REMOVED

file esiop.c was added on branch kqueue on 2002-06-23 17:46:22 +0000

Revision 1.16.4.1, Sat May 18 16:09:43 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.16: +0 -2158 lines
FILE REMOVED

file esiop.c was added on branch nathanw_sa on 2002-06-20 03:44:33 +0000

Revision 1.16 / (download) - annotate - [select for diffs], Sat May 18 16:09:43 2002 UTC (21 years, 10 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, 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
Branch point for: netbsd-1-6, nathanw_sa, kqueue
Changes since 1.15: +4 -2 lines
Diff to previous 1.15 (colored) to selected 1.42.4.5 (colored)

Be more verbose when returning XS_DRIVER_STUFFUP

Revision 1.15 / (download) - annotate - [select for diffs], Thu May 16 02:50:53 2002 UTC (21 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored) to selected 1.42.4.5 (colored)

Don't access a scsipi channel's periph table directly; use
scsipi_lookup_periph().

Revision 1.14 / (download) - annotate - [select for diffs], Sat May 4 17:51:16 2002 UTC (21 years, 10 months ago) by bouyer
Branch: MAIN
Branch point for: gehenna-devsw
Changes since 1.13: +8 -2 lines
Diff to previous 1.13 (colored) to selected 1.42.4.5 (colored)

More debug printfs.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Apr 29 15:44:16 2002 UTC (21 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.12: +10 -2 lines
Diff to previous 1.12 (colored) to selected 1.42.4.5 (colored)

Add a missing esiop_script_sync(), and debug messages improvements.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Apr 27 18:46:49 2002 UTC (21 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.11: +58 -21 lines
Diff to previous 1.11 (colored) to selected 1.42.4.5 (colored)

Use a u_int32_t in script RAM instead of the SEM bit in ISTAT to pass flags
between script and driver. This allows more than one flag, and is easier to
manage (we almost can't read/write istat outside of the irq handler).

Revision 1.11 / (download) - annotate - [select for diffs], Sat Apr 27 17:39:51 2002 UTC (21 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.10: +126 -55 lines
Diff to previous 1.10 (colored) to selected 1.42.4.5 (colored)

Implement a ring for the completed commands. This avoid a (problematic only
if error occurs after status is collected) race condition
when using the status byte to detect completed commands (a command descriptor
could be recycled before the device disconnected), and make the
interrupt routine handling completed commands more efficient (no need to
scan target * lun * tag array any more).

Revision 1.10 / (download) - annotate - [select for diffs], Thu Apr 25 20:05:10 2002 UTC (21 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.9: +10 -4 lines
Diff to previous 1.9 (colored) to selected 1.42.4.5 (colored)

It's not safe to access the SCNTL1 register while the SCRIPT is running.
On the 1010 this can wedge the chip. So abort the script instead.
the abort interrupt will trigger a bus reset.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Apr 25 19:34:02 2002 UTC (21 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.8: +147 -131 lines
Diff to previous 1.8 (colored) to selected 1.42.4.5 (colored)

- We can't share the per-lun DSA entry for untagged and tag table DSA;
  there may be tagged commands still running when we queue a request sense
  command.
  Solve this by using 2 DSA entry per LUN
- Now that we have the command DSA before select, we can load T/L/Q in
  SCRATCHC. This makes the selection timeout handler simpler.
- Avoid a race condition when setting the free flag in the cmd ring (see
  comment in the script)
- don't forget to update the ID in the head of LUN table after a sync/wide
  negotiation. This fixes the command timeout at the first data command
  after negotiation (the bus reset handler did update the ID properly,
  so subsequent commands were OK).
- for DMA interrupts, clear fifo if it's not empty. Leaving the fifo dirty
  would prevent subsequent interrupts from coming in.
- Various improvements in debug messages
- misc cleanups.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Apr 24 09:43:14 2002 UTC (21 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.7: +16 -55 lines
Diff to previous 1.7 (colored) to selected 1.42.4.5 (colored)

For a new command, use the id in the command table and get rid of the ID in the
scheduler slot. This costs a few more instructions but divide the size of the
scheduler ring by 2, saving 1k of onboard RAM (a bus with 15 devices would
overflow the on-board RAM by 128 bytes).

Revision 1.7 / (download) - annotate - [select for diffs], Tue Apr 23 20:41:16 2002 UTC (21 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) to selected 1.42.4.5 (colored)

More copyright fixes, pointed out by Thomas. Thanks !

Revision 1.6 / (download) - annotate - [select for diffs], Tue Apr 23 17:33:27 2002 UTC (21 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.5: +52 -85 lines
Diff to previous 1.5 (colored) to selected 1.42.4.5 (colored)

- factor out parts of (e)siop_attach() to siop_common_attach()
- Add support for DT transfers (aka Ultra/160) in esiop

Note that DT transfers are not enabled for 53c1010-33 rev 0 yet; if I trust
FreeBSD it has a bug which prevent them to do DT properly.
From the same source there may be issues with some revs of 53c1010-66.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Apr 23 12:55:27 2002 UTC (21 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.4: +12 -7 lines
Diff to previous 1.4 (colored) to selected 1.42.4.5 (colored)

Bump the space for SCSI messages from 8 to 16 octets, as 8 may not be
enouth for IDENTIFY + TAG + PPR.
Get rid of constants in C code by use of a offsetof macro.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Apr 23 10:38:37 2002 UTC (21 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.3: +33 -30 lines
Diff to previous 1.3 (colored) to selected 1.42.4.5 (colored)

Enable software LED control based on LED0 feature, not #define.
For now, set the LED0 feature if SIOP_SYMLED is defined in siop_pci_common.c.
From Jason R Thorpe.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 22 20:47:20 2002 UTC (21 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.2: +57 -24 lines
Diff to previous 1.2 (colored) to selected 1.42.4.5 (colored)

Adapt for script "wait MSG_OUT after select" change: now, when we get
selection timeout, SCRATCHE points to the slot which triggered the timeout,
not the next one.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Apr 22 15:53:39 2002 UTC (21 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.1: +241 -137 lines
Diff to previous 1.1 (colored) to selected 1.42.4.5 (colored)

Add support for tagged queuing to esiop (256 tags per device).
For this add another indirecton: the DSA in the LUN table points to
a table of DSA indexed by the tag number when tagged command is in use.
For non tagged command, the LUN DSA still points to the tables describing the
xfer directly.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Apr 21 22:52:05 2002 UTC (21 years, 11 months ago) by bouyer
Branch: MAIN
Diff to selected 1.42.4.5 (colored)

First cut at a esiop driver (enhanced siop). Doesn't implement tagged queuing
yet.
If is restricted to SIOP which implement the load/store instruction, and
has 10 scratch registers (basically, 825 and newer, possibly 770).
It implements a different interface between host and script, using a real
ring for command starts, and improved support for reconnect which will allow
256 tag per device. It uses interrupt on the fly to signal complete command,
which allows several commands to be serviced per interrupt and doesn't require
the script to stop to signal command completion.

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>