The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.105 / (download) - annotate - [select for diffs], Thu Feb 8 19:44:08 2024 UTC (2 months, 1 week ago) by andvar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.104: +3 -3 lines
Diff to previous 1.104 (colored) to selected 1.48 (colored)

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

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

s/ourselve/ourselves/ in comments.

Revision 1.103 / (download) - annotate - [select for diffs], Wed Feb 23 21:54:41 2022 UTC (2 years, 1 month ago) by andvar
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored) to selected 1.48 (colored)

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

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

Merge thorpej-cfargs2.

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

Adapt to CFARGS().

Revision 1.101 / (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.100: +3 -3 lines
Diff to previous 1.100 (colored) to selected 1.48 (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.100.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.100: +3 -3 lines
Diff to previous 1.100 (colored) next main 1.101 (colored) to selected 1.48 (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.98.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.98: +7 -3 lines
Diff to previous 1.98 (colored) next main 1.99 (colored) to selected 1.48 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.98.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.98: +9 -5 lines
Diff to previous 1.98 (colored) next main 1.99 (colored) to selected 1.48 (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.98.22.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:38 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.98: +9 -5 lines
Diff to previous 1.98 (colored) next main 1.99 (colored) to selected 1.48 (colored)

sync with head

Revision 1.100 / (download) - annotate - [select for diffs], Sat Nov 2 13:59:14 2013 UTC (10 years, 5 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.99: +8 -4 lines
Diff to previous 1.99 (colored) to selected 1.48 (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.99 / (download) - annotate - [select for diffs], Wed Oct 30 08:40:32 2013 UTC (10 years, 5 months ago) by gson
Branch: MAIN
Changes since 1.98: +3 -3 lines
Diff to previous 1.98 (colored) to selected 1.48 (colored)

Fix incorrect function names in panic message strings.

Revision 1.94.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:20 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.94.4.1: +11 -18 lines
Diff to previous 1.94.4.1 (colored) to branchpoint 1.94 (colored) next main 1.95 (colored) to selected 1.48 (colored)

sync with head

Revision 1.87.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.87.14.1: +3 -3 lines
Diff to previous 1.87.14.1 (colored) to branchpoint 1.87 (colored) next main 1.88 (colored) to selected 1.48 (colored)

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

Revision 1.87.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.87: +19 -5 lines
Diff to previous 1.87 (colored) to selected 1.48 (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.98 / (download) - annotate - [select for diffs], Sat Nov 13 13:52:02 2010 UTC (13 years, 5 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, netbsd-6, 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
Changes since 1.97: +2 -4 lines
Diff to previous 1.97 (colored) to selected 1.48 (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.94.2.3 / (download) - annotate - [select for diffs], Fri Oct 22 07:21:58 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.94.2.2: +9 -14 lines
Diff to previous 1.94.2.2 (colored) to branchpoint 1.94 (colored) next main 1.95 (colored) to selected 1.48 (colored)

Sync with HEAD (-D20101022).

Revision 1.87.4.6 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:06 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.87.4.5: +11 -16 lines
Diff to previous 1.87.4.5 (colored) to branchpoint 1.87 (colored) next main 1.88 (colored) to selected 1.48 (colored)

sync with head

Revision 1.97 / (download) - annotate - [select for diffs], Thu Sep 9 14:50:25 2010 UTC (13 years, 7 months ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3
Changes since 1.96: +11 -16 lines
Diff to previous 1.96 (colored) to selected 1.48 (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.94.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:46:12 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.94.2.1: +1 -1 lines
Diff to previous 1.94.2.1 (colored) to branchpoint 1.94 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.87.4.5 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:31 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.87.4.4: +18 -5 lines
Diff to previous 1.87.4.4 (colored) to branchpoint 1.87 (colored) to selected 1.48 (colored)

sync with head.

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

sync with head

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

Add (missing) newlines to error messages.

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

Sync with HEAD.

Revision 1.95 / (download) - annotate - [select for diffs], Fri Apr 9 19:25:52 2010 UTC (14 years ago) by jakllsch
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.94: +18 -5 lines
Diff to previous 1.94 (colored) to selected 1.48 (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.87.4.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:35 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.87.4.3: +2 -7 lines
Diff to previous 1.87.4.3 (colored) to branchpoint 1.87 (colored) to selected 1.48 (colored)

sync with head

Revision 1.94 / (download) - annotate - [select for diffs], Mon Oct 19 18:41:13 2009 UTC (14 years, 6 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.93: +2 -7 lines
Diff to previous 1.93 (colored) to selected 1.48 (colored)

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

Revision 1.87.4.3 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:48 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.87.4.2: +10 -10 lines
Diff to previous 1.87.4.2 (colored) to branchpoint 1.87 (colored) to selected 1.48 (colored)

sync with head

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

Remove unnecessary whitespace.

Revision 1.87.18.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:31:48 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.87.18.1: +161 -132 lines
Diff to previous 1.87.18.1 (colored) to branchpoint 1.87 (colored) next main 1.88 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.87.4.2 / (download) - annotate - [select for diffs], Sat May 16 10:41:24 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.87.4.1: +161 -132 lines
Diff to previous 1.87.4.1 (colored) to branchpoint 1.87 (colored) to selected 1.48 (colored)

sync with head

Revision 1.92 / (download) - annotate - [select for diffs], Sat May 16 03:57:57 2009 UTC (14 years, 11 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.91: +143 -114 lines
Diff to previous 1.91 (colored) to selected 1.48 (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.91 / (download) - annotate - [select for diffs], Fri May 15 17:55:44 2009 UTC (14 years, 11 months ago) by tsutsui
Branch: MAIN
Changes since 1.90: +53 -53 lines
Diff to previous 1.90 (colored) to selected 1.48 (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.87.18.1 / (download) - annotate - [select for diffs], Wed May 13 17:19:24 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.87: +23 -58 lines
Diff to previous 1.87 (colored) to selected 1.48 (colored)

Sync with HEAD.

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

Revision 1.87.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:44 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.87: +23 -58 lines
Diff to previous 1.87 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.87.12.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:27 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.87: +23 -58 lines
Diff to previous 1.87 (colored) next main 1.88 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.90 / (download) - annotate - [select for diffs], Sun Mar 15 17:24:43 2009 UTC (15 years, 1 month 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.89: +3 -3 lines
Diff to previous 1.89 (colored) to selected 1.48 (colored)

ansify function definitions

Revision 1.89 / (download) - annotate - [select for diffs], Sat Mar 14 21:04:20 2009 UTC (15 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.88: +3 -5 lines
Diff to previous 1.88 (colored) to selected 1.48 (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.88 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:17 2009 UTC (15 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.87: +21 -54 lines
Diff to previous 1.87 (colored) to selected 1.48 (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.85.16.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:27 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.85.16.1: +66 -79 lines
Diff to previous 1.85.16.1 (colored) to branchpoint 1.85 (colored) next main 1.86 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.87 / (download) - annotate - [select for diffs], Tue Apr 8 12:07:27 2008 UTC (16 years 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.86: +68 -81 lines
Diff to previous 1.86 (colored) to selected 1.48 (colored)

use aprint_*_dev and device_xname

Revision 1.85.16.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:42 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.85: +78 -65 lines
Diff to previous 1.85 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.86 / (download) - annotate - [select for diffs], Thu Mar 27 10:06:30 2008 UTC (16 years ago) by skrll
Branch: MAIN
Changes since 1.85: +78 -65 lines
Diff to previous 1.85 (colored) to selected 1.48 (colored)

Add support for the (non-pci) NCR 53c720/770 in big-endian mode.

From OpenBSD (Mark Kettenis)

Revision 1.83.16.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:27:08 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.83: +5 -4 lines
Diff to previous 1.83 (colored) next main 1.84 (colored) to selected 1.48 (colored)

sync with HEAD

Revision 1.78.4.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:31:02 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.78.4.3: +5 -4 lines
Diff to previous 1.78.4.3 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.83.14.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:45:00 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.83.14.1: +3 -3 lines
Diff to previous 1.83.14.1 (colored) to branchpoint 1.83 (colored) next main 1.84 (colored) to selected 1.48 (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.84.2.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:37:57 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.84: +3 -3 lines
Diff to previous 1.84 (colored) next main 1.85 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.83.2.2 / (download) - annotate - [select for diffs], Tue Oct 23 20:07:43 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.83.2.1: +3 -3 lines
Diff to previous 1.83.2.1 (colored) to branchpoint 1.83 (colored) next main 1.84 (colored) to selected 1.48 (colored)

Sync with head.

Revision 1.85 / (download) - annotate - [select for diffs], Fri Oct 19 12:00:00 2007 UTC (16 years, 6 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.84: +3 -3 lines
Diff to previous 1.84 (colored) to selected 1.48 (colored)

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

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

Sync with head.

Revision 1.83.18.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:31:17 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.83: +4 -3 lines
Diff to previous 1.83 (colored) next main 1.84 (colored) to selected 1.48 (colored)

sync with head.

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

Sync with HEAD.

Revision 1.84 / (download) - annotate - [select for diffs], Sun Sep 30 11:59:42 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.83: +4 -3 lines
Diff to previous 1.83 (colored) to selected 1.48 (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.78.4.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:35:12 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.78.4.2: +5 -5 lines
Diff to previous 1.78.4.2 (colored) to branchpoint 1.78 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.82.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:53:45 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.82: +5 -5 lines
Diff to previous 1.82 (colored) next main 1.83 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.83 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:01 2007 UTC (17 years, 1 month 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.82: +5 -5 lines
Diff to previous 1.82 (colored) to selected 1.48 (colored)

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

Revision 1.78.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:04 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.78.4.1: +11 -11 lines
Diff to previous 1.78.4.1 (colored) to branchpoint 1.78 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.80.22.1 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:07 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.80: +11 -11 lines
Diff to previous 1.80 (colored) next main 1.81 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.80.20.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:14 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.80: +11 -11 lines
Diff to previous 1.80 (colored) next main 1.81 (colored) to selected 1.48 (colored)

Sync with head.

Revision 1.82 / (download) - annotate - [select for diffs], Thu Nov 2 15:08:30 2006 UTC (17 years, 5 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.81: +9 -7 lines
Diff to previous 1.81 (colored) to selected 1.48 (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.81 / (download) - annotate - [select for diffs], Thu Nov 2 14:55:04 2006 UTC (17 years, 5 months ago) by garbled
Branch: MAIN
Changes since 1.80: +4 -6 lines
Diff to previous 1.80 (colored) to selected 1.48 (colored)

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

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

sync with head.

Revision 1.80 / (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-base2, 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.79: +8 -8 lines
Diff to previous 1.79 (colored) to selected 1.48 (colored)

__inline__ -> inline

Revision 1.62.2.6 / (download) - annotate - [select for diffs], Wed Dec 14 03:20:35 2005 UTC (18 years, 4 months ago) by jmc
Branch: netbsd-1-6
Changes since 1.62.2.5: +30 -4 lines
Diff to previous 1.62.2.5 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored) to selected 1.48 (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.66.2.7 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:51 2005 UTC (18 years, 4 months ago) by christos
Branch: ktrace-lwp
Changes since 1.66.2.6: +30 -4 lines
Diff to previous 1.66.2.6 (colored) next main 1.67 (colored) to selected 1.48 (colored)

Sync with head.

Revision 1.72.4.4.2.1 / (download) - annotate - [select for diffs], Thu Dec 1 20:05:31 2005 UTC (18 years, 4 months ago) by riz
Branch: netbsd-2-1
Changes since 1.72.4.4: +30 -4 lines
Diff to previous 1.72.4.4 (colored) next main 1.72.4.5 (colored) to selected 1.48 (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.72.4.5 / (download) - annotate - [select for diffs], Thu Dec 1 20:05:26 2005 UTC (18 years, 4 months ago) by riz
Branch: netbsd-2
Changes since 1.72.4.4: +30 -4 lines
Diff to previous 1.72.4.4 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored) to selected 1.48 (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.78.10.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.78: +30 -4 lines
Diff to previous 1.78 (colored) next main 1.79 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.78.2.1 / (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.78: +30 -4 lines
Diff to previous 1.78 (colored) next main 1.79 (colored) to selected 1.48 (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.79 / (download) - annotate - [select for diffs], Fri Nov 18 23:10:32 2005 UTC (18 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-readahead-base3, yamt-readahead-base2, ktrace-lwp-base
Changes since 1.78: +30 -4 lines
Diff to previous 1.78 (colored) to selected 1.48 (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.72.4.4 / (download) - annotate - [select for diffs], Wed May 11 04:06:08 2005 UTC (18 years, 11 months ago) by snj
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.72.4.3: +3 -2 lines
Diff to previous 1.72.4.3 (colored) to branchpoint 1.72 (colored) to selected 1.48 (colored)

Pull up revision 1.76 (requested by bouyer in ticket #1367):
Add missing return, fix handling of Ignore Wide Residue messages.

Revision 1.72.4.3 / (download) - annotate - [select for diffs], Wed May 11 03:59:19 2005 UTC (18 years, 11 months ago) by snj
Branch: netbsd-2
Changes since 1.72.4.2: +33 -2 lines
Diff to previous 1.72.4.2 (colored) to branchpoint 1.72 (colored) to selected 1.48 (colored)

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

Revision 1.72.4.2 / (download) - annotate - [select for diffs], Wed May 11 03:48:57 2005 UTC (18 years, 11 months ago) by snj
Branch: netbsd-2
Changes since 1.72.4.1: +21 -58 lines
Diff to previous 1.72.4.1 (colored) to branchpoint 1.72 (colored) to selected 1.48 (colored)

Pull up revision 1.74 (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.72.4.1 / (download) - annotate - [select for diffs], Wed May 11 03:20:13 2005 UTC (18 years, 11 months ago) by snj
Branch: netbsd-2
Changes since 1.72: +34 -4 lines
Diff to previous 1.72 (colored) to selected 1.48 (colored)

Pull up revision 1.73 (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.76.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:52 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.76: +40 -40 lines
Diff to previous 1.76 (colored) next main 1.77 (colored) to selected 1.48 (colored)

sync with -current

Revision 1.76.6.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:34:03 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.76.6.1: +19 -19 lines
Diff to previous 1.76.6.1 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored) to selected 1.48 (colored)

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

Revision 1.62.2.5 / (download) - annotate - [select for diffs], Sat Mar 19 01:48:50 2005 UTC (19 years, 1 month ago) by tron
Branch: netbsd-1-6
Changes since 1.62.2.4: +3 -2 lines
Diff to previous 1.62.2.4 (colored) to branchpoint 1.62 (colored) to selected 1.48 (colored)

Pull up revision 1.76 (requested by bouyer in ticket #1753):
Add missing return, fix handling of Ignore Wide Residue messages.

Revision 1.62.2.4 / (download) - annotate - [select for diffs], Sat Mar 19 01:44:33 2005 UTC (19 years, 1 month ago) by tron
Branch: netbsd-1-6
Changes since 1.62.2.3: +33 -2 lines
Diff to previous 1.62.2.3 (colored) to branchpoint 1.62 (colored) to selected 1.48 (colored)

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

Revision 1.62.2.3 / (download) - annotate - [select for diffs], Thu Mar 17 17:49:53 2005 UTC (19 years, 1 month ago) by tron
Branch: netbsd-1-6
Changes since 1.62.2.2: +21 -58 lines
Diff to previous 1.62.2.2 (colored) to branchpoint 1.62 (colored) to selected 1.48 (colored)

Pull up revision 1.74 (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.62.2.2 / (download) - annotate - [select for diffs], Thu Mar 17 17:43:38 2005 UTC (19 years, 1 month ago) by tron
Branch: netbsd-1-6
Changes since 1.62.2.1: +34 -4 lines
Diff to previous 1.62.2.1 (colored) to branchpoint 1.62 (colored) to selected 1.48 (colored)

Pull up revision 1.73 (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.66.2.6 / (download) - annotate - [select for diffs], Fri Mar 4 16:41:33 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.66.2.5: +19 -19 lines
Diff to previous 1.66.2.5 (colored) to selected 1.48 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.78 / (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-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-0-RC1, kent-audio2-base
Branch point for: yamt-readahead, yamt-lazymbuf, netbsd-3
Changes since 1.77: +19 -19 lines
Diff to previous 1.77 (colored) to selected 1.48 (colored)

nuke trailing whitespace

Revision 1.76.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:44 2005 UTC (19 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.76: +23 -23 lines
Diff to previous 1.76 (colored) to selected 1.48 (colored)

sync with head.

Revision 1.66.2.5 / (download) - annotate - [select for diffs], Fri Feb 4 11:45:27 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.66.2.4: +23 -23 lines
Diff to previous 1.66.2.4 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Feb 4 02:10:37 2005 UTC (19 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base2
Changes since 1.76: +23 -23 lines
Diff to previous 1.76 (colored) to selected 1.48 (colored)

de-__P

Revision 1.66.2.4 / (download) - annotate - [select for diffs], Tue Oct 19 15:56:56 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.66.2.3: +3 -2 lines
Diff to previous 1.66.2.3 (colored) to selected 1.48 (colored)

Sync with HEAD

Revision 1.76 / (download) - annotate - [select for diffs], Sun Oct 3 14:52:53 2004 UTC (19 years, 6 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.75: +3 -2 lines
Diff to previous 1.75 (colored) to selected 1.48 (colored)

Add missing return, fix handling of Ignore Wide Residue messages.

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

Fix the sync with head I botched.

Revision 1.66.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:46:00 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.66.2.1: +0 -0 lines
Diff to previous 1.66.2.1 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:46:18 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.66: +68 -45 lines
Diff to previous 1.66 (colored) to selected 1.48 (colored)

Sync with HEAD

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

Add support for the Ignore Wide Residue SCSI message.

Revision 1.74 / (download) - annotate - [select for diffs], Mon May 17 18:37:02 2004 UTC (19 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.73: +19 -56 lines
Diff to previous 1.73 (colored) to selected 1.48 (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.73 / (download) - annotate - [select for diffs], Mon May 17 11:10:24 2004 UTC (19 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.72: +34 -4 lines
Diff to previous 1.72 (colored) to selected 1.48 (colored)

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

Revision 1.72 / (download) - annotate - [select for diffs], Tue Mar 16 19:10:43 2004 UTC (20 years, 1 month 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.71: +4 -4 lines
Diff to previous 1.71 (colored) to selected 1.48 (colored)

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

Revision 1.71 / (download) - annotate - [select for diffs], Mon Mar 15 22:43:43 2004 UTC (20 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.70: +5 -3 lines
Diff to previous 1.70 (colored) to selected 1.48 (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.70 / (download) - annotate - [select for diffs], Sun Nov 2 11:07:45 2003 UTC (20 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.69: +7 -7 lines
Diff to previous 1.69 (colored) to selected 1.48 (colored)

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

Revision 1.69 / (download) - annotate - [select for diffs], Tue Oct 28 18:35:06 2003 UTC (20 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.68: +4 -7 lines
Diff to previous 1.68 (colored) to selected 1.48 (colored)

fix bogus GCC uninitialized variable warning.  Use TAILQ_FOREACH.

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

Fix uninitialized variable warnings

Revision 1.67 / (download) - annotate - [select for diffs], Tue Oct 21 06:22:16 2003 UTC (20 years, 6 months ago) by simonb
Branch: MAIN
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored) to selected 1.48 (colored)

Remove return after panic().

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

DMA, not dma nor Dma.

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Wed Dec 11 17:59:23 2002 UTC (21 years, 4 months ago) by he
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.62: +6 -3 lines
Diff to previous 1.62 (colored) to selected 1.48 (colored)

Pull up revision 1.65 (requested by bouyer in ticket #975):
  In siop_reset(), reset sc_ntargets to 0; it will be
  computed again in siop_add_reselsw().
  In siop_reset(), reset the tag reseloff to 0, in addition
  to the lun reseloff.  If siop_add_dev() fails this time,
  we would use the old reseloff, clobbering memory new used
  for something else.

Revision 1.40.2.11 / (download) - annotate - [select for diffs], Mon Nov 11 22:10:01 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.40.2.10: +4 -1 lines
Diff to previous 1.40.2.10 (colored) next main 1.41 (colored) to selected 1.48 (colored)

Catch up to -current

Revision 1.65 / (download) - annotate - [select for diffs], Fri Nov 8 22:04:41 2002 UTC (21 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.64: +6 -3 lines
Diff to previous 1.64 (colored) to selected 1.48 (colored)

in siop_reset(), reset sc_ntargets to 0. The number of targets will be
computed again in siop_add_reselsw()
in siop_reset(), reset the tag reseloff to 0, in addition to the lun reseloff.
If siop_add_dev() fails this time we would use the old reseloff, clobbering
memory now used for something else.

Revision 1.45.2.6 / (download) - annotate - [select for diffs], Fri Sep 6 08:44:33 2002 UTC (21 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.45.2.5: +6 -6 lines
Diff to previous 1.45.2.5 (colored) next main 1.46 (colored) to selected 1.48 (colored)

sync kqueue branch with HEAD

Revision 1.60.2.3 / (download) - annotate - [select for diffs], Thu Aug 29 05:22:31 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.60.2.2: +5 -5 lines
Diff to previous 1.60.2.2 (colored) next main 1.61 (colored) to selected 1.48 (colored)

catch up with -current.

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

Catch up to -current.

Revision 1.64 / (download) - annotate - [select for diffs], Fri Jul 26 01:00:43 2002 UTC (21 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base
Changes since 1.63: +5 -5 lines
Diff to previous 1.63 (colored) to selected 1.48 (colored)

enouth -> enough.

Revision 1.60.2.2 / (download) - annotate - [select for diffs], Sat Jul 20 11:35:07 2002 UTC (21 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.60.2.1: +3 -3 lines
Diff to previous 1.60.2.1 (colored) to selected 1.48 (colored)

catch up with -current.

Revision 1.63 / (download) - annotate - [select for diffs], Thu Jul 18 11:59:08 2002 UTC (21 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored) to selected 1.48 (colored)

Spell 'should' correctly.

Revision 1.45.2.5 / (download) - annotate - [select for diffs], Sun Jun 23 17:46:48 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.45.2.4: +521 -495 lines
Diff to previous 1.45.2.4 (colored) to selected 1.48 (colored)

catch up with -current on kqueue branch

Revision 1.40.2.9 / (download) - annotate - [select for diffs], Thu Jun 20 03:44:59 2002 UTC (21 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.40.2.8: +521 -494 lines
Diff to previous 1.40.2.8 (colored) to selected 1.48 (colored)

Catch up to -current.

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Thu May 30 14:45:57 2002 UTC (21 years, 10 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.60: +7 -3 lines
Diff to previous 1.60 (colored) to selected 1.48 (colored)

Catch up with -current.

Revision 1.62 / (download) - annotate - [select for diffs], Sat May 18 16:09:44 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
Changes since 1.61: +4 -2 lines
Diff to previous 1.61 (colored) to selected 1.48 (colored)

Be more verbose when returning XS_DRIVER_STUFFUP

Revision 1.61 / (download) - annotate - [select for diffs], Thu May 16 02:50:53 2002 UTC (21 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.60: +5 -3 lines
Diff to previous 1.60 (colored) to selected 1.48 (colored)

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

Revision 1.60 / (download) - annotate - [select for diffs], Thu Apr 25 20:05:10 2002 UTC (21 years, 11 months ago) by bouyer
Branch: MAIN
Branch point for: gehenna-devsw
Changes since 1.59: +17 -4 lines
Diff to previous 1.59 (colored) to selected 1.48 (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.59 / (download) - annotate - [select for diffs], Tue Apr 23 20:41:15 2002 UTC (21 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored) to selected 1.48 (colored)

More copyright fixes, pointed out by Thomas. Thanks !

Revision 1.58 / (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.57: +6 -78 lines
Diff to previous 1.57 (colored) to selected 1.48 (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.57 / (download) - annotate - [select for diffs], Tue Apr 23 12:55:26 2002 UTC (21 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.56: +12 -8 lines
Diff to previous 1.56 (colored) to selected 1.48 (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.56 / (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.55: +33 -30 lines
Diff to previous 1.55 (colored) to selected 1.48 (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.55 / (download) - annotate - [select for diffs], Mon Apr 22 15:48:55 2002 UTC (22 years ago) by bouyer
Branch: MAIN
Changes since 1.54: +8 -7 lines
Diff to previous 1.54 (colored) to selected 1.48 (colored)

Fix last change: assign siop_cmd->tag in callers instead of siop_setuptables(),
and use siop_cmd->tag instead of xs->xs_tag_id. This way siop can use
xs->xs_tag_id + 1 without interferences with esiop.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Apr 22 09:43:44 2002 UTC (22 years ago) by bouyer
Branch: MAIN
Changes since 1.53: +7 -2 lines
Diff to previous 1.53 (colored) to selected 1.48 (colored)

In siop_setuptables(), use the proposed tag_id, not tag_id +1.
In siop.c bump siop_cmd->tag by one as tag id 0 is reserved for untagged cmds.

Revision 1.53 / (download) - annotate - [select for diffs], Sat Apr 20 00:15:54 2002 UTC (22 years ago) by bouyer
Branch: MAIN
Changes since 1.52: +507 -466 lines
Diff to previous 1.52 (colored) to selected 1.48 (colored)

Move a few things around, so that ic/siop_common.c and pci/siop_pci_common.c
can be compiled without including siopvar.h.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Apr 18 12:03:15 2002 UTC (22 years ago) by bouyer
Branch: MAIN
Changes since 1.51: +30 -2 lines
Diff to previous 1.51 (colored) to selected 1.48 (colored)

If SIOP_SYMLED is defined, drive the activity LED though GPIO pin 1.

Revision 1.40.2.8 / (download) - annotate - [select for diffs], Wed Apr 17 00:05:50 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.40.2.7: +1 -2 lines
Diff to previous 1.40.2.7 (colored) to selected 1.48 (colored)

Catch up to -current.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Apr 5 18:27:54 2002 UTC (22 years ago) by bouyer
Branch: MAIN
Changes since 1.50: +3 -4 lines
Diff to previous 1.50 (colored) to selected 1.48 (colored)

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

Revision 1.40.2.7 / (download) - annotate - [select for diffs], Mon Apr 1 07:45:37 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.40.2.6: +7 -3 lines
Diff to previous 1.40.2.6 (colored) to selected 1.48 (colored)

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

Revision 1.45.2.4 / (download) - annotate - [select for diffs], Sat Mar 16 16:01:02 2002 UTC (22 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.45.2.3: +7 -3 lines
Diff to previous 1.45.2.3 (colored) to selected 1.48 (colored)

Catch up with -current.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Mar 1 21:37:03 2002 UTC (22 years, 1 month ago) by bouyer
Branch: MAIN
CVS Tags: newlock-base, newlock, eeh-devprop-base, eeh-devprop
Changes since 1.49: +7 -3 lines
Diff to previous 1.49 (colored) to selected 1.48 (colored)

As siop_morecbd() is called from the kernel thread, protect access to the
queues with splbio.

Revision 1.40.2.6 / (download) - annotate - [select for diffs], Thu Feb 28 04:13:30 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.40.2.5: +8 -12 lines
Diff to previous 1.40.2.5 (colored) to selected 1.48 (colored)

Catch up to -current.

Revision 1.45.2.3 / (download) - annotate - [select for diffs], Mon Feb 11 20:09:46 2002 UTC (22 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.45.2.2: +8 -12 lines
Diff to previous 1.45.2.2 (colored) to selected 1.48 (colored)

Sync w/ -current.

Revision 1.49 / (download) - annotate - [select for diffs], Sat Jan 12 16:03:12 2002 UTC (22 years, 3 months ago) by tsutsui
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.48: +8 -12 lines
Diff to previous 1.48 (colored)

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

Revision 1.45.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:55:02 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.45.2.1: +19 -22 lines
Diff to previous 1.45.2.1 (colored) to selected 1.48 (colored)

Sync kqueue branch with -current.

Revision 1.21.2.8 / (download) - annotate - [select for diffs], Sat Jan 5 17:59:34 2002 UTC (22 years, 3 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.21.2.7: +59 -24 lines
Diff to previous 1.21.2.7 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored) to selected 1.48 (colored)

Pull up revision 1.47 (via patch, requested by bouyer):
  Don't call siop_morecbd() in interrupt context, but pre-allocate
  CBD at probe time instead.  Fixes PR#13827, PR#14866 and PR#15048.

Revision 1.40.2.5 / (download) - annotate - [select for diffs], Wed Nov 14 19:14:36 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.40.2.4: +4 -1 lines
Diff to previous 1.40.2.4 (colored) to selected 1.48 (colored)

Catch up to -current.

Revision 1.48 / (download) - annotate - [selected], Tue Nov 13 13:14:44 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.47: +4 -1 lines
Diff to previous 1.47 (colored)

add/cleanup RCSID

Revision 1.40.2.4 / (download) - annotate - [select for diffs], Mon Oct 22 20:41:20 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.40.2.3: +16 -22 lines
Diff to previous 1.40.2.3 (colored) to selected 1.48 (colored)

Catch up to -current.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Oct 14 20:37:28 2001 UTC (22 years, 6 months ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache
Changes since 1.46: +16 -22 lines
Diff to previous 1.46 (colored) to selected 1.48 (colored)

Call siop_morecbd() only when scsipi ask us ADAPTER_REQ_GROW_RESOURCES.
This prevent using bus_dmamem_map() from interrupt context.
Should fix kern/13827.

Revision 1.40.2.3 / (download) - annotate - [select for diffs], Fri Aug 24 00:09:37 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.40.2.2: +7 -4 lines
Diff to previous 1.40.2.2 (colored) to selected 1.48 (colored)

Catch up with -current.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:13:04 2001 UTC (22 years, 8 months ago) by lukem
Branch: kqueue
Changes since 1.45: +4 -2 lines
Diff to previous 1.45 (colored) to selected 1.48 (colored)

update to -current

Revision 1.46 / (download) - annotate - [select for diffs], Thu Jul 19 16:25:26 2001 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.45: +4 -2 lines
Diff to previous 1.45 (colored) to selected 1.48 (colored)

Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places.

Revision 1.40.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:03:16 2001 UTC (22 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.40.2.1: +402 -468 lines
Diff to previous 1.40.2.1 (colored) to selected 1.48 (colored)

Catch up to -current.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Jun 21 16:55:20 2001 UTC (22 years, 10 months ago) by bouyer
Branch: MAIN
Branch point for: kqueue
Changes since 1.44: +4 -3 lines
Diff to previous 1.44 (colored) to selected 1.48 (colored)

Also print DSA addr in a DIAGNOSTING printf.

Revision 1.44 / (download) - annotate - [select for diffs], Wed May 23 15:51:32 2001 UTC (22 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.43: +6 -6 lines
Diff to previous 1.43 (colored) to selected 1.48 (colored)

Call scsipi_channel_thaw() after scsipi_done() so that command ordering
is preserved.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Apr 30 02:17:55 2001 UTC (22 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.42: +4 -4 lines
Diff to previous 1.42 (colored) to selected 1.48 (colored)

delint newline in string

Revision 1.42 / (download) - annotate - [select for diffs], Wed Apr 25 17:53:34 2001 UTC (22 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.41: +398 -464 lines
Diff to previous 1.41 (colored) to selected 1.48 (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.40.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:56:29 2001 UTC (23 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.40: +3 -2 lines
Diff to previous 1.40 (colored) to selected 1.48 (colored)

Catch up with -current.

Revision 1.37.2.12 / (download) - annotate - [select for diffs], Tue Apr 3 15:32:58 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.37.2.11: +6 -1 lines
Diff to previous 1.37.2.11 (colored) next main 1.38 (colored) to selected 1.48 (colored)

Ops, unfreeze the queue after a reset too.

Revision 1.37.2.11 / (download) - annotate - [select for diffs], Tue Apr 3 15:30:41 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.37.2.10: +102 -204 lines
Diff to previous 1.37.2.10 (colored) to selected 1.48 (colored)

Remove local command queue; if we run out of start slots, just freeze the
channel; and unfreeze it at the first command complete.

Revision 1.37.2.10 / (download) - annotate - [select for diffs], Wed Mar 14 15:03:25 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.37.2.9: +18 -31 lines
Diff to previous 1.37.2.9 (colored) to selected 1.48 (colored)

Add BUS_DMA_STREAMING for the data map, it really helps for sparc64.

Revision 1.37.2.9 / (download) - annotate - [select for diffs], Mon Mar 12 13:30:31 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.37.2.8: +32 -17 lines
Diff to previous 1.37.2.8 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.41 / (download) - annotate - [select for diffs], Wed Mar 7 23:07:15 2001 UTC (23 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.40: +3 -2 lines
Diff to previous 1.40 (colored) to selected 1.48 (colored)

Add BUS_DMA_STREAMING to data transfer maps.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Mar 1 22:10:57 2001 UTC (23 years, 1 month ago) by thorpej
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.39: +6 -6 lines
Diff to previous 1.39 (colored) to selected 1.48 (colored)

Differentiate a couple of similar error message, and add newlines
on the end of them.

Revision 1.21.2.7 / (download) - annotate - [select for diffs], Mon Feb 26 17:47:46 2001 UTC (23 years, 1 month ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.21.2.6: +44 -17 lines
Diff to previous 1.21.2.6 (colored) to branchpoint 1.21 (colored) to selected 1.48 (colored)

Pull up revision 1.39 (requested by bouyer):
  Don't queue new commands to a device which has sense pending.

Revision 1.37.2.8 / (download) - annotate - [select for diffs], Sun Feb 11 19:15:37 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.37.2.7: +4 -1 lines
Diff to previous 1.37.2.7 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.39 / (download) - annotate - [select for diffs], Sun Feb 11 18:04:49 2001 UTC (23 years, 2 months ago) by bouyer
Branch: MAIN
Changes since 1.38: +44 -17 lines
Diff to previous 1.38 (colored) to selected 1.48 (colored)

Avoid sending new commands to the device if it has sense pending:
- run request sense command without disconnect
- don't restart the script before siop_scsicmd_end has been called if the
  cmd didn't complete with good status.
- reserve slot 0 for request sense, to make sure it'll be sent first.

Revision 1.21.2.6 / (download) - annotate - [select for diffs], Sun Feb 4 18:56:39 2001 UTC (23 years, 2 months ago) by he
Branch: netbsd-1-5
Changes since 1.21.2.5: +4 -1 lines
Diff to previous 1.21.2.5 (colored) to branchpoint 1.21 (colored) to selected 1.48 (colored)

Pull up revision 1.38 (requested by bouyer):
  Add missing bus_dmamap_sync() calls.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Jan 26 22:00:01 2001 UTC (23 years, 2 months ago) by bouyer
Branch: MAIN
Changes since 1.37: +4 -1 lines
Diff to previous 1.37 (colored) to selected 1.48 (colored)

Add a few siop_table_sync() calls.

Revision 1.37.2.7 / (download) - annotate - [select for diffs], Mon Jan 22 17:46:31 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.37.2.6: +104 -13 lines
Diff to previous 1.37.2.6 (colored) to selected 1.48 (colored)

Put URGENT requests in the urgent queue
When we get CHECK CONDITION, remove and requeue all xfer for this T/L that have
not yet been queued in the device (still in a scheduler slot or in the queues),
otherwise if one of them is accepted before the request sense, sense will be
lost.
Don't allow disconnect for REQUEST SENSE commands, as others drivers do.

Revision 1.37.2.6 / (download) - annotate - [select for diffs], Mon Jan 15 09:26:26 2001 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.37.2.5: +10 -72 lines
Diff to previous 1.37.2.5 (colored) to selected 1.48 (colored)

Pass CHECK CONDITION status and reset events to the mid-layer.

Revision 1.37.2.5 / (download) - annotate - [select for diffs], Fri Dec 15 07:48:32 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.37.2.4: +23 -54 lines
Diff to previous 1.37.2.4 (colored) to selected 1.48 (colored)

Tell the upper layer we can do tagged queuing, so that it sends us more
than one concurent command. Leave the handling of QUEUE FULL events to the
upper layer.

Revision 1.21.2.5 / (download) - annotate - [select for diffs], Fri Dec 15 04:48:03 2000 UTC (23 years, 4 months ago) by he
Branch: netbsd-1-5
Changes since 1.21.2.4: +935 -528 lines
Diff to previous 1.21.2.4 (colored) to branchpoint 1.21 (colored) to selected 1.48 (colored)

Pull up revisions 1.23-1.24,1.28-1.36 (requested by bouyer):
  Speed improvements to the siop driver, and add tagged queueing
  support.  As a side effect, better handling of some not so common
  phase or message sequences.

Revision 1.37.2.4 / (download) - annotate - [select for diffs], Thu Dec 14 13:09:30 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.37.2.3: +227 -168 lines
Diff to previous 1.37.2.3 (colored) to selected 1.48 (colored)

Convert to thorpej_scsipi interface. Still some work to do to get all benefits
of the new middle layer, but it works.

Revision 1.37.2.3 / (download) - annotate - [select for diffs], Wed Nov 22 16:03:30 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.37.2.2: +21 -18 lines
Diff to previous 1.37.2.2 (colored) to selected 1.48 (colored)

Sync with HEAD.

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Mon Nov 20 11:40:54 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.37.2.1: +1988 -0 lines
Diff to previous 1.37.2.1 (colored) to selected 1.48 (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.37.2.1, Tue Nov 14 18:21:02 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.37: +0 -1991 lines
FILE REMOVED

file siop.c was added on branch thorpej_scsipi on 2000-11-20 11:40:54 +0000

Revision 1.37 / (download) - annotate - [select for diffs], Tue Nov 14 18:21:02 2000 UTC (23 years, 5 months ago) by thorpej
Branch: MAIN
Branch point for: thorpej_scsipi
Changes since 1.36: +21 -18 lines
Diff to previous 1.36 (colored) to selected 1.48 (colored)

NBPG -> PAGE_SIZE

Revision 1.36 / (download) - annotate - [select for diffs], Mon Oct 23 23:18:10 2000 UTC (23 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.35: +133 -78 lines
Diff to previous 1.35 (colored) to selected 1.48 (colored)

Fixes related to QUEUE FULL status:
- move status handling in siop_scsicmd_end(), it's better than in siop_intr()
- define 2 internal SIOP status, for "no status reported by device" and
  reset condition
- add a list of "urgent" command, to be executed before the list of command
  queued the normal way; this is used for command which got aborted
  by a QUEUE FULL and have to be requeued in order.
- Don't accept to send a Q_TAG message not immediatly folowing a IDENTIFY

Revision 1.35 / (download) - annotate - [select for diffs], Mon Oct 23 14:56:16 2000 UTC (23 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.34: +438 -395 lines
Diff to previous 1.34 (colored) to selected 1.48 (colored)

Rearrange for script changes (scheduler core in main script, command part
of the scheduler in command table).
Add tagged command queuing support.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Oct 21 13:56:17 2000 UTC (23 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored) to selected 1.48 (colored)

Ops, sync the script DMA map when the script RAM *don't* exists.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Oct 19 07:22:06 2000 UTC (23 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.32: +3 -2 lines
Diff to previous 1.32 (colored) to selected 1.48 (colored)

Adapt for script change: don't assume Ent_lun_switch_entry == 0

Revision 1.32 / (download) - annotate - [select for diffs], Wed Oct 18 20:06:54 2000 UTC (23 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.31: +20 -2 lines
Diff to previous 1.31 (colored) to selected 1.48 (colored)

Ops, add proper bus_dmamap_sync() calls for reselect switch operations.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Oct 18 17:06:52 2000 UTC (23 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.30: +609 -413 lines
Diff to previous 1.30 (colored) to selected 1.48 (colored)

Adapt for new lun switch script.
Implement SCBUSACCEL ioctl.
Snapshot of work in progress on tagged queuing: we can send/receive
queue tag messages. Infrastructure to manage multiple commands per
devices not here yet.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Oct 6 20:07:10 2000 UTC (23 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored) to selected 1.48 (colored)

Ops, disable debugging messages.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Oct 6 16:39:04 2000 UTC (23 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.28: +42 -42 lines
Diff to previous 1.28 (colored) to selected 1.48 (colored)

Fix recurent typo: shed->sched

Revision 1.28 / (download) - annotate - [select for diffs], Fri Oct 6 16:35:13 2000 UTC (23 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.27: +116 -18 lines
Diff to previous 1.27 (colored) to selected 1.48 (colored)

Adapt for reselect handling from the script. While here, fix typo
(SIOP_SCXFER -> SIOP_SXFER).

Revision 1.21.2.4 / (download) - annotate - [select for diffs], Tue Oct 3 15:21:43 2000 UTC (23 years, 6 months ago) by bouyer
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.21.2.3: +2 -2 lines
Diff to previous 1.21.2.3 (colored) to branchpoint 1.21 (colored) to selected 1.48 (colored)

Pull up 1.24->1.25 (approved by thorpej):
fix off by one error.

Revision 1.21.2.3 / (download) - annotate - [select for diffs], Sun Jul 30 16:45:36 2000 UTC (23 years, 8 months ago) by bouyer
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-ALPHA2
Changes since 1.21.2.2: +3 -3 lines
Diff to previous 1.21.2.2 (colored) to branchpoint 1.21 (colored) to selected 1.48 (colored)

pull up 1.26->1.27, approved by jhawk:
Fixes 32bit interger overflow with large timeout. Fixes kern/10575.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jul 27 21:28:17 2000 UTC (23 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) to selected 1.48 (colored)

Force 64bit arithmetic for timeout computation; a 32bit int opverflows for
large timeouts. Should fix PR kern/10575.

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Mon Jul 24 16:51:38 2000 UTC (23 years, 8 months ago) by bouyer
Branch: netbsd-1-5
Changes since 1.21.2.1: +25 -18 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) to selected 1.48 (colored)

Pull up (approved by thorpej):
sys/dev/ic/siop.c 1.25->1.26
sys/dev/ic/siop_common.c 1.5->1.6
sys/dev/ic/siopvar_common.h 1.3->1.4

create a funcion, siop_busreset(), to reset the scsibus.
Reset the scsi bus at attach time, to be sure all devices start in narrow/async
mode.
Defer sync/wide negotiation until after whe have a valid
xs->sc_link->device_softc, so that we can honnor the NOSYNC/NOWIDE quirks.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Jul 24 15:15:00 2000 UTC (23 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.25: +25 -18 lines
Diff to previous 1.25 (colored) to selected 1.48 (colored)

create a funcion, siop_busreset(), to reset the scsibus.
Reset the scsi bus at attach time, to be sure all devices start in narrow/async
mode.
Defer sync/wide negotiation until after whe have a valid
xs->sc_link->device_softc, so that we can honnor the NOSYNC/NOWIDE quirks.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jul 19 16:07:00 2000 UTC (23 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) to selected 1.48 (colored)

Fixx off-by-one error in handlereset().

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jun 28 17:13:04 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.23: +1 -3 lines
Diff to previous 1.23 (colored) to selected 1.48 (colored)

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jun 26 14:21:10 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.22: +1 -3 lines
Diff to previous 1.22 (colored) to selected 1.48 (colored)

remove/move more mach vm header files:

	<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Mon Jun 26 08:49:11 2000 UTC (23 years, 9 months ago) by bouyer
Branch: netbsd-1-5
Changes since 1.21: +5 -3 lines
Diff to previous 1.21 (colored) to selected 1.48 (colored)

Pull up 1.22, approved by thorpej:
don't bus_dmamap_sync the script dma map if it lives in the on-chip RAM.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:06:54 2000 UTC (23 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.17: +37 -15 lines
Diff to previous 1.17 (colored) next main 1.18 (colored) to selected 1.48 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jun 20 17:16:22 2000 UTC (23 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.21: +5 -3 lines
Diff to previous 1.21 (colored) to selected 1.48 (colored)

Patch from Eduardo Horvath: don't bus_dmamap_sync the script dma map if
it lives in the on-chip RAM !

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jun 13 13:59:17 2000 UTC (23 years, 10 months ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Changes since 1.20: +11 -11 lines
Diff to previous 1.20 (colored) to selected 1.48 (colored)

sheduler->scheduler, as pointed out by Klaus Klein

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jun 12 20:13:41 2000 UTC (23 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.19: +25 -4 lines
Diff to previous 1.19 (colored) to selected 1.48 (colored)

Handle "scsi bus mode change" interrupts on 895 and higther.
Thanks to Hal Murray for reporting the problem and testing the fix.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jun 7 14:40:20 2000 UTC (23 years, 10 months ago) by tsutsui
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored) to selected 1.48 (colored)

Adapt struct scsipi_adapter changes.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Jun 5 21:47:25 2000 UTC (23 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) to selected 1.48 (colored)

use the correct variable in a debug printf().

Revision 1.17 / (download) - annotate - [select for diffs], Thu May 25 10:10:56 2000 UTC (23 years, 10 months ago) by bouyer
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.16: +108 -55 lines
Diff to previous 1.16 (colored) to selected 1.48 (colored)

Separate the sheduler from the main script, allocate another DMA-safe
memory page for the sheduler. Put the main script in the on-chip RAM when
available.
Avoid a null-pointer dereference when DSA is invalid.

Revision 1.16 / (download) - annotate - [select for diffs], Tue May 23 17:08:07 2000 UTC (23 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.15: +165 -80 lines
Diff to previous 1.15 (colored) to selected 1.48 (colored)

Allocate dynamically the command block descriptors.

Revision 1.15 / (download) - annotate - [select for diffs], Mon May 15 15:16:59 2000 UTC (23 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.48 (colored)

Don't enable debug message by default.

Revision 1.14 / (download) - annotate - [select for diffs], Mon May 15 07:48:24 2000 UTC (23 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.13: +61 -514 lines
Diff to previous 1.13 (colored) to selected 1.48 (colored)

- split siop.c in script-dependant vs script-independant part, for
  comming esiop
- add a reset callback for bus-dependant registers settings

Revision 1.13 / (download) - annotate - [select for diffs], Thu May 11 09:30:12 2000 UTC (23 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored) to selected 1.48 (colored)

Use correct divider value for scxfer

Revision 1.12 / (download) - annotate - [select for diffs], Sat May 6 00:44:00 2000 UTC (23 years, 11 months ago) by soren
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) to selected 1.48 (colored)

Typos.

Revision 1.11 / (download) - annotate - [select for diffs], Fri May 5 09:32:48 2000 UTC (23 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.10: +5 -1 lines
Diff to previous 1.10 (colored) to selected 1.48 (colored)

Ops, restore sync/wide parameters after a reselect.
Also, better handling of parity errors.

Revision 1.10 / (download) - annotate - [select for diffs], Fri May 5 09:05:44 2000 UTC (23 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.9: +27 -18 lines
Diff to previous 1.9 (colored) to selected 1.48 (colored)

Rework the command queue, to avoid having commands blocked at the end
of the queue. Load is now properly balanced across all disks of the same bus.

Revision 1.9 / (download) - annotate - [select for diffs], Thu May 4 17:18:27 2000 UTC (23 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.8: +55 -15 lines
Diff to previous 1.8 (colored) to selected 1.48 (colored)

When a WDTR message is rejected, initiate sync negotiation anyway.
When a SDTR message is rejected indicate that target is async
Add a missing bus_dma_sync call.

Revision 1.8 / (download) - annotate - [select for diffs], Thu May 4 16:56:13 2000 UTC (23 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.7: +123 -59 lines
Diff to previous 1.7 (colored) to selected 1.48 (colored)

- LP64 issues in debug printfs.
- on a phase mismatch, do byte recovery only if we were in data phase.
  Otherwise just clear the fifo.
- Properly handle reject of a sync or wide negotiation.

Revision 1.7 / (download) - annotate - [select for diffs], Tue May 2 19:03:02 2000 UTC (23 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.6: +537 -140 lines
Diff to previous 1.6 (colored) to selected 1.48 (colored)

- do sync/wide negotiation
- use a circular queue for the start slots, so that order has better chances
  to be preserved.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Apr 27 16:49:07 2000 UTC (23 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.5: +6 -7 lines
Diff to previous 1.5 (colored) to selected 1.48 (colored)

More big-endian fixes from Izumi Tsutsui.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Apr 27 14:06:57 2000 UTC (23 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.4: +14 -17 lines
Diff to previous 1.4 (colored) to selected 1.48 (colored)

Fix copyrigth notice.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Apr 26 20:00:31 2000 UTC (23 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.3: +39 -29 lines
Diff to previous 1.3 (colored) to selected 1.48 (colored)

Big-endian fixes from Izumi Tsutsui.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Apr 25 20:02:33 2000 UTC (23 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.2: +7 -1 lines
Diff to previous 1.2 (colored) to selected 1.48 (colored)

Ops, need to restore correct DSA value after a phase mismatch, we may have
been interrupted during a S/G operation.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Apr 25 16:27:05 2000 UTC (23 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.1: +591 -174 lines
Diff to previous 1.1 (colored) to selected 1.48 (colored)

- Change the script to start new commands in an asyncronous way, using
 'command slots' in which the host can put command and wait for the script
 to start them
- Change siop.c to do full disconnect/reslelect, allowing as much as one
 command per target/lun to run in parallel.
- Fix bug in registers init where a board without BIOS would end at
  ID 0 (now the driver works on alpha too).
- better handling of messages, sending back a MSG_EXT_SDTR in response to an
  incoming MSG_EXT_SDTR, and MSG_MESSAGE_REJECT for unhandled messages.
- fix use of bus_dmamap_sync() and htole32().
- supports shared interrups
- change some int8 and int16 to int, for alpha and mips benefits ( suggested by
  Toru Nishimura)

Revision 1.1 / (download) - annotate - [select for diffs], Fri Apr 21 17:56:58 2000 UTC (24 years ago) by bouyer
Branch: MAIN
Diff to selected 1.48 (colored)

Snapshot of work in progress: new driver for the NCR 53c8xx SCSI controller
(the name 'siop' is still being discussed, may change).
Only basic disconnect/reselect for now, no sync/wide negotiation.
Tested with 810A, 875 and 895 on i386 only.
The bus-independant part should also be able to handle the 53c720 and 53c770.
A new driver with enhanced script should appear for the 825/875/895 'soon'.

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>