CVS log for src/sys/dev/ic/isp.c
Up to [cvs.NetBSD.org] / src / sys / dev / ic
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.135: download - view: text, markup, annotated - select for diffs
Sun Dec 12 13:05:14 2021 UTC (4 years, 11 months ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
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,
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,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +7 -7
lines
fix various typos, mainly in comments.
Revision 1.134: download - view: text, markup, annotated - select for diffs
Sun Dec 12 09:00:07 2021 UTC (4 years, 11 months ago) by andvar
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +3 -3
lines
fix typos in word "request(s)".
Revision 1.133: download - view: text, markup, annotated - select for diffs
Sun Dec 5 13:10:43 2021 UTC (4 years, 11 months ago) by rillig
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +3 -3
lines
isp: fix typo in comment
Revision 1.132: download - view: text, markup, annotated - select for diffs
Sun Dec 5 04:29:53 2021 UTC (4 years, 11 months ago) by msaitoh
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +3 -3
lines
s/corret/correct/ in comment.
Revision 1.131: download - view: text, markup, annotated - select for diffs
Thu Oct 21 13:21:54 2021 UTC (5 years ago) by andvar
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +3 -3
lines
fix various typos, mainly in comments, but also in man pages and log messages.
Revision 1.130: download - view: text, markup, annotated - select for diffs
Sun Sep 19 10:34:09 2021 UTC (5 years, 1 month ago) by andvar
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +3 -3
lines
fix various typos in comments, messages and documentation.
Revision 1.129: download - view: text, markup, annotated - select for diffs
Sat Sep 11 20:28:06 2021 UTC (5 years, 2 months ago) by andvar
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +3 -3
lines
Add missing double p and d for stopped and overriden accordingly.
Fix few more typos along the way, mainly in copy-pasted comments.
Revision 1.128: download - view: text, markup, annotated - select for diffs
Mon Sep 6 21:56:04 2021 UTC (5 years, 2 months ago) by andvar
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +3 -3
lines
fix various typos in comments.
Revision 1.127: download - view: text, markup, annotated - select for diffs
Thu Feb 8 09:05:19 2018 UTC (8 years, 9 months ago) by dholland
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
phil-wifi-base,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
phil-wifi,
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,
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,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +4 -4
lines
Typos.
Revision 1.122.14.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:03 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.122.14.2: preferred, colored; branchpoint 1.122: preferred, colored; next MAIN 1.123: preferred, colored
Changes since revision 1.122.14.2: +1 -1
lines
update from HEAD
Revision 1.125.6.1: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:03 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.125: preferred, colored; next MAIN 1.126: preferred, colored
Changes since revision 1.125: +3 -3
lines
Sync with HEAD
Revision 1.125.14.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:46 2017 UTC (9 years, 6 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.125: preferred, colored; next MAIN 1.126: preferred, colored
Changes since revision 1.125: +3 -3
lines
Sync with HEAD
Revision 1.125.10.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:28 2017 UTC (9 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.125: preferred, colored; next MAIN 1.126: preferred, colored
Changes since revision 1.125: +3 -3
lines
Sync with HEAD
Revision 1.126: download - view: text, markup, annotated - select for diffs
Sat Mar 11 12:08:57 2017 UTC (9 years, 8 months ago) by maya
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
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,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +3 -3
lines
Don't loop infinitely if the output pointer was changed
Untested, but the change done seems to match the comment above it
CID 980321
Revision 1.122.14.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:38 2014 UTC (12 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.122.14.1: preferred, colored; branchpoint 1.122: preferred, colored
Changes since revision 1.122.14.1: +7 -11
lines
Rebase to HEAD as of a few days ago.
Revision 1.122.4.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.122: preferred, colored; next MAIN 1.123: preferred, colored
Changes since revision 1.122: +16 -14
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.123.6.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:37 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.123: preferred, colored; next MAIN 1.124: preferred, colored
Changes since revision 1.123: +9 -13
lines
sync with head
Revision 1.125: download - view: text, markup, annotated - select for diffs
Sat Sep 14 13:09:55 2013 UTC (13 years, 2 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
pgoyette-localcount-base,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
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,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
localcount-20160914,
bouyer-socketcan-base
Branch point for: pgoyette-localcount,
nick-nhusb,
bouyer-socketcan
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +2 -3
lines
GC unused functions and variables.
Revision 1.124: download - view: text, markup, annotated - select for diffs
Sat Sep 14 12:43:08 2013 UTC (13 years, 2 months ago) by martin
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +9 -12
lines
Remove unused variables, use C99 open arrays for variable sized arrays
Revision 1.122.14.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:20:17 2013 UTC (13 years, 4 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +9 -3
lines
resync from head
Revision 1.122.10.1: download - view: text, markup, annotated - select for diffs
Thu Mar 14 21:52:10 2013 UTC (13 years, 8 months ago) by riz
Branches: netbsd-6
CVS tags: netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
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
Diff to: previous 1.122: preferred, colored; next MAIN 1.123: preferred, colored
Changes since revision 1.122: +9 -3
lines
Pull up following revision(s) (requested by martin in ticket #838):
sys/dev/ic/isp.c: revision 1.123
Disable ICBOPT_FAST_POST for ISP 2100.
Fixes PR kern/47302. From Matthew Jacob.
Revision 1.123: download - view: text, markup, annotated - select for diffs
Wed Feb 27 09:29:21 2013 UTC (13 years, 8 months ago) by martin
Branches: MAIN
CVS tags: riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +9 -3
lines
Disable ICBOPT_FAST_POST for ISP 2100.
Fixes PR kern/47302. From Matthew Jacob.
Revision 1.121.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:53 2011 UTC (15 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.121: preferred, colored; next MAIN 1.122: preferred, colored
Changes since revision 1.121: +72 -51
lines
Sync with HEAD.
Revision 1.120.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:16 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.120.4.1: preferred, colored; branchpoint 1.120: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120.4.1: +72 -51
lines
sync with head
Revision 1.121.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:10:18 2011 UTC (15 years, 8 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.121: preferred, colored; next MAIN 1.122: preferred, colored
Changes since revision 1.121: +72 -51
lines
Sync with HEAD
Revision 1.122: download - view: text, markup, annotated - select for diffs
Mon Feb 28 17:17:55 2011 UTC (15 years, 8 months ago) by mjacob
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,
netbsd-6-base,
netbsd-6-1-RC1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
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
Branch point for: yamt-pagecache,
tls-maxphys,
netbsd-6
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +72 -51
lines
Update isp driver to be in sync with other platforms. Mostly very minor changes
with effectively zero impact on NetBSD.
Revision 1.114.4.5: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:26 2010 UTC (16 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.114.4.4: preferred, colored; branchpoint 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114.4.4: +298 -402
lines
sync with head.
Revision 1.120.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:22 2010 UTC (16 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +298 -402
lines
sync with head
Revision 1.120.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:16 2010 UTC (16 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.120: preferred, colored; next MAIN 1.121: preferred, colored
Changes since revision 1.120: +298 -402
lines
Sync with HEAD.
Revision 1.121: download - view: text, markup, annotated - select for diffs
Fri Mar 26 20:52:00 2010 UTC (16 years, 7 months ago) by mjacob
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
bouyer-quota2-base
Branch point for: jruoho-x86intr,
bouyer-quota2
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +298 -402
lines
Synchronize with other platforms:
Strongly architect handles so we can more easily detect bogus
handles. This switches us to a full 32 bits for all handles.
Handle the case of FC disks disappearing and then reappearing-
at least at the FC transport level.
Some better and finer control of debug and non-debug printouts.
Revision 1.114.4.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:31 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.114.4.3: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.4.3: +62 -48
lines
sync with head
Revision 1.120: download - view: text, markup, annotated - select for diffs
Fri Jan 15 20:09:09 2010 UTC (16 years, 10 months ago) by mjacob
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
uebayasi-xip-base
Branch point for: uebayasi-xip,
rmind-uvmplock
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +3 -3
lines
Amazingly, we've been freeing a handle and then using that which it referred
to for years. Bad.
Revision 1.119: download - view: text, markup, annotated - select for diffs
Tue Jan 5 13:30:10 2010 UTC (16 years, 10 months ago) by mbalmer
Branches: MAIN
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +5 -5
lines
Remove extra semicolons.
Revision 1.118: download - view: text, markup, annotated - select for diffs
Sun Jan 3 02:47:09 2010 UTC (16 years, 10 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +58 -44
lines
Add some more definitions appropriate for T10 standards
and use those cleaned up definitions.
Use 2100 style firmware loading if the load address and
load size is less than 64k. Some apparently buggy ROMs
out there choke otherwise.
Clean up some WWNN derivations from WWPN.
Revision 1.116.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:47 2009 UTC (17 years, 3 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.116: preferred, colored; next MAIN 1.117: preferred, colored
Changes since revision 1.116: +488 -766
lines
Sync with HEAD.
Revision 1.114.4.3: download - view: text, markup, annotated - select for diffs
Sat Jul 18 14:53:01 2009 UTC (17 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.114.4.2: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.4.2: +488 -766
lines
sync with head.
Revision 1.117: download - view: text, markup, annotated - select for diffs
Thu Jun 25 23:44:01 2009 UTC (17 years, 4 months ago) by mjacob
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
matt-premerge-20091211,
jymxensuspend-base,
jym-xensuspend-nbase
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +488 -766
lines
Update ISP driver to latest and greatest. Includes support for the 8Gb part.
Revision 1.114.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:42 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.114.4.1: preferred, colored; branchpoint 1.114: preferred, colored
Changes since revision 1.114.4.1: +5 -5
lines
sync with head.
Revision 1.115.6.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:55 2009 UTC (17 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.115: preferred, colored; next MAIN 1.116: preferred, colored
Changes since revision 1.115: +5 -5
lines
Sync with HEAD.
Revision 1.113.28.3: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:55 2009 UTC (17 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.113.28.2: preferred, colored; branchpoint 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113.28.2: +3 -3
lines
Sync with HEAD.
Revision 1.116: download - view: text, markup, annotated - select for diffs
Sat Jan 3 03:43:22 2009 UTC (17 years, 10 months ago) by yamt
Branches: MAIN
CVS tags: yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
mjf-devfs2-base,
jym-xensuspend-base
Branch point for: jym-xensuspend
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +5 -5
lines
remove extra semicolons.
Revision 1.114.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:31:04 2008 UTC (18 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114: +61 -34
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.113.28.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:23 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.113.28.1: preferred, colored; branchpoint 1.113: preferred, colored
Changes since revision 1.113.28.1: +59 -32
lines
Sync with HEAD.
Revision 1.114.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:43 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.114: preferred, colored; next MAIN 1.115: preferred, colored
Changes since revision 1.114: +61 -34
lines
sync with head.
Revision 1.114.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:24:04 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +61 -34
lines
sync with head.
Revision 1.115: download - view: text, markup, annotated - select for diffs
Sun May 11 02:08:11 2008 UTC (18 years, 6 months ago) by mjacob
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
hpcarm-cleanup-nbase,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: nick-hppapmap
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +61 -34
lines
Make fc scratch acquisition something that can fail. Remove in_intr flag.
Otherwise synchronize with changes made due to other platforms.
Revision 1.113.28.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:40 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +1707 -1432
lines
Sync with HEAD.
Revision 1.113.24.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:16 2008 UTC (18 years, 7 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113: +1707 -1432
lines
sync with head.
Revision 1.113.8.1: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:38 2008 UTC (18 years, 7 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.113: preferred, colored; next MAIN 1.114: preferred, colored
Changes since revision 1.113: +1707 -1432
lines
sync with HEAD
Revision 1.107.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:14:42 2008 UTC (18 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.107.2.1: preferred, colored; branchpoint 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107.2.1: +1707 -1432
lines
sync with head.
Revision 1.114: download - view: text, markup, annotated - select for diffs
Tue Mar 11 05:33:30 2008 UTC (18 years, 8 months ago) by mjacob
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
wrstuden-revivesa
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +1708 -1433
lines
Checkpoint of some fairly major isp(4) rototilling.
Reintroduce more of a 'channel' concept in preparation for NP-IV support.
This gets rid of the chanA/chanB concept as the 2400 can have up to 128
virtual channels. Actually, with MID firmware you can also have the 2200
and 2300 support 'channels, but they do it with an FL-Port topology.
Because FC cards can now have 'channels', just about every support
function for fibre channel had to be redone to have a channel index
as well. Rototill isp_ioctl.h for channel stuff as well.
Pick up a lot of work about fabric management (hopefully better) and keep
work in place that will allow for dynamic attachment/detachment of devices
(if I can figure out how to make the midlayer support it).
Merge the target code with external trees. Eventually it might even
be sorted out on NetBSD.
Update some firmware stuff.
Revision 1.107.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:34:44 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +3796 -2190
lines
sync with head.
Revision 1.110.8.3: download - view: text, markup, annotated - select for diffs
Sun Jul 15 15:52:44 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.110.8.2: preferred, colored; branchpoint 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110.8.2: +3 -4
lines
Sync with head.
Revision 1.110.8.2: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:21:14 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.110.8.1: preferred, colored; branchpoint 1.110: preferred, colored
Changes since revision 1.110.8.1: +46 -19
lines
Sync with head.
Revision 1.110.10.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:05:51 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.110: preferred, colored; next MAIN 1.111: preferred, colored
Changes since revision 1.110: +3796 -2190
lines
Sync with head.
Revision 1.113: download - view: text, markup, annotated - select for diffs
Sat Jul 7 00:49:48 2007 UTC (19 years, 4 months ago) by mjacob
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
vmlocking-base,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-net80211-sync-base,
nick-net80211-sync,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
mjf-devfs-base,
mjf-devfs,
matt-mips64-base,
matt-mips64,
matt-armv6-prevmlocking,
matt-armv6-base,
jmcneill-pm-base,
jmcneill-pm,
jmcneill-base,
hpcarm-cleanup-base,
hpcarm-cleanup,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: mjf-devfs2,
matt-armv6,
keiichi-mipv6
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +44 -17
lines
Do a number of 24XX related fixes: fix the actual getting of initiator
status correctly (which we never were doing before). Add an underrun
checker for 24XX. The process of sorting this out led to a whole bunch
of endian surprises that had to be dealt with. Fix NVRAM endian issues
for the 24XX as well.
Do a little 2200 related cleanup- in particular, turn off complaints about
not finding a fast posting handle when running with RIO enabled- we are
somehow getting duplicate completions in this case. If we ignore them and
don't complain, all is well, and we actually start averaging > 2 commands
completed per interrupt.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Tue Jun 26 21:00:18 2007 UTC (19 years, 4 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +4 -4
lines
When loading firmware for the 23XX and 24XX cards and DMA'ing it from
the request queue, remember to convert it to little endian format.
Revision 1.110.8.1: download - view: text, markup, annotated - select for diffs
Sun May 27 14:30:02 2007 UTC (19 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +3727 -2147
lines
Sync with head.
Revision 1.111: download - view: text, markup, annotated - select for diffs
Thu May 24 21:30:41 2007 UTC (19 years, 5 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +3777 -2198
lines
Major update to isp(4) driver to bring it in line with external sources.
The major changes are:
+ 4Gb (24XX) card support
+ Rewritten fabric and loop evaluation code
+ New f/w sets
The 4Gb changes required major rototilling, which caused a rewrite of
fabric and loop eval code. The latter can now be set up to tune for
dynamic device arrival/departure if the framework is set up for it,
or to be firm about waiting for devices.
Testing has been principally on amd64, i386 and sparc64 and seems to
not have broken things for me.
Revision 1.108.22.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:17:06 2006 UTC (19 years, 11 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.108.22.1: preferred, colored; branchpoint 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108.22.1: +3 -3
lines
sync with head.
Revision 1.108.20.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:34:12 2006 UTC (20 years ago) by ad
Branches: newlock2
Diff to: previous 1.108: preferred, colored; next MAIN 1.109: preferred, colored
Changes since revision 1.108: +2 -2
lines
Sync with head.
Revision 1.110: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:51 2006 UTC (20 years ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-idlelwp-base8,
yamt-idlelwp,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
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: vmlocking,
mjf-ufs-trans
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +3 -3
lines
__unused removal on arguments; approved by core.
Revision 1.108.22.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:44 2006 UTC (20 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +3 -3
lines
sync with head
Revision 1.109: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:31:00 2006 UTC (20 years, 1 month ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +3 -3
lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
Revision 1.108: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:21:27 2005 UTC (20 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
yamt-pdpolicy,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
rpaulo-netinet-merge-pcb-base,
rpaulo-netinet-merge-pcb,
peter-altq-base,
peter-altq,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
elad-kernelauth,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +2 -2
lines
merge ktrace-lwp.
Revision 1.102.2.5: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:04:14 2005 UTC (21 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.102.2.4: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102.2.4: +39 -40
lines
Sync with HEAD. Here we go again...
Revision 1.107: download - view: text, markup, annotated - select for diffs
Mon May 30 04:43:46 2005 UTC (21 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +39 -40
lines
- add missing const
- fix variable shadowing
- remove unneeded casts
Revision 1.105.8.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:50 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105: +8 -8
lines
sync with -current
Revision 1.105.10.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:34:02 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.105: preferred, colored; next MAIN 1.106: preferred, colored
Changes since revision 1.105: +8 -8
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.102.2.4: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:41:29 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.102.2.3: preferred, colored
Changes since revision 1.102.2.3: +8 -8
lines
Sync with HEAD.
Hi Perry!
Revision 1.106: download - view: text, markup, annotated - select for diffs
Sun Feb 27 00:27:01 2005 UTC (21 years, 8 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
kent-audio2-base
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +8 -8
lines
nuke trailing whitespace
Revision 1.102.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:27:57 2004 UTC (22 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.102.2.2: preferred, colored
Changes since revision 1.102.2.2: +2 -2
lines
Fix the sync with head I botched.
Revision 1.102.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:45:58 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.102.2.1: preferred, colored
Changes since revision 1.102.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.102.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:46:16 2004 UTC (22 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +19 -14
lines
Sync with HEAD
Revision 1.105: download - view: text, markup, annotated - select for diffs
Thu Dec 4 13:57:30 2003 UTC (22 years, 11 months ago) by keihan
Branches: MAIN
CVS tags: yamt-km-base2,
yamt-km-base,
netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +3 -3
lines
netbsd.org -> NetBSD.org
This was the last commit of this kind to src/sys, which is now totally
"NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
Revision 1.104: 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.103: preferred, colored
Changes since revision 1.103: +6 -6
lines
Fix some typos. From Tom Cosgrove via jmc@openbsd.
Revision 1.103: download - view: text, markup, annotated - select for diffs
Thu Aug 7 01:08:10 2003 UTC (23 years, 3 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +14 -9
lines
Update from mainline: add ISP_NO_ZIO option. constify a few items.
LINT/ProPolice fixes from OpenBSD.
In isp_reinit, clear the port database.
Revision 1.102: download - view: text, markup, annotated - select for diffs
Sat May 3 18:11:19 2003 UTC (23 years, 6 months ago) by wiz
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +3 -3
lines
DMA, not dma nor Dma.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Mon Mar 3 20:53:14 2003 UTC (23 years, 8 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +21 -15
lines
Spelling fixes. Leave an example for how to set icbdelay timer for
ZIO operations. If we have ISP_FW_CRASH_DUMP defined, don't reinit
the chip on ISP_CONN_FATAL (that's up to the outer layers to do).
Revision 1.72.2.17: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:37:58 2002 UTC (23 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.72.2.16: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72.2.16: +2 -2
lines
Sync with HEAD.
Revision 1.100: download - view: text, markup, annotated - select for diffs
Mon Nov 25 01:44:21 2002 UTC (23 years, 11 months ago) by thorpej
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.99: preferred, colored
Changes since revision 1.99: +4 -4
lines
Avoid strict-alias warnings.
Revision 1.72.2.16: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:09:38 2002 UTC (24 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.72.2.15: preferred, colored
Changes since revision 1.72.2.15: +70 -41
lines
Catch up to -current
Revision 1.99: download - view: text, markup, annotated - select for diffs
Fri Oct 18 23:31:11 2002 UTC (24 years, 1 month ago) by mjacob
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-aftermerge
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +72 -43
lines
Add in (sight unseen) 10160 support.
Start doing the work necessary to support DAC (Dual Address Cycle)
environments. This allows for direct DMA to > 4GB memory from a PCI
card.
Lose STRNCAT over the side and use SNPRINTF instead.
Revision 1.78.2.5: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:44:20 2002 UTC (24 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.78.2.4: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78.2.4: +74 -36
lines
sync kqueue branch with HEAD
Revision 1.93.2.3: download - view: text, markup, annotated - select for diffs
Thu Aug 29 05:22:27 2002 UTC (24 years, 2 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.93.2.2: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93.2.2: +74 -36
lines
catch up with -current.
Revision 1.72.2.15: download - view: text, markup, annotated - select for diffs
Tue Aug 27 23:46:36 2002 UTC (24 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.72.2.14: preferred, colored
Changes since revision 1.72.2.14: +50 -22
lines
Catch up to -current.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Sat Aug 17 17:31:53 2002 UTC (24 years, 3 months ago) by mjacob
Branches: MAIN
CVS tags: kqueue-base,
gehenna-devsw-base
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +23 -8
lines
If we're using ancient (pre 1.17.0) 2100 f/w (for the cards that cannot
load f/w images > 0x7fff words), set ISP_FW_ATTR_SCCLUN. We explicitly
don't believe we can find attributes if f/w is < 1.17.0, so we have to
set SCCLUN for the 1.15.37 f/w we're using manually- otherwise every
target will replicate itself across all 16 supported luns for non-SCCLUN
f/w.
Revision 1.97: download - view: text, markup, annotated - select for diffs
Fri Aug 16 21:43:14 2002 UTC (24 years, 3 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +33 -20
lines
Further fix problems with 23XX ISR handling and correctly initialize the
23XX to use ZIO in preference to fast posting.
Revision 1.72.2.14: download - view: text, markup, annotated - select for diffs
Tue Aug 13 02:19:24 2002 UTC (24 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.72.2.13: preferred, colored
Changes since revision 1.72.2.13: +24 -14
lines
Catch up to -current.
Revision 1.96: download - view: text, markup, annotated - select for diffs
Mon Aug 12 21:33:39 2002 UTC (24 years, 3 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +24 -14
lines
Various changes to allow for overriding just loopid and/or iid.
Fix a random 23XX ISR reading bug. Be chattier about HBA_BOTCH
errors. More f/w cashdump layering.
Revision 1.78.2.4: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:46:33 2002 UTC (24 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.78.2.3: preferred, colored
Changes since revision 1.78.2.3: +626 -168
lines
catch up with -current on kqueue branch
Revision 1.93.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 20 16:33:09 2002 UTC (24 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.93.2.1: preferred, colored
Changes since revision 1.93.2.1: +96 -49
lines
catch up with -current.
Revision 1.72.2.13: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:44:44 2002 UTC (24 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.72.2.12: preferred, colored
Changes since revision 1.72.2.12: +152 -80
lines
Catch up to -current.
Revision 1.95: download - view: text, markup, annotated - select for diffs
Sat Jun 15 00:16:26 2002 UTC (24 years, 5 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +96 -49
lines
Make sure we set maxluns even if isp_touched is already set.
Do a fallback on reading stuff from the fabric. Some devices/initiators
don't correctly register their type with the fabric nameserver. This
seems to be due to a misinterpretation of what TYPE should mean for a
CT_HDR. In any case, do a fallback to try and catch these misentered
entities.
Add some stuff for default framesize and throttle. Fix some buglets.
Revision 1.93.2.1: download - view: text, markup, annotated - select for diffs
Thu May 30 14:45:46 2002 UTC (24 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +61 -32
lines
Catch up with -current.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Fri May 17 18:49:42 2002 UTC (24 years, 6 months ago) by mjacob
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +61 -32
lines
Fix seveeral issues- but the most important of which is that we have
to check if we get a RQCS_DATA_UNDERRUN - if we're an FC card, we may
not have RQCS_RU set- if it isn't set, we just lost a DATA XFR IU in the
middle of the exchange. In this case, we have to bomb out the whole xfer.
We had been getting silent data corruption before.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Sat Apr 20 05:05:56 2002 UTC (24 years, 7 months ago) by mjacob
Branches: MAIN
Branch point for: gehenna-devsw
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +4 -8
lines
Number of luns supported for SCC-2 is actually really 16384- top
3 bits are lun address modifiers.
Remove code that (incorrectly) thought it was asking the f/w to only
PLOGI if not already PLOGI'd. The current f/w documentation tells us
that we have this backwards.
Revision 1.72.2.12: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:05:41 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.72.2.11: preferred, colored
Changes since revision 1.72.2.11: +457 -79
lines
Catch up to -current.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Thu Apr 11 02:32:03 2002 UTC (24 years, 7 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +91 -24
lines
Clean up a bit from the last checkin so that the correct result pointers
are used- didn't make a difference, but hey...
Put in commented out GFF_ID code- for use in future attempts to search
the fabric- this probably has to go thru the management server path.
Don't whine about handles we can't find if these are aborted commands
(we know we can't find the handles because we destroy handles after
a successful mailbox abort- we don't wait for the F/W to decide whether
it wants to return a status IOCB after this happens).
Revision 1.91: download - view: text, markup, annotated - select for diffs
Thu Apr 4 23:38:43 2002 UTC (24 years, 7 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +383 -72
lines
Redo fabric evaluation to not use GET ALL NEXT (GA_NXT). Switches seem
to be trying to wriggle out of supporting this well. Instead, use
GID_FT to get a list of Port IDs and then use GPN_ID/GNN_ID to find the
port and node wwn. This should make working on fabrics a bit cleaner and
more stable.
This also caused some cleanup of SNS subcommand canonicalization so that
we can actually check for FS_ACC and FS_RJT, and if we get an FS_RJT,
print out the reason and explanation codes.
We'll keep the old GA_NXT method around if people want to uncomment a
controlling definition in ispvar.h.
This also had us clean up ISPASYNC_FABRICDEV to use a local lportdb argument
and to have the caller explicitly say that a device is at the end of the
fabric list.
Revision 1.72.2.11: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:45:29 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.72.2.10: preferred, colored
Changes since revision 1.72.2.10: +49 -20
lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
Revision 1.90: download - view: text, markup, annotated - select for diffs
Fri Mar 22 02:34:06 2002 UTC (24 years, 8 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +30 -22
lines
Handle Port Unavailable the same as Port Logout (i.e., send a LIP).
Unconst pointer to f/w in the ispdv structure. Too many compilers get
unhappy over our walking the array. Make casts as appropriate so that
initialization in structure is still happy.
Limit length of fabric to 256. This will all go away soon.
Do a cleaner case of keeping multiple CPUs/threads from reading the
same response queue entries.
Revision 1.78.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:00:56 2002 UTC (24 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.78.2.2: preferred, colored
Changes since revision 1.78.2.2: +567 -44
lines
Catch up with -current.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Thu Mar 7 00:14:04 2002 UTC (24 years, 8 months ago) by mjacob
Branches: MAIN
CVS tags: newlock-base,
newlock,
eeh-devprop-base,
eeh-devprop
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +27 -6
lines
Disable RIO (reduced interrupt operation) for 2200 boards- it seemed like
it worked- but I ran into a case with a 2204 where commands were being lost
right and left. Best be safe.
For target mode, or things called if we call isp_handle_other response- note
that we might have dropped locks by changing the output pointer so we bail
from the loop. It's the responsibility of the entity dropping the lock to
make sure that we let the f/w know we've read thus far into the response
queue (else we begin processing the same entries again- blech!).
Revision 1.72.2.10: download - view: text, markup, annotated - select for diffs
Thu Feb 28 20:15:41 2002 UTC (24 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.72.2.9: preferred, colored
Changes since revision 1.72.2.9: +2 -3
lines
Correct a merge botch.
Revision 1.72.2.9: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:13:23 2002 UTC (24 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.72.2.8: preferred, colored
Changes since revision 1.72.2.8: +545 -42
lines
Catch up to -current.
Revision 1.88: download - view: text, markup, annotated - select for diffs
Thu Feb 21 22:32:40 2002 UTC (24 years, 8 months ago) by mjacob
Branches: MAIN
CVS tags: ifpoll-base
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +545 -43
lines
Implement F/W crashdumps for 2200 && 2300 cards (kernel compile option).
Distinguish between 2312 and 2300 cards (they *are* different). Enable
RIO (Reduced Interrupt Operation) for the LVD cards (hey- I've seen
batched completions of the 30 commands at a time with this,....)...
If we get a Port Logout on local loop topologies, we have to force the
f/w to log back in. The easiest way (for us) to do this is to force
a LIP. This also will wake up the disk that probably just had a f/w crash.
Implement mailbox 'continuations'- this allows interrupts to re-drive
a mailbox command if it's one that just essentially repeats the previous
mailbox command (e.g., f/w download). This saves a boatload of sleep/wakeup
twitches.
If we're not a 2300 and we're about to return with a 'bogus interrupt'- check
the semaphore register to be non-zero at all and outgoing mailbox 0- this
seems to be where some of the lost ISP1080 commands came from.
Revision 1.72.2.8: download - view: text, markup, annotated - select for diffs
Fri Jan 11 23:38:58 2002 UTC (24 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.72.2.7: preferred, colored
Changes since revision 1.72.2.7: +90 -31
lines
More catchup.
Revision 1.78.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:54:38 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.78.2.1: preferred, colored
Changes since revision 1.78.2.1: +308 -178
lines
Sync kqueue branch with -current.
Revision 1.72.2.7: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:29:49 2002 UTC (24 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.72.2.6: preferred, colored
Changes since revision 1.72.2.6: +137 -126
lines
Catch up to -current.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Thu Jan 3 21:45:06 2002 UTC (24 years, 10 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +90 -31
lines
Implement REDUCED INTERRUPT OPERATION usage for FC cards- this allows the
firmware to delay completion of commands so that it can attempt to batch
a bunch of completions at once- either returning 16 bit handles in mailbox
registers, or in a resposne queue entry that has a whole wad of 16 bit handles.
Distinguish between 2300 and 2312 chipsets- if only because the revisions
on the chips have different meanings.
Add more instrumentation plus ISP_GET_STATS and ISP_CLR_STATS ioctls.
Run up the maximum number of response queue entities we'll look at
per interrupt.
If we haven't set HBA role yet, always return success from isp_fc_runstate.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Fri Dec 14 00:13:44 2001 UTC (24 years, 11 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +137 -126
lines
Major restructuring for swizzling to the request queue and unswizzling from
the response queue. Instead of the ad hoc ISP_SWIZZLE_REQUEST, we now have
a complete set of inline functions in isp_inline.h. Each platform is
responsible for providing just one of a set of ISP_IOX_{GET,PUT}{8,16,32}
macros.
The reason this needs to be done is that we need to have a single set of
functions that will work correctly on multiple architectures for both little
and big endian machines. It also needs to work correctly in the case that
we have the request or response queues in memory that has to be treated
specially (e.g., have ddi_dma_sync called on it for Solaris after we update
it or before we read from it).
One thing that falls out of this is that we no longer build requests in the
request queue itself. Instead, we build the request locally (e.g., on the
stack) and then as part of the swizzling operation, copy it to the request
queue entry we've allocated. I thought long and hard about whether this was
too expensive a change to make as it in a lot of cases requires an extra
copy. On balance, the flexbility is worth it. With any luck, the entry that
we build locally stays in a processor writeback cache (after all, it's only
64 bytes) so that the cost of actually flushing it to the memory area that is
the shared queue with the PCI device is not all that expensive. We may examine
this again and try to get clever in the future to try and avoid copies.
Another change that falls out of this is that MEMORYBARRIER should be taken
a lot more seriously. The macro ISP_ADD_REQUEST does a MEMORYBARRIER on the
entry being added. But there had been many other places this had been missing.
It's now very important that it be done.
For NetBSD, it does a ddi_dmamap_sync as appropriate. This gets us out of
the explicit ddi_dmamap_sync on the whole response queue that we did for SBus
cards at each interrupt.
Set things up so that platforms that cannot have an SBus don't get a lot of
the SBus code checks (dead coded out).
Additional changes:
Fix a longstanding buglet of sorts. When we get an entry via isp_getrqentry,
the iptr value that gets returned is the value we intend to eventually plug
into the ISP registers as the entry *one past* the last one we've written-
*not* the current entry we're updating. All along we've been calling sync
functions on the wrong index value. Argh. The 'fix' here is to rename all
'iptr' variables as 'nxti' to remember that this is the 'next' pointer-
not the current pointer.
Devote a single bit to mboxbsy- and set aside bits for output mbox registers
that we need to pick up- we can have at least one command which does not
have any defined output registers (MBOX_EXECUTE_FIRMWARE).
Explicitly decode GetAllNext SNS Response back *as* a GetAllNext response.
Otherwise, we won't unswizzle it correctly.
Nuke some additional __P macros.
Revision 1.72.2.6: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:14:26 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.72.2.5: preferred, colored
Changes since revision 1.72.2.5: +29 -9
lines
Catch up to -current.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Tue Nov 13 13:14:39 2001 UTC (25 years ago) by lukem
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +4 -1
lines
add/cleanup RCSID
Revision 1.84: download - view: text, markup, annotated - select for diffs
Tue Oct 23 23:21:00 2001 UTC (25 years ago) by mjacob
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +22 -5
lines
tra-la, another QLogic f/w funny- this time with the 2300.
If we get a completion status of RQCS_QUEUE_FULL, it means
that the internal queues are full. Other QLogic boards set
the QFULL SCSI status. But *nooooooooooo*, not the 2300.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Tue Oct 23 16:24:33 2001 UTC (25 years ago) by mjacob
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +5 -5
lines
Comment out some redundant initializations to zero.
Revision 1.72.2.5: download - view: text, markup, annotated - select for diffs
Mon Oct 22 20:41:18 2001 UTC (25 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.72.2.4: preferred, colored
Changes since revision 1.72.2.4: +60 -20
lines
Catch up to -current.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Oct 20 18:37:54 2001 UTC (25 years, 1 month ago) by mjacob
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +17 -4
lines
Protect against deranged fabric nameservers that spit out 10000 identical
port numbers.
Revision 1.80.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 11 00:02:04 2001 UTC (25 years, 1 month ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +44 -17
lines
Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Sat Oct 6 20:34:49 2001 UTC (25 years, 1 month ago) by mjacob
Branches: MAIN
CVS tags: thorpej-devvp-base3
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +44 -17
lines
Fix various 2300 GB issues related to chip errata and documentation
misunderstandings. We also now can report our connection rate.
Revision 1.72.2.4: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:35:38 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.72.2.3: preferred, colored
Changes since revision 1.72.2.3: +538 -400
lines
Catch up to -current.
Revision 1.78.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:15:38 2001 UTC (25 years, 2 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +538 -400
lines
Update the kqueue branch to HEAD.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Wed Sep 5 23:05:20 2001 UTC (25 years, 2 months ago) by mjacob
Branches: MAIN
CVS tags: thorpej-devvp-base2,
thorpej-devvp-base,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-devvp
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +76 -41
lines
Clean up some issues wrt loaded f/w vs. resident f/w. We can tell
attributes of some variants of FC f/w (SCCLUN or not). Fake f/w
rev for SBus cards- the f/w versions we're using don't return
version in outgoing mailbox registers like they should.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Sat Sep 1 07:12:23 2001 UTC (25 years, 2 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +473 -370
lines
Add support for 2 Gigabit cards (2300/2312). This necessitated a change
in how interrupts are down- the 23XX has not only a different place to check
for an interrupt, but unlike all other QLogic cards, you have to read the
status as a 32 bit word- not 16 bit words. Rather than have device specific
functions as called from the core module (in isp_intr), it makes more sense
to have the platform/bus modules do the gruntwork of splitting out the
isr, semaphore register and the first outgoing mailbox register (if needed)
*prior* to calling isp_intr (if calling isp_intr is necessary at all).
Revision 1.72.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:09:26 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.72.2.2: preferred, colored
Changes since revision 1.72.2.2: +59 -37
lines
Catch up with -current.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Jul 6 16:15:38 2001 UTC (25 years, 4 months ago) by mjacob
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +59 -37
lines
Some whitespace cleanup. Initial forcelout support.
Fix longstanding bug where we should have been checking
against Channel B's settings to see whether to apply tag
usage. Oops.
Some more 2300 support- macroize access to request queue in/out pointers.
Firmware crashes now handled in platform outer code via an isp_async call.
If we get a LIP, and we're on a private or public loop, kill off all
active commands as if they had been killed by a 'SCSI Bus Reset'. I've
seen data corruption on commands that complete 'normally' after a LIP.
Bad.
Revision 1.72.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:02:38 2001 UTC (25 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.72.2.1: preferred, colored
Changes since revision 1.72.2.1: +11 -8
lines
Catch up to -current.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Fri May 25 21:45:55 2001 UTC (25 years, 5 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -3
lines
Create a kernel thread for Fibre Channel cards. This is the new
way of doing business- modulo some startup spasms and peculiarities
of the way kthreads are started (*after* configuration, weird) and
some strangeness with the freeze/thaw code, what now happens is
that any of Loop Down, LIP, Loop Reset or Port Datbase or Name
Server Database Changed ASYNC events cause the queues to freeze
for this channel. The arrival of a Loop UP is not relevant.
What *is* relevant is that the Port Datbase or Name Server Changed
async event indicate that it's okay to go and (re)evaluate the
state of the FC link and (re)probe local loop and fabric membership.
We have a kthread do this because it's *sooooo* much nicer to be
able to sleep while doing the 130-250 mailbox commands it'll take
to re-evaluate things.
When the state is well known again, we can unfreeze the channel
queues. Then, as commands start arriving, we simply can start them
or bounce them with XS_SELTIMEOUT (if the device in question has
gone away). Previously, we did lazy evaluation, which meant that
if a change occurred, we would wait until the very *next* command
to go rebuild stuff.
The reason this is not sensible is:
a) Even with sleeping, you can hang up your system because you might be
making some poor stat(2) call pay the price of re-evaluating the whole
fabric.
b) If we ever really want to get to dynamic attachment/detachment, we
should find out sooner, rather than later, where things get to.
Split off ispminphys_1020 from ispminphys- a 1020 has a 24 bit limit-
not anything newer.
Re-enable LIPs and Loop Resets as async events- this allows the outer
layer to set policy about them.
Roll platform major && minor. Remove bogus waitq (no longer used).
Remove callout entry in softc (no longer used). Define some shorthands
for channels. Clean up a variety of cruft left over from the
thorpej_scsipi changeover.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Wed May 16 03:58:47 2001 UTC (25 years, 6 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +8 -6
lines
beginning basic 2300 infrstructure support
Revision 1.39.2.8: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:48:28 2001 UTC (25 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.39.2.7: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.2.7: +74 -52
lines
Sync with HEAD
Revision 1.75: download - view: text, markup, annotated - select for diffs
Tue Apr 10 21:51:21 2001 UTC (25 years, 7 months ago) by mjacob
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +2 -1
lines
Note one other place that bogus interrupts can be measured.
Revision 1.72.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:56:17 2001 UTC (25 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +165 -167
lines
Catch up with -current.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Apr 5 02:27:33 2001 UTC (25 years, 7 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +73 -52
lines
Change how SCSI defaults are latched if we're supporting Target Mode.
Make sure we pick up the channel for dual bus cards when enabling target
mode. Catch a silly null pointer dereference.
Revision 1.39.2.7: download - view: text, markup, annotated - select for diffs
Tue Mar 27 15:31:55 2001 UTC (25 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.39.2.6: preferred, colored
Changes since revision 1.39.2.6: +93 -116
lines
Sync with HEAD.
Revision 1.53.2.4: download - view: text, markup, annotated - select for diffs
Fri Mar 16 19:13:01 2001 UTC (25 years, 8 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to: previous 1.53.2.3: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.2.3: +978 -644
lines
Pull up revisions 1.66-1.73 (requested by mjacob):
Add ISPCTL_RUN_MBOXCMD control function and ISPASYNC_UNHANDLED_RESPONSE
async event. Call ISP_DUMPREGS on f/w erro. Correct problem in
bitmap for MBOX_DUMP_RAM. Remove ISP2100_FABRIC defines. When
resetting the Qlogic 2X00 units, reset the FPM (Fibre Protocol
Module) and FBM (Fibre Buffer Modules). Massively redo how loop
events are handled. Throw out ISP_CFG_NOINIT and do HBA roles
instead. Use a SNS REGISTER FC4 TYPE subcommand to register with
the name server. Don't attempt to modify strings that the compiler
might have marked readonly. Bad ANSI! No Biscuit! Do some -Wformat
patches. Fix longstanding bug in ICB initialization of WWNs.
Handles are u_int16_t now. ANSIfy.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Wed Mar 14 04:54:13 2001 UTC (25 years, 8 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +93 -116
lines
Update copyright date. ANSIfy isp.c (NetBSD was the holdout of all
the platforms this code runs on). Handles are now u_int16_t, so adjust
code as required.
Revision 1.39.2.6: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:30:25 2001 UTC (25 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.39.2.5: preferred, colored
Changes since revision 1.39.2.5: +836 -546
lines
Sync with HEAD.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Fri Feb 23 05:38:27 2001 UTC (25 years, 8 months ago) by mjacob
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -7
lines
Fix a longstanding bug- we had the sense of what bit 14
for the ICB firmware options meant- *I* had taken it to
mean that if you set it, Node Name would be ignored and
derived from Port Name. Actually, it meant the opposite.
As a consequence- change ICBOPT_USE_PORTNAME to the
define ICBOPT_BOTH_WWNS- makes more sense.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Tue Feb 20 01:10:50 2001 UTC (25 years, 9 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +16 -5
lines
Add ISPCTL_RUN_MBOXCMD control function and ISPASYNC_UNHANDLED_RESPONSE
async event. Call ISP_DUMPREGS on f/w erro. Correct problem in bitmap
for MBOX_DUMP_RAM.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Mon Feb 12 23:28:50 2001 UTC (25 years, 9 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +822 -539
lines
Minor stuff:
Remove ISP2100_FABRIC defines- we always handle fabric now. Insert
isp_getmap helper function (for getting Loop Position map). Make
sure we (for our own benefit) mark req_state_flags with RQSF_GOT_SENSE
for Fibre Channel if we got sense data- the !*$)!*$)~*$)*$ Qlogic
f/w doesn't do so. Add ISPCTL_SCAN_FABRIC, ISPCTL_SCAN_LOOP, ISPCTL_SEND_LIP,
and ISPCTL_GET_POSMAP isp_control functions. Correctly send async notifications
upstream for changes in the name server, changes in the port database, and
f/w crashes. Correctly set topology when we get a ASYNC_PTPMODE event.
When resetting the Qlogic 2X00 units, reset the FPM (Fibre Protocol
Module) and FBM (Fibre Buffer Modules). Also remember to clear the
semaphore registers. Tell the RISC processor to not halt on FPM
parity errors.
Finally, use a new tag in the softc to store the opcode for the
last mailbox command used so we can report which opcode timed
out.
Major stuff:
Quite massively redo how we handle Loop events- we've now added several
intermediate states between LOOP_PDB_RCVD and LOOP_READY. This allows us
a lot finer control about how we scan fabric, whether we go further
than scanning fabric, how we look at the local loop, and whether we
merge entries at the level or not. This is the next to last step for
moving managing loop state out of the core module entirely (whereupon
loop && fabric events will simply freeze the command queue and a thread
will run to figure out what's changed and *it* will re-enable the queu).
This fine amount of control also gets us closer to having an external
policy engine decide which fabric devices we really want to log into.
Throw out the ISP_CFG_NOINIT silliness and instead go to the use of
adapter 'roles' to see whether one completes initialization or not
(mostly for Fibre Channel). The ultimate intent, btw, of all of this
is to have a warm standby adapter for failover reasons. Because
we do roles now, setting of Target Capable Class 3 service parameters
in the ICB for the 2x00 cards reflects from role. Also, in isp_start,
if we're not supporting an initiator role, we bounce outgoing commands
with a Selection Timeout error. Also clean out the TOGGLE_TMODE
goop for FC- there is no toggling of target mode like there is
for parallel SCSI cards.
Do more cleanup with respect to using target ids 0..125 in F-port
topologies. Also keep track of things which *were* fabric devices
so that when you rescan the fabric you can notify the outer layers
when fabric devices go away.
Only force a LOGOUT for fabric devices if they're still logged in
(i.e., you cat their Port Database entry. Clean up the Get All Next
scanning.
Revision 1.53.2.3: download - view: text, markup, annotated - select for diffs
Thu Jan 25 18:25:39 2001 UTC (25 years, 9 months ago) by jhawk
Branches: netbsd-1-5
Diff to: previous 1.53.2.2: preferred, colored; branchpoint 1.53: preferred, colored
Changes since revision 1.53.2.2: +127 -67
lines
Pull up revisions 1.62-1.65 (requested by mjacob):
Add in correct SBus bursting; upgrade to 2.01.26 firmware; pull to latest
initiator mode level; make changes to WWN default handling; quiet
chatty boot messages; fix endian code so MacPPC works; fix bug in
lock recursion counter; fix bug which excluded all but NL-ports from
being logged into on a fabric.
Revision 1.39.2.5: download - view: text, markup, annotated - select for diffs
Thu Jan 18 09:23:18 2001 UTC (25 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.39.2.4: preferred, colored
Changes since revision 1.39.2.4: +107 -38
lines
Sync with head (for UBC+NFS fixes, mostly).
Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Jan 9 18:54:06 2001 UTC (25 years, 10 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +108 -39
lines
Use a SNS REGISTER FC4 TYPE subcommand to register with the name server.
This means we should be able to work with McData switches now. Change
ISPASYNC_PDB_CHANGED to ISPASYNC_LOGGED_INOUT (more descriptive). Allow
F-Port topologies to use target ids 0..125 to log into fabric devices.
Yet again fool around with defaul WWN stuff.
Revision 1.39.2.4: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:35:39 2001 UTC (25 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.39.2.3: preferred, colored
Changes since revision 1.39.2.3: +46 -45
lines
Sync with HEAD
Revision 1.68: download - view: text, markup, annotated - select for diffs
Sat Dec 30 19:47:20 2000 UTC (25 years, 10 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +1 -2
lines
[ dummy checkin to add to previous CVS ]
It's probably not really a compiler bug- somebody pointed out
that it was the kernel making strings readonly. But I do think it's
a bug. The actual code was really more like:
char *revname;
...
revname = "2X00";
...
revname[1] = '2'; <<<<<<<<< BOOOM
The variable revname is not a const. If I had said
const char *revname = "2X00"
...
revname[1] = '2';
that would indeed be breaking const rules.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Sat Dec 30 19:30:09 2000 UTC (25 years, 10 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -4
lines
There's a compiler bug for sparc64 that makes the construct:
char *foo = "XXXX";
...
foo[1] = 'Y';
blow up (in the kernel) with the 2nd assignment. Work around it here-
it's probably just as well- I was spending more in cpu instructions doing
the assignment than I was saving in string space (it would have been
cheap on a pdp11 or a 68k- but the address loads and assignments on something
like sparc or alpha way outweigh the savings in space. Tsk.).
Revision 1.66: download - view: text, markup, annotated - select for diffs
Thu Dec 28 22:27:46 2000 UTC (25 years, 10 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +26 -26
lines
Apply nearly all of Bill Sommerfeld's -Wformat patches. The one
change I didn't take is the %llu format- I can't have a common
across multiple platform module assume a %ll argument capability-
which really pointed out that I shouldn't be trying to *print*
something which could long long.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Thu Dec 28 08:26:12 2000 UTC (25 years, 10 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +11 -7
lines
Use the ISP_CFG_NOINIT flag to decide whether to complete the full init
process steps (this is used in some platforms where you want to bring
the adapter to ready (to get a WWN, e.g.) , but not engage either target
or initiator mode until some later time). Set the correct defaults WWNs.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Dec 23 01:37:57 2000 UTC (25 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +10 -11
lines
Fix pathnames in comment.
Revision 1.39.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:50:01 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.39.2.2: preferred, colored
Changes since revision 1.39.2.2: +37 -15
lines
Sync with HEAD (for UBC fixes).
Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Dec 9 08:06:32 2000 UTC (25 years, 11 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +37 -15
lines
Finally fix this driver to be sensible about the ENDIAN dance. It's not
quite simply a question of the Qlogic being little endian and having
to have stuff swapped on big endian machines- it also has to do with the
fact that the SBus and PCI DMA layouts are wierd with respect to this.
At any rate, now finally fixed- works on Mac G4, tested it on a SS10
for sparc, checked on alpha to see if I've broken anything, and as
soon as I get another spare afternoon I'll finally install a sparc64
version which should just work (as it'll be like the Mac).
Revision 1.39.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:40:37 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.39.2.1: preferred, colored
Changes since revision 1.39.2.1: +2605 -1943
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.62: download - view: text, markup, annotated - select for diffs
Mon Oct 16 05:15:05 2000 UTC (26 years, 1 month ago) by mjacob
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +72 -37
lines
Clarify/cleanup how node and port names are derived from nvram. Remove
clause 2 of licence. Remember to print initiator ID (LOGINFO level).
Revision 1.53.2.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:45:07 2000 UTC (26 years, 2 months ago) by mjacob
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Diff to: previous 1.53.2.1: preferred, colored; branchpoint 1.53: preferred, colored
Changes since revision 1.53.2.1: +1703 -1576
lines
Complete rewrite of internals for isp core version 2.0.
Pullup to netbsd-1-5 approved by thorpej@netbsd.org.
Revision 1.61: download - view: text, markup, annotated - select for diffs
Wed Aug 16 18:10:21 2000 UTC (26 years, 3 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +72 -40
lines
Add some changes/notes suggested by eeh@netbsd.org (zero header of
response queue entry). Clean up some of the Fibre Channel completion
stuff so that thing we check actually match the current manual. There's
only one silly lossage that the manual doesn't cover at present- if
an FC command completes with SV (sense valid), the f/w does *not* s
et "GOT_STATUS" in the state bits- I guess they assume that you'd figure
out that if you have SENSE DATA you probably have a CHECK CONDITION. Still-
yet another fine f/w frotz from Qlogic. Add in an ISP_EXEC_THROTTLE
define to set a per-device execution throttle.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Aug 14 07:05:28 2000 UTC (26 years, 3 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +92 -38
lines
Add a maintenance note.
Clarify some startup SCSI mode settings. Insist that the FC f/w options
*must* have ICBOPT_PDBCHANGE_AE set (wasted a half day on this crock).
Make a specific comment in isp_start that the tags being selected for FC
cards, in lieu of any set by the outer layers, are there for safety's sake.
This removes the change from a previous commit.
For the ISP_TOGGLE_TMODE function, do a complete reset, not just an
isp_init (info from Solaris port). Make some cleanup changes for
code clarity.
Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 11 22:24:46 2000 UTC (26 years, 3 months ago) by tls
Branches: netbsd-1-5
CVS tags: netbsd-1-5-ALPHA2
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +6 -2
lines
Pull up tagged queueing policy changes: now we use ordered tags for sync writes, simple tags for reads and async writes.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Fri Aug 11 21:31:20 2000 UTC (26 years, 3 months ago) by tls
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +6 -2
lines
Make our policy WRT tagged queueing consistent and sane: ordered tags for sync writes, simple tags for all else. Should make ahc and adv a bit more reliable (metadata writes won't get reordered incorrectly...) and isp a bit more performant (it was using ordered tags all the time).
Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Aug 8 22:58:30 2000 UTC (26 years, 3 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +155 -110
lines
Remove ispcmd_slow routine- SCBUSACCEL routine will set/clear tag/wide/sync.
Make some changes about where some things sit in the softc.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Tue Aug 1 23:55:09 2000 UTC (26 years, 3 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +983 -940
lines
Core version 2.0 (platform version 1.0) rewrite of ISP driver. Some
interace cleanups, some new common functions. The major impact that
will be noticeable right away is that if you boot with not Fibre connected
to the FC cards, you no longer hang indefinitely.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed Jul 19 22:18:02 2000 UTC (26 years, 4 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -3
lines
fix mislabelled error case
Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Jul 6 01:17:38 2000 UTC (26 years, 4 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +9 -10
lines
Per advice from thorpej, reinstated some of Erik's changes.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Wed Jul 5 22:20:51 2000 UTC (26 years, 4 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +476 -521
lines
Back out previous commit- the author is incorrect. There is no 'narrow'
Qlogic controller driven by this chipset. If they don't want the verbosity,
don't compile a DIAGNOSTIC kernel.
Major amount of mailbox command rewrites- hopefully should fix some of the
outstanding PRs.
Change header to note that this is no longer maintained at NASA/Ames.
Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 22 17:06:44 2000 UTC (26 years, 5 months ago) by minoura
Branches: minoura-xpg4dl
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +3 -3
lines
Sync w/ netbsd-1-5-base.
Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat Jun 3 22:44:43 2000 UTC (26 years, 5 months ago) by fair
Branches: MAIN
CVS tags: netbsd-1-5-base
Branch point for: netbsd-1-5
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3
lines
Change the debug level from 1 to 3 for "skipping target" diagnostic
which spews unreasonably for a Qlogic SCSI-2 narrow controller, which
does not have ID's above 7.
Revision 1.34.2.2: download - view: text, markup, annotated - select for diffs
Sat May 13 17:14:01 2000 UTC (26 years, 6 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003
Diff to: previous 1.34.2.1: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.2.1: +955 -589
lines
Apply patch (requested by Matthew Jacob via he):
Correctly account for F-port vs. F-port (no FLOGI_ACC) topologies.
Make sure we get a port database entry for the fabric name server.
Preserve fabric logins if the device didn't change across fabric
or port database changes, or the device has already logged into
us (e.g., for target/initiator dual role devices like Veritas
SANbox). Propagate class 3 service parameter changes where devices
can change roles.
Fix all occurrences of setting a sendmarker so that setting it
for one bus on dual bus cards doesn't wipe a pending sendmarker
for other busses on the same card.
Comments added and clarifications made in some of the target mode code.
Add support for > 12 byte CDBs. Split out nvram reading into
per-card functions. Add proper Ultra2/Ultra3 support. Upgrade
firmware.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat May 13 16:53:03 2000 UTC (26 years, 6 months ago) by he
Branches: MAIN
CVS tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +276 -153
lines
Update from Matthew Jacob:
Correctly account for F-port vs. F-port (no FLOGI_ACC) topologies.
Make sure we get a port database entry for the fabric name server.
Preserve fabric logins if the device didn't change across fabric
or port database changes, or the device has already logged into
us (e.g., for target/initiator dual role devices like Veritas
SANbox). Propagate class 3 service parameter changes where devices
can change roles.
Fix all occurrences of setting a sendmarker so that setting it
for one bus on dual bus cards doesn't wipe a pending sendmarker
for other busses on the same card :-;.
Comments added and clarifications made in some of the target mode code.
Revision 1.51: download - view: text, markup, annotated - select for diffs
Mon Feb 21 19:18:53 2000 UTC (26 years, 9 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +72 -78
lines
clen up some error messages
Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Feb 19 01:53:56 2000 UTC (26 years, 9 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +80 -63
lines
Remove residual and now broken !ISP_NO_FASTPOST_SCSI code (which was
turning back on fast posting!). Redo fabric (re)login loop- don't try
and log out ports that haven't been logged in. Do correct target id
shuffling so we just always find the target ID we want. Add in support
for > 12 byte commands for parallel SCSI. Handle some Dual Bus reset
stuff. Finally fix ABORT COMMAND to use the right 16 bit order of the
handle to abort.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Feb 12 02:32:21 2000 UTC (26 years, 9 months ago) by mjacob
Branches: MAIN
CVS tags: chs-ubc2-newbase
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +585 -363
lines
Add in 12160 (Ultra3) support. Turn back on fast posting for the new
generateion parallel SCSI cards (1240/1080/1280/12160). Split up nvram
reading routines to be more readable. Fix topology reporting- 2200 has
connected topology in mailbox 6 when you're done getting your loop id
(supported: Private Loop (NL Port), N-Port, F-Port, FL-Port). The 2100
doens't report this, but we can synthesize it to be either NL-Port or
FL-Port. Add in some connection mode async events.
Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Fri Feb 4 23:06:09 2000 UTC (26 years, 9 months ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +19 -16
lines
- If the ISP's internal queues are full, don't synthesize a QFULL status,
but rather report it as a host adapter resource shortage.
- If the I_T_L's command queues are full, report that the target is busy
(with QFULL status).
Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Jan 14 08:46:37 2000 UTC (26 years, 10 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +10 -3
lines
UltraMode is okay for SBus cards with chiptypes of 1020A.
Revision 1.34.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 8 22:42:37 2000 UTC (26 years, 10 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH002
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +1918 -1408
lines
Pull up revisions 1.35-1.47 (requested by mjacob):
Untangle Qlogic firmware copyright problems and update firmware.
Untangle some MD support issues for said firmware. Add 1280 (Dual
LVD), 1240 (Dual Ultra), 2200 (2nd Generation Qlogic FC chipset).
Fix some synchronous negotiation problems for parallel SCSI.
Firm up some Fabric Support issues.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Thu Jan 6 23:02:51 2000 UTC (26 years, 10 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +5 -5
lines
Bump up level of some very verbose debugs so that SCSIDEBUG doesn't cause them
to print.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Jan 6 03:02:11 2000 UTC (26 years, 10 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +65 -25
lines
Bump default login time to 60 seconds. Move the spot at
which we claim we've seen the loop up at least once so
that we don't hang forever coming up. Add in the basics
for MI target mode stuff. Force the outer layers to deal
with a FCP response coming back that has a CHECK CONDITION
but no sense data.
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:48 1999 UTC (26 years, 10 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +603 -1089
lines
Pull up to last week's -current.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Dec 20 00:39:16 1999 UTC (26 years, 11 months ago) by mjacob
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +99 -77
lines
clean up some f/w revision stuff. clean up some dualbus stuff.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Dec 16 05:35:42 1999 UTC (26 years, 11 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +68 -41
lines
Dual LVD (1280) support.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat Dec 4 03:08:18 1999 UTC (26 years, 11 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +182 -139
lines
Some queue related functions now use a u_int16_t. Turn some messages into
CFGPRINTF messages. Clear up the f/w download slightly. If less than
rev 5 2100 chip, turn off loop fairness. Clean up a botch or two.
Revision 1.39.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:40:33 1999 UTC (27 years ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +10 -6
lines
Sync with -current
Revision 1.42: download - view: text, markup, annotated - select for diffs
Thu Oct 28 02:50:34 1999 UTC (27 years ago) by mjacob
Branches: MAIN
CVS tags: fvdl-softdep-base,
comdex-fall-1999-base,
comdex-fall-1999
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +9 -3
lines
I was misinformed. I cannot get away from specifying tags for FC. Some devices
are happy w/o them- some are unhappy (IBM drives).
Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Oct 26 22:23:20 1999 UTC (27 years ago) by mjacob
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +1 -3
lines
nuke a debug printout I thought was already gone
Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Oct 22 17:06:12 1999 UTC (27 years, 1 month ago) by mjacob
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2
lines
remember to initialize mailbox 2 for FC isp bus resets
Revision 1.39: download - view: text, markup, annotated - select for diffs
Sun Oct 17 01:38:27 1999 UTC (27 years, 1 month ago) by mjacob
Branches: MAIN
Branch point for: thorpej_scsipi,
fvdl-softdep
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +40 -37
lines
Some stylistic changes, but also use the new INT_PENDING macro. Start
tracking LIP sequence numbers.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Oct 14 02:27:12 1999 UTC (27 years, 1 month ago) by mjacob
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +311 -896
lines
remove most target mode stuff. Change the arguments to the
isp_fastpost_complete function to include a handle. Do some
isr register debouncing. Use new inline functions for xflist
handle storage. Remove isp_dumpxflist function. Do some fixups
of NVRAM from some broken cards. Use Full Login after LIP option
for FC cards if f/w < 1.17 - there's a f/w bug that causes the
port database to not be actually refreshed for local loop devices!
Do the appropriate endian swizzling for the ICB. Ditto for SNS structures
(these are no-ops until UltraSparc PCI needs them).
Revision 1.34.4.2: download - view: text, markup, annotated - select for diffs
Mon Aug 2 21:59:04 1999 UTC (27 years, 3 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.34.4.1: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.4.1: +730 -148
lines
Update from trunk.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Jul 5 20:31:35 1999 UTC (27 years, 4 months ago) by mjacob
Branches: MAIN
CVS tags: chs-ubc2-base
Branch point for: wrstuden-devbsize
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +730 -148
lines
Change to approved NASA/Ames copyright. Add Fabric support. Fix SCCLUN support.
Add code that tries to track LoopID shifting.
Revision 1.34.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:17:46 1999 UTC (27 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +740 -366
lines
Sync w/ -current.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed May 12 18:59:23 1999 UTC (27 years, 6 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +624 -315
lines
Do a fairly large internal restructuring to accomodate dual-bus host adapters
(e.g., the 1240). Include the new 1080/1240 NVRAM layout reading code. Some
moderately significant mailbox changes were necessary also to accomodate a
second channel.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Apr 4 02:28:53 1999 UTC (27 years, 7 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +138 -73
lines
Make firmware revision a triple. Clean up some FC init stuff for
board versions with no BIOS. Separate mailbox interrupts from
IOCB interrupts. Read OUTMAILBOX5 while RISC_INT is active- not
after you clear it (potential race condition). Clear out older broken
BIG_ENDIAN goop. Don't negotiate narrow/async for LVD busses at startup
if already in LVD mode. Note usage of presumptive 1040C revision. For
all the LIP, PDB Changed, Loop UP/DOWN async events, mark fw state
as unknown as well as marking the need to do a getpdb on targets- after
a LIP for certain the f/w has to do PRLI/PLOGI for all targets again
and marking f/w state as unknown gives us a fighting chance to (start
to) hold up for that to complete.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Mar 26 22:39:44 1999 UTC (27 years, 7 months ago) by mjacob
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH001,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: netbsd-1-4,
chs-ubc2
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +276 -196
lines
add isp1080 support and some basic PDB change stuff
Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Mar 17 06:15:47 1999 UTC (27 years, 8 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +497 -221
lines
Update the driver with some infrastructure for the 1080. Fix an embarrassing
clock botch bug. Additional infrastructure for PDB change stuff.
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Feb 9 00:52:23 1999 UTC (27 years, 9 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +155 -58
lines
Roll internal release tag. Print out if we're in a 64 bit PCI slot.
Use fast memory timing NVRAM parameter. Clean up and fix establishment
of default target parameters. Don't use NVRAM if are flagged as not to
do so (I had a busted NVRAM setup which I couldn't edit that enabled SYNC
mode but disabled disconnect/reconnect and wide!!). Fix delays after
resets. BUS resets not done in isp_init anymore- relegated to OS
specific outer layers. Fix a buglet where you can get in a loop for
a NULL xs in the completion list in isp_intr. Add in some defines that
can disable fast posting. Add in code for Loop Up/Loop Down events that
call into the outer layers as to what to do.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Jan 30 07:31:50 1999 UTC (27 years, 9 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +266 -194
lines
Implement and use Fast Posting for both parallel && fibre. Redo a bit of
the startup code. Implement a call to outer framework function so that
asynchronous events can be handled (e.g., speed negotiation, target mode).
Roll internal release tags.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Jan 10 05:07:53 1999 UTC (27 years, 10 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +87 -47
lines
+ Some basic deadchip detection.
+ Enable FIFO bursts, but also detect bogus 1040A with busted FIFO.
+ Use new MEMZERO crossplatform define.
+ Handle RQCS_QUEUE_FULL status case and let upper layer parse SCSI ststus
byte if nonzero (should be 0x28- Queue Full status)
+ Fold ISP_NVRAM_FIFO_THRESHOLD_128 into isp_fifo_threshold tag.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Dec 28 19:10:43 1998 UTC (27 years, 10 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +647 -68
lines
clean up headers; move uninit/watch to outer layers
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Dec 5 19:43:52 1998 UTC (27 years, 11 months ago) by mjacob
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +125 -305
lines
Update HBAs to incorporate the new max_lun property.
Revision 1.15.2.2: download - view: text, markup, annotated - select for diffs
Sat Nov 7 05:49:41 1998 UTC (28 years ago) by cgd
Branches: netbsd-1-3
CVS tags: netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.1: +1886 -757
lines
pull up revs 1.16-1.17, 1.19-1.27 from trunk (mjacob)
Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Sep 17 23:05:46 1998 UTC (28 years, 2 months ago) by mjacob
Branches: MAIN
CVS tags: chs-ubc-base,
chs-ubc
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +373 -61
lines
Several changes, including some stub fibre target mode stuff. Establish
a slightly different fibre startup (print ALPA now too). Change
the way that return values from dma setup is done. Make debug messages
out of some queue overflow situations. Turn PORT LOGGED OUT into
Selection Timeout equivlaent. On isp_restart actions don't blow off
the commands with HBA_BOTCH (XS_DRIVER_STUFFUP) - set them with HBA_BUSRESET
(which is defined as XS_DRIVER_STUFFUP until someone decides whether
the suggested change to the midlayer NetBSD is worthy of inclusion).
Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Sep 10 17:10:27 1998 UTC (28 years, 2 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +9 -5
lines
turn into a debug message an ABOUT F/W failure. Add ISPCTL_UPDATE_PARAMS isp_control case
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Sep 8 07:28:50 1998 UTC (28 years, 2 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +1065 -377
lines
Major reworking of initialization code, addition of NVRAM reading, usage
of device speed updating, etc... A lot of FC and other case statement
handling. Whew. Too much to really detail here.
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Jul 18 21:10:16 1998 UTC (28 years, 4 months ago) by mjacob
Branches: MAIN
CVS tags: eeh-paddr_t-base,
eeh-paddr_t
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +89 -46
lines
Locking is now in the outer framework for isp_init/isp_reset- this allows
us to call isp_reset/isp_init internally with impunity.
Rename isp_phoenix to isp_restart and make it global. Clean it up a tad.
If we get an ASYNC_SYSTEM_ERROR code in isp_intr, call isp_restart and
return- the f/w is toasted at this point (usually), so we have to bring
things back to a known state.
In isp_mboxcmd, when we don't see the HOST_INT bit go clear, try and
find out if the isp is trying to tell us something and try again. This
may avoid a potential deadlock where the previous mailbox command hasn't
been cleared by the ISP.
In isp_init don't try and get device parameters if we already have them-
this typically doesn't work if we're in the middle of an isp_restart.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Jul 15 19:50:16 1998 UTC (28 years, 4 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +558 -487
lines
Some major thrashing to handle building for other than NetBSD.
There is one change of note- build a list of completing commands in
ispintr and then say you're done- this avoids some re-entrancy issues
that had surfaced.
Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Fri May 8 06:14:33 1998 UTC (28 years, 6 months ago) by mycroft
Branches: netbsd-1-3
CVS tags: netbsd-1-3-PATCH002
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +9 -5
lines
Pull up 1.18, per request of cgd.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue May 5 22:10:36 1998 UTC (28 years, 6 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -2
lines
there is an (unimportant) difference between 1020 && 1020A
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Mar 24 23:37:53 1998 UTC (28 years, 7 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +8 -8
lines
some minor debug printout changes
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Mar 22 22:02:29 1998 UTC (28 years, 8 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +48 -40
lines
update some debugging stuff- also turn off possible ULTRA mode for 1020s
Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Feb 13 21:58:40 1998 UTC (28 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +1 -2
lines
Don't include <dev/scsipi/scsipi_conf.h> twice.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jan 28 19:09:24 1998 UTC (28 years, 9 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +9 -5
lines
Fix for port-alpha/4903- always download f/w unless config flags say
no or we have no firmware to download.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Jan 12 09:23:26 1998 UTC (28 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +1 -5
lines
Adjust for config changes.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Dec 5 19:41:49 1997 UTC (28 years, 11 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +8 -3
lines
Add a new async notification, and also fix a bug where the queue entry
wasn't getting fully zeroed as it should be.
Revision 1.9.2.4: download - view: text, markup, annotated - select for diffs
Tue Oct 14 10:22:38 1997 UTC (29 years, 1 month ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.9.2.3: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.3: +47 -1
lines
Update marc-pcmcia branch from trunk.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Sep 29 01:41:32 1997 UTC (29 years, 1 month ago) by mjacob
Branches: MAIN
CVS tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
marc-pcmcia-base
Branch point for: netbsd-1-3
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +47 -1
lines
A little cleanup and print more error messages.
Revision 1.9.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 16 03:50:02 1997 UTC (29 years, 2 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.9.2.2: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.2: +16 -56
lines
Update marc-pcmcia branch from trunk.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Sep 13 05:18:30 1997 UTC (29 years, 2 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -1
lines
Wierd- well, what isn't with devices? Anyway, the type code for the ISP
chip on AlphaStation 500 is 2- which wasn't handled, and bad things happened
because the default case wasn't sane. Both are corrected now.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Sep 10 02:18:19 1997 UTC (29 years, 2 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +14 -56
lines
Some formatting cleanup, and for the ISP2100, the flags hadn't being set
quite right, but things worked okay anyhow.
Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 27 23:30:44 1997 UTC (29 years, 2 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.9.2.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.1: +59 -51
lines
Update marc-pcmcia branch from trunk.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Aug 27 11:24:54 1997 UTC (29 years, 2 months ago) by bouyer
Branches: MAIN
CVS tags: thorpej-signal-base,
thorpej-signal
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +59 -51
lines
Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
Revision 1.8.2.3: download - view: text, markup, annotated - select for diffs
Tue Aug 26 15:20:35 1997 UTC (29 years, 2 months ago) by bouyer
Branches: bouyer-scsipi
Diff to: previous 1.8.2.2: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.2: +1169 -374
lines
Update from trunk.
Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 23 07:12:56 1997 UTC (29 years, 3 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1162 -371
lines
Update marc-pcmcia branch from trunk.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Aug 16 00:56:52 1997 UTC (29 years, 3 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -30
lines
Merge foo.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Aug 16 00:22:11 1997 UTC (29 years, 3 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1191 -371
lines
*Major* differences to support the Qlogic 2100 (Fibre Channel PCI), as well
as being able to do microdifferentiation of the ISP SCSI chip; a couple of
bug fixes, and the beginnings of some watchdog support.
Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Wed Jul 30 16:23:31 1997 UTC (29 years, 3 months ago) by bouyer
Branches: bouyer-scsipi
Diff to: previous 1.8.2.1: preferred, colored
Changes since revision 1.8.2.1: +2 -2
lines
Sync with trunk.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Jul 28 18:56:36 1997 UTC (29 years, 3 months ago) by mjacob
Branches: MAIN
CVS tags: marc-pcmcia-bp
Branch point for: marc-pcmcia
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2
lines
Kudos and thanks to Mark Brinicombe (mark@causality.com): bug in waiting for
RISC_INT to be set after stuffing a mailbox.
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 1 17:35:06 1997 UTC (29 years, 4 months ago) by bouyer
Branches: bouyer-scsipi
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +33 -29
lines
Updates for new scsipi subsystem. Actally known to work on i386 and sparc.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Jun 22 19:57:06 1997 UTC (29 years, 5 months ago) by mjacob
Branches: MAIN
Branch point for: bouyer-scsipi
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +18 -14
lines
Hmm- seriously funny and sad bug: you need to directly establish the
clock rate for this board on Alpha/PCI systems. Under x86/PCI, the
board f/w will correctly tell you "I'm running at 60Mhz", so the code
that preserved that across a board reset (which would drop the chip
back to 40Mhz) worked fine. On the 8200, the chip was saying "I'm 40Mhz"-
which wasn't true. This turned out to be okay as long as you didn't have
any FAST or UltraFast targets- In fact, setting the chip to 40Mhz allowed
you to run up to 8Mhz SCSI. Unfortunately you die bigtime on the devices
that go faster than that. The fix here is to only use what the chip tells
you the clock rate is in the cases you don't really know (sbus is the
only case where this could be different, although with 66Mhz PCI coming up,
this may change).
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Jun 8 06:31:52 1997 UTC (29 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +14 -20
lines
- Simplify mailbox DMA setup, allowing the front-ends to allocate the
mailbox storage in a way they see fit.
- Define macros to index and size the request and result queue entries.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jun 1 23:42:04 1997 UTC (29 years, 5 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1
lines
Finally found the cause of that nagging 'lost command' (for the first
command) bug: the initial response queue index is take from mbox 5,
not mbox 4, and mbox 5 wasn't getting initialized to zero.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Apr 5 22:36:56 1997 UTC (29 years, 7 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
Okay, Charles convinced me that XS_DRIVER_STUFFUP is better than XS_SELTIMEOUT.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Apr 5 02:53:22 1997 UTC (29 years, 7 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +68 -3
lines
A) Attempt to get clock rate from ISP chip prior to bashing it over the head
in reset. If none there, try and get from the bus/platform specific code.
If a nonzero value for either, set the clock rate. This is why the PCI
card versions weren't working- they need to be set at 60MHZ, rather than
the default 40MHZ (which worked fine for the internal ISP chips on the
Alpha 8X00).
B) If a isp_poll returns failure (command never completed) to the caller
and no error is set in the xs struct, set XS_SELTIMEOUT. And then call...
C) Added isp_lostcmd function to try and ask the ISP chip about it's current
state as well as the state of commands for a particular target/lun. This is
going along to try and figure out why the very first command to the ISP always
seems to get swallowed up.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 00:50:07 1997 UTC (29 years, 8 months ago) by cgd
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +26 -16
lines
clean up isp_poll() so that it works more correctly. (Modeled on the version
in the BusLogic driver.)
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Mar 12 21:06:51 1997 UTC (29 years, 8 months ago) by cgd
Branches: MAIN
CVS tags: is-newarp-before-merge
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2
lines
NetBSD RCS ID tweaks, a few comment block tweaks. Also, make copyright
notices consistent (per Matt Jacob).
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Wed Mar 12 20:44:51 1997 UTC (29 years, 8 months ago) by cgd
Branches: mjacob
CVS tags: mjacob-isp10x0-970312
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
ISP 10x0 driver from Matthew Jacob of NASA Ames Research Center.
(March 12, 1997 version).
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Mar 12 20:44:51 1997 UTC (29 years, 8 months ago) by cgd
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>