CVS log for src/sys/dev/ic/siop.c
Up to [cvs.NetBSD.org] / src / sys / dev / ic
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.105: download - view: text, markup, annotated - select for diffs
Thu Feb 8 19:44:08 2024 UTC (2 years, 9 months ago) by andvar
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102,
perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11,
HEAD
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +3 -3
lines
s/should't/shouldn't/ and s/mistmatch/mismatch/ in comments.
Revision 1.104: download - view: text, markup, annotated - select for diffs
Wed Nov 2 12:03:44 2022 UTC (4 years ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
netbsd-10-base,
netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +3 -3
lines
s/ourselve/ourselves/ in comments.
Revision 1.103: download - view: text, markup, annotated - select for diffs
Wed Feb 23 21:54:41 2022 UTC (4 years, 8 months ago) by andvar
Branches: MAIN
CVS tags: bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:12 2021 UTC (5 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +3 -3
lines
Merge thorpej-cfargs2.
Revision 1.101.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 20:14:42 2021 UTC (5 years, 3 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.101: preferred, colored; next MAIN 1.102: preferred, colored
Changes since revision 1.101: +3 -3
lines
Adapt to CFARGS().
Revision 1.101: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:55 2021 UTC (5 years, 6 months ago) by thorpej
Branches: 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
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 21 21:09:12 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:38 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98: +7 -3
lines
Rebase to HEAD as of a few days ago.
Revision 1.98.8.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:22 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98: +9 -5
lines
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 - view: text, markup, annotated - select for diffs
Sun May 18 17:45:38 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.98: preferred, colored; next MAIN 1.99: preferred, colored
Changes since revision 1.98: +9 -5
lines
sync with head
Revision 1.100: download - view: text, markup, annotated - select for diffs
Sat Nov 2 13:59:14 2013 UTC (13 years ago) by gson
Branches: 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-5-RELEASE,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-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
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +8 -4
lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 30 08:40:32 2013 UTC (13 years ago) by gson
Branches: MAIN
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +3 -3
lines
Fix incorrect function names in panic message strings.
Revision 1.94.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:20 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.94.4.1: preferred, colored; branchpoint 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94.4.1: +11 -18
lines
sync with head
Revision 1.87.14.2: download - view: text, markup, annotated - select for diffs
Sat Nov 20 20:12:56 2010 UTC (15 years, 11 months ago) by riz
Branches: 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
Diff to: previous 1.87.14.1: preferred, colored; branchpoint 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87.14.1: +3 -3
lines
Fix patch from ticket 1390; bad merge from -current to netbsd-5.
Revision 1.87.14.1: download - view: text, markup, annotated - select for diffs
Sat Nov 20 18:20:49 2010 UTC (15 years, 11 months ago) by riz
Branches: netbsd-5
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +19 -5
lines
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 - view: text, markup, annotated - select for diffs
Sat Nov 13 13:52:02 2010 UTC (16 years ago) by uebayasi
Branches: 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
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +2 -4
lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 22 07:21:58 2010 UTC (16 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.94.2.2: preferred, colored; branchpoint 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94.2.2: +9 -14
lines
Sync with HEAD (-D20101022).
Revision 1.87.4.6: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:06 2010 UTC (16 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.87.4.5: preferred, colored; branchpoint 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87.4.5: +11 -16
lines
sync with head
Revision 1.97: download - view: text, markup, annotated - select for diffs
Thu Sep 9 14:50:25 2010 UTC (16 years, 2 months ago) by jakllsch
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
uebayasi-xip-base4,
uebayasi-xip-base3
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +11 -16
lines
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 - view: text, markup, annotated - select for diffs
Tue Aug 17 06:46:12 2010 UTC (16 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.94.2.1: preferred, colored; branchpoint 1.94: preferred, colored
Changes since revision 1.94.2.1: +1 -1
lines
Sync with HEAD.
Revision 1.87.4.5: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:31 2010 UTC (16 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.87.4.4: preferred, colored; branchpoint 1.87: preferred, colored
Changes since revision 1.87.4.4: +18 -5
lines
sync with head.
Revision 1.94.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:25 2010 UTC (16 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +18 -5
lines
sync with head
Revision 1.96: download - view: text, markup, annotated - select for diffs
Sun May 2 17:37:52 2010 UTC (16 years, 6 months ago) by jakllsch
Branches: MAIN
CVS tags: yamt-nfs-mp-base10,
uebayasi-xip-base2
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +3 -3
lines
Add (missing) newlines to error messages.
Revision 1.94.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:22 2010 UTC (16 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +18 -5
lines
Sync with HEAD.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Fri Apr 9 19:25:52 2010 UTC (16 years, 7 months ago) by jakllsch
Branches: MAIN
CVS tags: uebayasi-xip-base1
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +18 -5
lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:35 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.87.4.3: preferred, colored; branchpoint 1.87: preferred, colored
Changes since revision 1.87.4.3: +2 -7
lines
sync with head
Revision 1.94: download - view: text, markup, annotated - select for diffs
Mon Oct 19 18:41:13 2009 UTC (17 years, 1 month ago) by bouyer
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
uebayasi-xip-base,
matt-premerge-20091211,
jym-xensuspend-nbase
Branch point for: uebayasi-xip,
rmind-uvmplock
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +2 -7
lines
Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !
Revision 1.87.4.3: download - view: text, markup, annotated - select for diffs
Wed Sep 16 13:37:48 2009 UTC (17 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.87.4.2: preferred, colored; branchpoint 1.87: preferred, colored
Changes since revision 1.87.4.2: +10 -10
lines
sync with head
Revision 1.93: download - view: text, markup, annotated - select for diffs
Fri Sep 4 18:29:52 2009 UTC (17 years, 2 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base8
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +10 -10
lines
Remove unnecessary whitespace.
Revision 1.87.18.2: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:48 2009 UTC (17 years, 3 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.87.18.1: preferred, colored; branchpoint 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87.18.1: +161 -132
lines
Sync with HEAD.
Revision 1.87.4.2: download - view: text, markup, annotated - select for diffs
Sat May 16 10:41:24 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.87.4.1: preferred, colored; branchpoint 1.87: preferred, colored
Changes since revision 1.87.4.1: +161 -132
lines
sync with head
Revision 1.92: download - view: text, markup, annotated - select for diffs
Sat May 16 03:57:57 2009 UTC (17 years, 6 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
jymxensuspend-base
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +143 -114
lines
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 - view: text, markup, annotated - select for diffs
Fri May 15 17:55:44 2009 UTC (17 years, 6 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +53 -53
lines
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 - view: text, markup, annotated - select for diffs
Wed May 13 17:19:24 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +23 -58
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.87.4.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:44 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +23 -58
lines
sync with head.
Revision 1.87.12.1: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:27 2009 UTC (17 years, 6 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87: +23 -58
lines
Sync with HEAD.
Revision 1.90: download - view: text, markup, annotated - select for diffs
Sun Mar 15 17:24:43 2009 UTC (17 years, 8 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jym-xensuspend-base
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +3 -3
lines
ansify function definitions
Revision 1.89: download - view: text, markup, annotated - select for diffs
Sat Mar 14 21:04:20 2009 UTC (17 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +3 -5
lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 14 15:36:17 2009 UTC (17 years, 8 months ago) by dsl
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +21 -54
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:27 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.85.16.1: preferred, colored; branchpoint 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85.16.1: +66 -79
lines
Sync with HEAD.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Tue Apr 8 12:07:27 2008 UTC (18 years, 7 months ago) by cegger
Branches: 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
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +68 -81
lines
use aprint_*_dev and device_xname
Revision 1.85.16.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:42 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +78 -65
lines
Sync with HEAD.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Thu Mar 27 10:06:30 2008 UTC (18 years, 7 months ago) by skrll
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +78 -65
lines
Add support for the (non-pci) NCR 53c720/770 in big-endian mode.
From OpenBSD (Mark Kettenis)
Revision 1.83.16.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:27:08 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83: +5 -4
lines
sync with HEAD
Revision 1.78.4.4: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:31:02 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.78.4.3: preferred, colored; branchpoint 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78.4.3: +5 -4
lines
sync with head.
Revision 1.83.14.2: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:45:00 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.83.14.1: preferred, colored; branchpoint 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83.14.1: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Thu Oct 25 22:37:57 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +3 -3
lines
Sync with HEAD.
Revision 1.83.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:07:43 2007 UTC (19 years ago) by ad
Branches: vmlocking
Diff to: previous 1.83.2.1: preferred, colored; branchpoint 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83.2.1: +3 -3
lines
Sync with head.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Fri Oct 19 12:00:00 2007 UTC (19 years, 1 month ago) by ad
Branches: 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
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +3 -3
lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
Revision 1.83.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:41:31 2007 UTC (19 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +4 -3
lines
Sync with head.
Revision 1.83.18.1: download - view: text, markup, annotated - select for diffs
Sat Oct 6 15:31:17 2007 UTC (19 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83: +4 -3
lines
sync with head.
Revision 1.83.14.1: download - view: text, markup, annotated - select for diffs
Tue Oct 2 18:28:26 2007 UTC (19 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +4 -3
lines
Sync with HEAD.
Revision 1.84: download - view: text, markup, annotated - select for diffs
Sun Sep 30 11:59:42 2007 UTC (19 years, 1 month ago) by martin
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
vmlocking-base
Branch point for: bouyer-xenamd64
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +4 -3
lines
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 - view: text, markup, annotated - select for diffs
Mon Sep 3 14:35:12 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.78.4.2: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.4.2: +5 -5
lines
sync with head.
Revision 1.82.4.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:53:45 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +5 -5
lines
Sync with HEAD.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:02:01 2007 UTC (19 years, 8 months ago) by christos
Branches: 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
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +5 -5
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.78.4.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:48:04 2006 UTC (19 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.78.4.1: preferred, colored; branchpoint 1.78: preferred, colored
Changes since revision 1.78.4.1: +11 -11
lines
sync with head.
Revision 1.80.22.1: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:17:07 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +11 -11
lines
sync with head.
Revision 1.80.20.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:14 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +11 -11
lines
Sync with head.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Thu Nov 2 15:08:30 2006 UTC (20 years ago) by garbled
Branches: 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
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +9 -7
lines
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 - view: text, markup, annotated - select for diffs
Thu Nov 2 14:55:04 2006 UTC (20 years ago) by garbled
Branches: MAIN
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +4 -6
lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 21 15:02:56 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +36 -10
lines
sync with head.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Sat Dec 24 23:41:33 2005 UTC (20 years, 10 months ago) by perry
Branches: 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
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +8 -8
lines
__inline__ -> inline
Revision 1.62.2.6: download - view: text, markup, annotated - select for diffs
Wed Dec 14 03:20:35 2005 UTC (20 years, 11 months ago) by jmc
Branches: netbsd-1-6
Diff to: previous 1.62.2.5: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.2.5: +30 -4
lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 11 10:28:51 2005 UTC (20 years, 11 months ago) by christos
Branches: ktrace-lwp
Diff to: previous 1.66.2.6: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.2.6: +30 -4
lines
Sync with head.
Revision 1.72.4.4.2.1: download - view: text, markup, annotated - select for diffs
Thu Dec 1 20:05:31 2005 UTC (20 years, 11 months ago) by riz
Branches: netbsd-2-1
Diff to: previous 1.72.4.4: preferred, colored; next MAIN 1.72.4.5: preferred, colored
Changes since revision 1.72.4.4: +30 -4
lines
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 - view: text, markup, annotated - select for diffs
Thu Dec 1 20:05:26 2005 UTC (20 years, 11 months ago) by riz
Branches: netbsd-2
Diff to: previous 1.72.4.4: preferred, colored; branchpoint 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.4.4: +30 -4
lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 22 16:08:07 2005 UTC (20 years, 11 months ago) by yamt
Branches: yamt-readahead
Diff to: previous 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78: +30 -4
lines
sync with head.
Revision 1.78.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 21 20:55:44 2005 UTC (20 years, 11 months ago) by tron
Branches: netbsd-3
CVS tags: netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
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
Diff to: previous 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78: +30 -4
lines
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 - view: text, markup, annotated - select for diffs
Fri Nov 18 23:10:32 2005 UTC (21 years ago) by bouyer
Branches: MAIN
CVS tags: yamt-readahead-base3,
yamt-readahead-base2,
ktrace-lwp-base
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +30 -4
lines
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 - view: text, markup, annotated - select for diffs
Wed May 11 04:06:08 2005 UTC (21 years, 6 months ago) by snj
Branches: 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
Diff to: previous 1.72.4.3: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.4.3: +3 -2
lines
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 - view: text, markup, annotated - select for diffs
Wed May 11 03:59:19 2005 UTC (21 years, 6 months ago) by snj
Branches: netbsd-2
Diff to: previous 1.72.4.2: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.4.2: +33 -2
lines
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 - view: text, markup, annotated - select for diffs
Wed May 11 03:48:57 2005 UTC (21 years, 6 months ago) by snj
Branches: netbsd-2
Diff to: previous 1.72.4.1: preferred, colored; branchpoint 1.72: preferred, colored
Changes since revision 1.72.4.1: +21 -58
lines
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 - view: text, markup, annotated - select for diffs
Wed May 11 03:20:13 2005 UTC (21 years, 6 months ago) by snj
Branches: netbsd-2
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +34 -4
lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:52 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +40 -40
lines
sync with -current
Revision 1.76.6.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:34:03 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.76.6.1: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.6.1: +19 -19
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.62.2.5: download - view: text, markup, annotated - select for diffs
Sat Mar 19 01:48:50 2005 UTC (21 years, 8 months ago) by tron
Branches: netbsd-1-6
Diff to: previous 1.62.2.4: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.4: +3 -2
lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 19 01:44:33 2005 UTC (21 years, 8 months ago) by tron
Branches: netbsd-1-6
Diff to: previous 1.62.2.3: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.3: +33 -2
lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 17 17:49:53 2005 UTC (21 years, 8 months ago) by tron
Branches: netbsd-1-6
Diff to: previous 1.62.2.2: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.2: +21 -58
lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 17 17:43:38 2005 UTC (21 years, 8 months ago) by tron
Branches: netbsd-1-6
Diff to: previous 1.62.2.1: preferred, colored; branchpoint 1.62: preferred, colored
Changes since revision 1.62.2.1: +34 -4
lines
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 - view: text, markup, annotated - select for diffs
Fri Mar 4 16:41:33 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.66.2.5: preferred, colored
Changes since revision 1.66.2.5: +19 -19
lines
Sync with HEAD.
Hi Perry!
Revision 1.78: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:02 2005 UTC (21 years, 8 months ago) by perry
Branches: 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
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +19 -19
lines
nuke trailing whitespace
Revision 1.76.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:44 2005 UTC (21 years, 9 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +23 -23
lines
sync with head.
Revision 1.66.2.5: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:45:27 2005 UTC (21 years, 9 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.66.2.4: preferred, colored
Changes since revision 1.66.2.4: +23 -23
lines
Sync with HEAD.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri Feb 4 02:10:37 2005 UTC (21 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base2
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +23 -23
lines
de-__P
Revision 1.66.2.4: download - view: text, markup, annotated - select for diffs
Tue Oct 19 15:56:56 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.66.2.3: preferred, colored
Changes since revision 1.66.2.3: +3 -2
lines
Sync with HEAD
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sun Oct 3 14:52:53 2004 UTC (22 years, 1 month ago) by bouyer
Branches: MAIN
CVS tags: yamt-km-base,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -2
lines
Add missing return, fix handling of Ignore Wide Residue messages.
Revision 1.66.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:28:07 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.66.2.2: preferred, colored
Changes since revision 1.66.2.2: +2 -2
lines
Fix the sync with head I botched.
Revision 1.66.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:46:00 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.66.2.1: preferred, colored
Changes since revision 1.66.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.66.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:46:18 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +68 -45
lines
Sync with HEAD
Revision 1.75: download - view: text, markup, annotated - select for diffs
Mon May 17 20:12:34 2004 UTC (22 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +33 -2
lines
Add support for the Ignore Wide Residue SCSI message.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Mon May 17 18:37:02 2004 UTC (22 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +19 -56
lines
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 - view: text, markup, annotated - select for diffs
Mon May 17 11:10:24 2004 UTC (22 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +34 -4
lines
Properly compute xs->resid, instead of assuming it'll always be 0 when
a command is done.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue Mar 16 19:10:43 2004 UTC (22 years, 8 months ago) by bouyer
Branches: 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
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +4 -4
lines
cbd -> cdb
Command Block Descriptor -> Command Descriptor Block
Pointed out by Allen Briggs.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Mon Mar 15 22:43:43 2004 UTC (22 years, 8 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +5 -3
lines
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 - view: text, markup, annotated - select for diffs
Sun Nov 2 11:07:45 2003 UTC (23 years ago) by wiz
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +7 -7
lines
Fix some typos. From Tom Cosgrove via jmc@openbsd.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Oct 28 18:35:06 2003 UTC (23 years ago) by matt
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +4 -7
lines
fix bogus GCC uninitialized variable warning. Use TAILQ_FOREACH.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Oct 25 18:35:43 2003 UTC (23 years ago) by christos
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -3
lines
Fix uninitialized variable warnings
Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Oct 21 06:22:16 2003 UTC (23 years, 1 month ago) by simonb
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -3
lines
Remove return after panic().
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat May 3 18:11:23 2003 UTC (23 years, 6 months ago) by wiz
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3
lines
DMA, not dma nor Dma.
Revision 1.62.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 11 17:59:23 2002 UTC (23 years, 11 months ago) by he
Branches: 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
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +6 -3
lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 11 22:10:01 2002 UTC (24 years ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.40.2.10: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.2.10: +4 -1
lines
Catch up to -current
Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri Nov 8 22:04:41 2002 UTC (24 years ago) by bouyer
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +6 -3
lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 6 08:44:33 2002 UTC (24 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.45.2.5: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.5: +6 -6
lines
sync kqueue branch with HEAD
Revision 1.60.2.3: download - view: text, markup, annotated - select for diffs
Thu Aug 29 05:22:31 2002 UTC (24 years, 2 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.60.2.2: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.2.2: +5 -5
lines
catch up with -current.
Revision 1.40.2.10: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:44:46 2002 UTC (24 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.9: preferred, colored
Changes since revision 1.40.2.9: +6 -6
lines
Catch up to -current.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Fri Jul 26 01:00:43 2002 UTC (24 years, 3 months ago) by wiz
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
gehenna-devsw-base
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +5 -5
lines
enouth -> enough.
Revision 1.60.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 20 11:35:07 2002 UTC (24 years, 4 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.60.2.1: preferred, colored
Changes since revision 1.60.2.1: +3 -3
lines
catch up with -current.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Thu Jul 18 11:59:08 2002 UTC (24 years, 4 months ago) by wiz
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3
lines
Spell 'should' correctly.
Revision 1.45.2.5: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:46:48 2002 UTC (24 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.45.2.4: preferred, colored
Changes since revision 1.45.2.4: +521 -495
lines
catch up with -current on kqueue branch
Revision 1.40.2.9: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:44:59 2002 UTC (24 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.8: preferred, colored
Changes since revision 1.40.2.8: +521 -494
lines
Catch up to -current.
Revision 1.60.2.1: download - view: text, markup, annotated - select for diffs
Thu May 30 14:45:57 2002 UTC (24 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +7 -3
lines
Catch up with -current.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sat May 18 16:09:44 2002 UTC (24 years, 6 months ago) by bouyer
Branches: 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
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +4 -2
lines
Be more verbose when returning XS_DRIVER_STUFFUP
Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu May 16 02:50:53 2002 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +5 -3
lines
Don't access a scsipi channel's periph table directly; use
scsipi_lookup_periph().
Revision 1.60: download - view: text, markup, annotated - select for diffs
Thu Apr 25 20:05:10 2002 UTC (24 years, 6 months ago) by bouyer
Branches: MAIN
Branch point for: gehenna-devsw
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +17 -4
lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 23 20:41:15 2002 UTC (24 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -3
lines
More copyright fixes, pointed out by Thomas. Thanks !
Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Apr 23 17:33:27 2002 UTC (24 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +6 -78
lines
- 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 - view: text, markup, annotated - select for diffs
Tue Apr 23 12:55:26 2002 UTC (24 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +12 -8
lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 23 10:38:37 2002 UTC (24 years, 7 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +33 -30
lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 22 15:48:55 2002 UTC (24 years, 7 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +8 -7
lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 22 09:43:44 2002 UTC (24 years, 7 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +7 -2
lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 20 00:15:54 2002 UTC (24 years, 7 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +507 -466
lines
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 - view: text, markup, annotated - select for diffs
Thu Apr 18 12:03:15 2002 UTC (24 years, 7 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +30 -2
lines
If SIOP_SYMLED is defined, drive the activity LED though GPIO pin 1.
Revision 1.40.2.8: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:05:50 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.7: preferred, colored
Changes since revision 1.40.2.7: +1 -2
lines
Catch up to -current.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri Apr 5 18:27:54 2002 UTC (24 years, 7 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -4
lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 1 07:45:37 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.6: preferred, colored
Changes since revision 1.40.2.6: +7 -3
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.45.2.4: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:01:02 2002 UTC (24 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.45.2.3: preferred, colored
Changes since revision 1.45.2.3: +7 -3
lines
Catch up with -current.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Fri Mar 1 21:37:03 2002 UTC (24 years, 8 months ago) by bouyer
Branches: MAIN
CVS tags: newlock-base,
newlock,
eeh-devprop-base,
eeh-devprop
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +7 -3
lines
As siop_morecbd() is called from the kernel thread, protect access to the
queues with splbio.
Revision 1.40.2.6: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:13:30 2002 UTC (24 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.5: preferred, colored
Changes since revision 1.40.2.5: +8 -12
lines
Catch up to -current.
Revision 1.45.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:09:46 2002 UTC (24 years, 9 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.45.2.2: preferred, colored
Changes since revision 1.45.2.2: +8 -12
lines
Sync w/ -current.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Jan 12 16:03:12 2002 UTC (24 years, 10 months ago) by tsutsui
Branches: MAIN
CVS tags: ifpoll-base
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +8 -12
lines
Call malloc(9) with M_ZERO flag instead of memset() after malloc().
Revision 1.45.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:55:02 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.45.2.1: preferred, colored
Changes since revision 1.45.2.1: +19 -22
lines
Sync kqueue branch with -current.
Revision 1.21.2.8: download - view: text, markup, annotated - select for diffs
Sat Jan 5 17:59:34 2002 UTC (24 years, 10 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003
Diff to: previous 1.21.2.7: preferred, colored; branchpoint 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21.2.7: +59 -24
lines
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 - view: text, markup, annotated - select for diffs
Wed Nov 14 19:14:36 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.4: preferred, colored
Changes since revision 1.40.2.4: +4 -1
lines
Catch up to -current.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Tue Nov 13 13:14:44 2001 UTC (25 years ago) by lukem
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -1
lines
add/cleanup RCSID
Revision 1.40.2.4: download - view: text, markup, annotated - select for diffs
Mon Oct 22 20:41:20 2001 UTC (25 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.3: preferred, colored
Changes since revision 1.40.2.3: +16 -22
lines
Catch up to -current.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Oct 14 20:37:28 2001 UTC (25 years, 1 month ago) by bouyer
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +16 -22
lines
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 - view: text, markup, annotated - select for diffs
Fri Aug 24 00:09:37 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.2: preferred, colored
Changes since revision 1.40.2.2: +7 -4
lines
Catch up with -current.
Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:13:04 2001 UTC (25 years, 3 months ago) by lukem
Branches: kqueue
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -2
lines
update to -current
Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Jul 19 16:25:26 2001 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -2
lines
Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places.
Revision 1.40.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:03:16 2001 UTC (25 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40.2.1: preferred, colored
Changes since revision 1.40.2.1: +402 -468
lines
Catch up to -current.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Jun 21 16:55:20 2001 UTC (25 years, 5 months ago) by bouyer
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -3
lines
Also print DSA addr in a DIAGNOSTING printf.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed May 23 15:51:32 2001 UTC (25 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +6 -6
lines
Call scsipi_channel_thaw() after scsipi_done() so that command ordering
is preserved.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Mon Apr 30 02:17:55 2001 UTC (25 years, 6 months ago) by lukem
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +4 -4
lines
delint newline in string
Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Apr 25 17:53:34 2001 UTC (25 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +398 -464
lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 9 01:56:29 2001 UTC (25 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -2
lines
Catch up with -current.
Revision 1.37.2.12: download - view: text, markup, annotated - select for diffs
Tue Apr 3 15:32:58 2001 UTC (25 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.37.2.11: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.2.11: +6 -1
lines
Ops, unfreeze the queue after a reset too.
Revision 1.37.2.11: download - view: text, markup, annotated - select for diffs
Tue Apr 3 15:30:41 2001 UTC (25 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.37.2.10: preferred, colored
Changes since revision 1.37.2.10: +102 -204
lines
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 - view: text, markup, annotated - select for diffs
Wed Mar 14 15:03:25 2001 UTC (25 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.37.2.9: preferred, colored
Changes since revision 1.37.2.9: +18 -31
lines
Add BUS_DMA_STREAMING for the data map, it really helps for sparc64.
Revision 1.37.2.9: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:30:31 2001 UTC (25 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.37.2.8: preferred, colored
Changes since revision 1.37.2.8: +32 -17
lines
Sync with HEAD.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed Mar 7 23:07:15 2001 UTC (25 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -2
lines
Add BUS_DMA_STREAMING to data transfer maps.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Mar 1 22:10:57 2001 UTC (25 years, 8 months ago) by thorpej
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +6 -6
lines
Differentiate a couple of similar error message, and add newlines
on the end of them.
Revision 1.21.2.7: download - view: text, markup, annotated - select for diffs
Mon Feb 26 17:47:46 2001 UTC (25 years, 8 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to: previous 1.21.2.6: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.6: +44 -17
lines
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 - view: text, markup, annotated - select for diffs
Sun Feb 11 19:15:37 2001 UTC (25 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.37.2.7: preferred, colored
Changes since revision 1.37.2.7: +4 -1
lines
Sync with HEAD.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Feb 11 18:04:49 2001 UTC (25 years, 9 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +44 -17
lines
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 - view: text, markup, annotated - select for diffs
Sun Feb 4 18:56:39 2001 UTC (25 years, 9 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.21.2.5: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.5: +4 -1
lines
Pull up revision 1.38 (requested by bouyer):
Add missing bus_dmamap_sync() calls.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Jan 26 22:00:01 2001 UTC (25 years, 9 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -1
lines
Add a few siop_table_sync() calls.
Revision 1.37.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 22 17:46:31 2001 UTC (25 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.37.2.6: preferred, colored
Changes since revision 1.37.2.6: +104 -13
lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 15 09:26:26 2001 UTC (25 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.37.2.5: preferred, colored
Changes since revision 1.37.2.5: +10 -72
lines
Pass CHECK CONDITION status and reset events to the mid-layer.
Revision 1.37.2.5: download - view: text, markup, annotated - select for diffs
Fri Dec 15 07:48:32 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.37.2.4: preferred, colored
Changes since revision 1.37.2.4: +23 -54
lines
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 - view: text, markup, annotated - select for diffs
Fri Dec 15 04:48:03 2000 UTC (25 years, 11 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.21.2.4: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.4: +935 -528
lines
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 - view: text, markup, annotated - select for diffs
Thu Dec 14 13:09:30 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.37.2.3: preferred, colored
Changes since revision 1.37.2.3: +227 -168
lines
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 - view: text, markup, annotated - select for diffs
Wed Nov 22 16:03:30 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.37.2.2: preferred, colored
Changes since revision 1.37.2.2: +21 -18
lines
Sync with HEAD.
Revision 1.37.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:40:54 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.37.2.1: preferred, colored
Changes since revision 1.37.2.1: +1988 -0
lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
Revision 1.37.2.1
Tue Nov 14 18:21:02 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
FILE REMOVED
Changes since revision 1.37: +0 -1991
lines
file siop.c was added on branch thorpej_scsipi on 2000-11-20 11:40:54 +0000
Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Nov 14 18:21:02 2000 UTC (26 years ago) by thorpej
Branches: MAIN
Branch point for: thorpej_scsipi
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +21 -18
lines
NBPG -> PAGE_SIZE
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Oct 23 23:18:10 2000 UTC (26 years ago) by bouyer
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +133 -78
lines
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 - view: text, markup, annotated - select for diffs
Mon Oct 23 14:56:16 2000 UTC (26 years ago) by bouyer
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +438 -395
lines
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 - view: text, markup, annotated - select for diffs
Sat Oct 21 13:56:17 2000 UTC (26 years, 1 month ago) by bouyer
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -2
lines
Ops, sync the script DMA map when the script RAM *don't* exists.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Oct 19 07:22:06 2000 UTC (26 years, 1 month ago) by bouyer
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +3 -2
lines
Adapt for script change: don't assume Ent_lun_switch_entry == 0
Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Oct 18 20:06:54 2000 UTC (26 years, 1 month ago) by bouyer
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +20 -2
lines
Ops, add proper bus_dmamap_sync() calls for reselect switch operations.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Oct 18 17:06:52 2000 UTC (26 years, 1 month ago) by bouyer
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +609 -413
lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 6 20:07:10 2000 UTC (26 years, 1 month ago) by bouyer
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -2
lines
Ops, disable debugging messages.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Oct 6 16:39:04 2000 UTC (26 years, 1 month ago) by bouyer
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +42 -42
lines
Fix recurent typo: shed->sched
Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Oct 6 16:35:13 2000 UTC (26 years, 1 month ago) by bouyer
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +116 -18
lines
Adapt for reselect handling from the script. While here, fix typo
(SIOP_SCXFER -> SIOP_SXFER).
Revision 1.21.2.4: download - view: text, markup, annotated - select for diffs
Tue Oct 3 15:21:43 2000 UTC (26 years, 1 month ago) by bouyer
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Diff to: previous 1.21.2.3: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.3: +2 -2
lines
Pull up 1.24->1.25 (approved by thorpej):
fix off by one error.
Revision 1.21.2.3: download - view: text, markup, annotated - select for diffs
Sun Jul 30 16:45:36 2000 UTC (26 years, 3 months ago) by bouyer
Branches: netbsd-1-5
CVS tags: netbsd-1-5-ALPHA2
Diff to: previous 1.21.2.2: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.2: +3 -3
lines
pull up 1.26->1.27, approved by jhawk:
Fixes 32bit interger overflow with large timeout. Fixes kern/10575.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Jul 27 21:28:17 2000 UTC (26 years, 3 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3
lines
Force 64bit arithmetic for timeout computation; a 32bit int opverflows for
large timeouts. Should fix PR kern/10575.
Revision 1.21.2.2: download - view: text, markup, annotated - select for diffs
Mon Jul 24 16:51:38 2000 UTC (26 years, 3 months ago) by bouyer
Branches: netbsd-1-5
Diff to: previous 1.21.2.1: preferred, colored; branchpoint 1.21: preferred, colored
Changes since revision 1.21.2.1: +25 -18
lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 24 15:15:00 2000 UTC (26 years, 3 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +25 -18
lines
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 - view: text, markup, annotated - select for diffs
Wed Jul 19 16:07:00 2000 UTC (26 years, 4 months ago) by pk
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2
lines
Fixx off-by-one error in handlereset().
Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Jun 28 17:13:04 2000 UTC (26 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -3
lines
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
Revision 1.23: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:21:10 2000 UTC (26 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -3
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 26 08:49:11 2000 UTC (26 years, 4 months ago) by bouyer
Branches: netbsd-1-5
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -3
lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 22 17:06:54 2000 UTC (26 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +37 -15
lines
Sync w/ netbsd-1-5-base.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Jun 20 17:16:22 2000 UTC (26 years, 5 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -3
lines
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 - view: text, markup, annotated - select for diffs
Tue Jun 13 13:59:17 2000 UTC (26 years, 5 months ago) by bouyer
Branches: MAIN
CVS tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +11 -11
lines
sheduler->scheduler, as pointed out by Klaus Klein
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Jun 12 20:13:41 2000 UTC (26 years, 5 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +25 -4
lines
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 - view: text, markup, annotated - select for diffs
Wed Jun 7 14:40:20 2000 UTC (26 years, 5 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1
lines
Adapt struct scsipi_adapter changes.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Jun 5 21:47:25 2000 UTC (26 years, 5 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2
lines
use the correct variable in a debug printf().
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu May 25 10:10:56 2000 UTC (26 years, 5 months ago) by bouyer
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +108 -55
lines
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 - view: text, markup, annotated - select for diffs
Tue May 23 17:08:07 2000 UTC (26 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +165 -80
lines
Allocate dynamically the command block descriptors.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon May 15 15:16:59 2000 UTC (26 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2
lines
Don't enable debug message by default.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon May 15 07:48:24 2000 UTC (26 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +61 -514
lines
- 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 - view: text, markup, annotated - select for diffs
Thu May 11 09:30:12 2000 UTC (26 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3
lines
Use correct divider value for scxfer
Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat May 6 00:44:00 2000 UTC (26 years, 6 months ago) by soren
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3
lines
Typos.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri May 5 09:32:48 2000 UTC (26 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +5 -1
lines
Ops, restore sync/wide parameters after a reselect.
Also, better handling of parity errors.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri May 5 09:05:44 2000 UTC (26 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +27 -18
lines
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 - view: text, markup, annotated - select for diffs
Thu May 4 17:18:27 2000 UTC (26 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +55 -15
lines
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 - view: text, markup, annotated - select for diffs
Thu May 4 16:56:13 2000 UTC (26 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +123 -59
lines
- 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 - view: text, markup, annotated - select for diffs
Tue May 2 19:03:02 2000 UTC (26 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +537 -140
lines
- 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 - view: text, markup, annotated - select for diffs
Thu Apr 27 16:49:07 2000 UTC (26 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +6 -7
lines
More big-endian fixes from Izumi Tsutsui.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Apr 27 14:06:57 2000 UTC (26 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +14 -17
lines
Fix copyrigth notice.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Apr 26 20:00:31 2000 UTC (26 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +39 -29
lines
Big-endian fixes from Izumi Tsutsui.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Apr 25 20:02:33 2000 UTC (26 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +7 -1
lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 25 16:27:05 2000 UTC (26 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +591 -174
lines
- 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 - view: text, markup, annotated - select for diffs
Fri Apr 21 17:56:58 2000 UTC (26 years, 7 months ago) by bouyer
Branches: MAIN
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'.
CVSweb <webmaster@jp.NetBSD.org>