CVS log for src/sys/dev/ic/isp_netbsd.h
Up to [cvs.NetBSD.org] / src / sys / dev / ic
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.76.32.1: download - view: text, markup, annotated - select for diffs
Wed Nov 4 23:21:58 2026 UTC (11 days, 12 hours ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +4 -2
lines
Sync with HEAD
Revision 1.76.34.1: download - view: text, markup, annotated - select for diffs
Sun Aug 2 13:39:13 2026 UTC (3 months, 2 weeks ago) by martin
Branches: netbsd-11
CVS tags: netbsd-11-1-RELEASE
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +4 -2
lines
Pull up following revision(s) (requested by thorpej in ticket #403):
sys/dev/pci/isp_pci.c: revision 1.123
sys/dev/ic/isp_netbsd.h: revision 1.77
It has been observed in the wild that some individual instances of
ISP10[24]0 controllers don't seem to like getting a 64-bit DMA address
from our driver (at least, there seems to be some sort of incorrect
handling vis a vis the RQSTYPE_A64 message in isp_intr()).
Upon inspection, it was noted that in isp_pci_dmasetup(), the decision
to use RQSTYPE_T3RQS vs RQSTYPE_T2RQS was conditional on sizeof(bus_addr_t)
being larger than sizeof(uint32_t).
However, this isn't the correct predicate; instead, the choice should
be dependent on what the largest value that bus_addr_t will have. As
it happans, the PCI layer makes a distinction between 32-bit and 64-bit
DMA windows, and isp_pci's use of the regular "pa->pa_dmat" would ensure
that the DMA address always fits within 32-bits. Therefore, there was
never a reason to use RQSTYPE_T3RQS, regardless of the size of bus_addr_t.
As such, we tweak the code to depend explicitly on a new isp_use_dma64
flag, which is initialized by the bus front-end according to the DMA
window selection that's been made.
Along those lines, add code to correctly determine if a 64-bit DMA
window should be used, but leave it disabled for now, until we can
sort out the issue with RQSTYPE_A64.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun Jul 26 23:43:27 2026 UTC (3 months, 3 weeks ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102,
HEAD
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +4 -2
lines
It has been observed in the wild that some individual instances of
ISP10[24]0 controllers don't seem to like getting a 64-bit DMA address
from our driver (at least, there seems to be some sort of incorrect
handling vis a vis the RQSTYPE_A64 message in isp_intr()).
Upon inspection, it was noted that in isp_pci_dmasetup(), the decision
to use RQSTYPE_T3RQS vs RQSTYPE_T2RQS was conditional on sizeof(bus_addr_t)
being larger than sizeof(uint32_t).
However, this isn't the correct predicate; instead, the choice should
be dependent on what the largest value that bus_addr_t will have. As
it happans, the PCI layer makes a distinction between 32-bit and 64-bit
DMA windows, and isp_pci's use of the regular "pa->pa_dmat" would ensure
that the DMA address always fits within 32-bits. Therefore, there was
never a reason to use RQSTYPE_T3RQS, regardless of the size of bus_addr_t.
As such, we tweak the code to depend explicitly on a new isp_use_dma64
flag, which is initialized by the bus front-end according to the DMA
window selection that's been made.
Along those lines, add code to correctly determine if a 64-bit DMA
window should be used, but leave it disabled for now, until we can
sort out the issue with RQSTYPE_A64.
Revision 1.75.18.1: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:21 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75: +4 -3
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.76: download - view: text, markup, annotated - select for diffs
Fri Sep 20 14:20:45 2019 UTC (7 years, 1 month ago) by christos
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
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,
thorpej-altq-separation-base,
thorpej-altq-separation,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
perseant-exfatfs-base-20250801,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
netbsd-11-base,
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-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,
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,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: perseant-exfatfs,
netbsd-11
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +4 -3
lines
declare printflike functions and fix another printf format.
also change 0x%x -> %#x.
Revision 1.74.12.1: 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.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74: +2 -2
lines
update from HEAD
Revision 1.74.30.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:58 2015 UTC (11 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74: +2 -2
lines
Sync with HEAD
Revision 1.75: download - view: text, markup, annotated - select for diffs
Fri Aug 28 13:03:36 2015 UTC (11 years, 2 months ago) by joerg
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20190609,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
netbsd-9-base,
netbsd-9-5-RELEASE,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-ncqfixes-base,
jdolecek-ncqfixes,
jdolecek-ncq-base,
jdolecek-ncq,
isaki-audio2-base,
isaki-audio2,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: phil-wifi
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +2 -2
lines
Add parenthesis for a macro to prevent surprises when it is negated.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Sun Jul 17 20:54:51 2011 UTC (15 years, 4 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-tag8,
yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
yamt-pagecache,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
rmind-smpnet,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
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,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
khorben-n900,
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,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
nick-nhusb
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +1 -3
lines
Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
Revision 1.72.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.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +3 -2
lines
Sync with HEAD.
Revision 1.71.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:53:17 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.71.4.1: preferred, colored; branchpoint 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71.4.1: +3 -2
lines
sync with head
Revision 1.72.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:10:19 2011 UTC (15 years, 8 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.72: preferred, colored; next MAIN 1.73: preferred, colored
Changes since revision 1.72: +3 -2
lines
Sync with HEAD
Revision 1.73: 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: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -2
lines
Update isp driver to be in sync with other platforms. Mostly very minor changes
with effectively zero impact on NetBSD.
Revision 1.65.4.5: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:53:27 2010 UTC (16 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.65.4.4: preferred, colored; branchpoint 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.4.4: +7 -2
lines
sync with head.
Revision 1.71.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:17:23 2010 UTC (16 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +7 -2
lines
sync with head
Revision 1.71.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:18 2010 UTC (16 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +7 -2
lines
Sync with HEAD.
Revision 1.72: 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.71: preferred, colored
Changes since revision 1.71: +7 -2
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.65.4.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:32 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.65.4.3: preferred, colored; branchpoint 1.65: preferred, colored
Changes since revision 1.65.4.3: +9 -7
lines
sync with head
Revision 1.71: download - view: text, markup, annotated - select for diffs
Mon Jan 11 01:33:22 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.70: preferred, colored
Changes since revision 1.70: +3 -2
lines
Keep track of what appear to be live Fibre Channel disks and store up the
Port WWNs for them as well as attaching them as a "port-wwn" property to
the device node in question. This allows MD code to find the boot device
on some platforms.
This is less clean than it should be. A better solution would be to make
some changes to the scsi infrastructure so that periphs can query and
use and store their own "native" transport addresses. However, that's
a much more invasive change and it is not clear how many ports or devices
really want or need that information (yet).
Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu Dec 3 14:51:48 2009 UTC (16 years, 11 months ago) by mjacob
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +7 -5
lines
Have as a backup at least *some* usable WWN.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Mon Nov 23 02:13:46 2009 UTC (16 years, 11 months ago) by rmind
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +1 -2
lines
Remove some unecessary includes sys/user.h header.
Revision 1.65.4.3: download - view: text, markup, annotated - select for diffs
Wed Sep 16 13:37:48 2009 UTC (17 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.65.4.2: preferred, colored; branchpoint 1.65: preferred, colored
Changes since revision 1.65.4.2: +4 -4
lines
sync with head
Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon Sep 7 13:39:19 2009 UTC (17 years, 2 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
jym-xensuspend-nbase
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +4 -4
lines
Split device_t/softc.
Tested QLogic 1020 Fast Wide SCSI HBA at PCI.
Sbus attachment is untested, but not so much quirks in it.
Revision 1.66.12.1: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:48 2009 UTC (17 years, 3 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +31 -12
lines
Sync with HEAD.
Revision 1.65.4.2: 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.65.4.1: preferred, colored; branchpoint 1.65: preferred, colored
Changes since revision 1.65.4.1: +31 -12
lines
sync with head.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Jun 25 23:44:02 2009 UTC (17 years, 4 months ago) by mjacob
Branches: MAIN
CVS tags: yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
jymxensuspend-base
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +31 -12
lines
Update ISP driver to latest and greatest. Includes support for the 8Gb part.
Revision 1.65.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.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +3 -3
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.63.16.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.63.16.1: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.16.1: +2 -3
lines
Sync with HEAD.
Revision 1.65.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.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +3 -3
lines
sync with head.
Revision 1.65.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.65: preferred, colored
Changes since revision 1.65: +3 -3
lines
sync with head.
Revision 1.66: 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-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
yamt-nfs-mp-base2,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-5-base,
netbsd-5-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,
mjf-devfs2-base,
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,
jym-xensuspend-base,
hpcarm-cleanup-nbase,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
ad-audiomp2-base,
ad-audiomp2
Branch point for: jym-xensuspend
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +3 -3
lines
Make fc scratch acquisition something that can fail. Remove in_intr flag.
Otherwise synchronize with changes made due to other platforms.
Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Apr 8 12:07:26 2008 UTC (18 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base
Branch point for: yamt-pf42,
yamt-nfs-mp,
wrstuden-revivesa
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +1 -2
lines
use aprint_*_dev and device_xname
Revision 1.63.16.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.63: preferred, colored
Changes since revision 1.63: +29 -25
lines
Sync with HEAD.
Revision 1.63.12.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.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +29 -25
lines
sync with head.
Revision 1.62.8.2: 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.62.8.1: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.8.1: +29 -25
lines
sync with HEAD
Revision 1.53.4.4: 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.53.4.3: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.4.3: +29 -25
lines
sync with head.
Revision 1.64: 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-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
ad-socklock-base1
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +29 -25
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.62.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:26:47 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -2
lines
sync with HEAD
Revision 1.53.4.3: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:30:48 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.53.4.2: preferred, colored; branchpoint 1.53: preferred, colored
Changes since revision 1.53.4.2: +2 -2
lines
sync with head.
Revision 1.62.6.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:44:50 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +2 -2
lines
Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
Revision 1.62.12.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:37:46 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +2 -2
lines
Sync with HEAD.
Revision 1.58.2.4: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:07:32 2007 UTC (19 years ago) by ad
Branches: vmlocking
Diff to: previous 1.58.2.3: preferred, colored; branchpoint 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.2.3: +2 -2
lines
Sync with head.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Fri Oct 19 11:59:54 2007 UTC (19 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
mjf-devfs,
matt-armv6-base,
jmcneill-pm-base,
jmcneill-base,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-nbase,
bouyer-xeni386-merge1,
bouyer-xeni386-base,
bouyer-xeni386,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: mjf-devfs2,
keiichi-mipv6
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -2
lines
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
Revision 1.53.4.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:34:48 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.53.4.1: preferred, colored; branchpoint 1.53: preferred, colored
Changes since revision 1.53.4.1: +88 -224
lines
sync with head.
Revision 1.58.2.3: download - view: text, markup, annotated - select for diffs
Sun Jul 15 15:52:45 2007 UTC (19 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.58.2.2: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.2.2: +6 -1
lines
Sync with head.
Revision 1.58.4.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:05:55 2007 UTC (19 years, 4 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +88 -224
lines
Sync with head.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Mon Jul 9 21:00:37 2007 UTC (19 years, 4 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
vmlocking-base,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: matt-armv6,
jmcneill-pm,
bouyer-xenamd64
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +2 -2
lines
Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Jul 8 05:22:33 2007 UTC (19 years, 4 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +2 -1
lines
Oh, dear, I didn't have an i386 or amd64 up and running and
missed a LITTLE ENDIAN version of a define.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Jul 7 00:49:49 2007 UTC (19 years, 4 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +5 -1
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.58.2.2: download - view: text, markup, annotated - select for diffs
Sun May 27 14:30:03 2007 UTC (19 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.58.2.1: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.2.1: +82 -223
lines
Sync with head.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Thu May 24 21:30:43 2007 UTC (19 years, 5 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +82 -223
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.58.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 22:09:57 2007 UTC (19 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +2 -2
lines
- Add two new arguments to kthread_create1: pri_t pri, bool mpsafe.
- Fork kthreads off proc0 as new LWPs, not new processes.
Revision 1.57.14.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:53:36 2007 UTC (19 years, 8 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +2 -2
lines
Sync with HEAD.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Sun Mar 4 06:01:57 2007 UTC (19 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup
Branch point for: vmlocking,
mjf-ufs-trans
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +2 -2
lines
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.55.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:50:02 2006 UTC (20 years, 2 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +2 -3
lines
sync with head
Revision 1.53.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:02:55 2006 UTC (20 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +1 -2
lines
sync with head.
Revision 1.55.6.1: download - view: text, markup, annotated - select for diffs
Sat Apr 22 11:38:55 2006 UTC (20 years, 7 months ago) by simonb
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +2 -3
lines
Sync with head.
Revision 1.56.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 03:24:39 2006 UTC (20 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +1 -2
lines
sync with head.
Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 1 12:06:58 2006 UTC (20 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +1 -2
lines
sync with head.
Revision 1.56.6.1: download - view: text, markup, annotated - select for diffs
Fri Mar 31 09:45:20 2006 UTC (20 years, 7 months ago) by tron
Branches: peter-altq
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +1 -2
lines
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Mar 29 04:43:56 2006 UTC (20 years, 7 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
simonb-timecounters-base,
rpaulo-netinet-merge-pcb-base,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
newlock2,
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,
gdamore-uart-base,
gdamore-uart,
elad-kernelauth-base,
chap-midi-nbase,
chap-midi-base,
chap-midi,
ad-audiomp-base,
ad-audiomp,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-idlelwp
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +1 -2
lines
Remove isp_unit -- it is not used.
Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 15:39:04 2006 UTC (20 years, 9 months ago) by yamt
Branches: yamt-uio_vmspace
Diff to: previous 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +2 -2
lines
sync with head.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Thu Feb 16 20:17:16 2006 UTC (20 years, 9 months ago) by perry
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base
Branch point for: yamt-pdpolicy,
peter-altq,
elad-kernelauth
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -2
lines
Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Dec 24 20:27:30 2005 UTC (20 years, 10 months ago) by perry
Branches: MAIN
Branch point for: yamt-uio_vmspace,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -2
lines
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
Revision 1.54: 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
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +1 -1
lines
merge ktrace-lwp.
Revision 1.52.8.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:51 2005 UTC (21 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +5 -5
lines
sync with -current
Revision 1.52.10.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:34:03 2005 UTC (21 years, 8 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +5 -5
lines
sync with head. xen and whitespace. xen part is not finished.
Revision 1.51.6.4: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:41:30 2005 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.51.6.3: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.6.3: +5 -5
lines
Sync with HEAD.
Hi Perry!
Revision 1.53: 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-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,
yamt-km-base4,
yamt-km-base3,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
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,
ktrace-lwp-base,
kent-audio2-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +5 -5
lines
nuke trailing whitespace
Revision 1.51.6.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:27:59 2004 UTC (22 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.51.6.2: preferred, colored; branchpoint 1.51: preferred, colored
Changes since revision 1.51.6.2: +1 -1
lines
Fix the sync with head I botched.
Revision 1.51.6.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.51.6.1: preferred, colored; branchpoint 1.51: preferred, colored
Changes since revision 1.51.6.1: +0 -0
lines
Sync with HEAD.
Revision 1.51.6.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.51: preferred, colored
Changes since revision 1.51: +2 -2
lines
Sync with HEAD
Revision 1.52: 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.51: preferred, colored
Changes since revision 1.51: +2 -2
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.37.2.8: download - view: text, markup, annotated - select for diffs
Mon Nov 11 22:09:44 2002 UTC (24 years ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.37.2.7: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.2.7: +2 -3
lines
Catch up to -current
Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri Oct 18 23:32:53 2002 UTC (24 years, 1 month ago) by mjacob
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
kqueue-beforemerge,
kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Branch point for: ktrace-lwp
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -4
lines
Slight cleanup to use ISP_MUSTPOLL macro in case we can ever fix the
issue about knowing when we're on the interrupt stack or not.
Revision 1.45.2.4: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:46:38 2002 UTC (24 years, 4 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.45.2.3: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.2.3: +4 -9
lines
catch up with -current on kqueue branch
Revision 1.37.2.7: download - view: text, markup, annotated - select for diffs
Wed Apr 17 00:05:46 2002 UTC (24 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.37.2.6: preferred, colored
Changes since revision 1.37.2.6: +4 -9
lines
Catch up to -current.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Apr 4 23:38:48 2002 UTC (24 years, 7 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,
kqueue-base,
gehenna-devsw-base,
gehenna-devsw
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -2
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.49: download - view: text, markup, annotated - select for diffs
Sun Mar 31 17:56:54 2002 UTC (24 years, 7 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -8
lines
Thanks to Jason Wright of OpenBSD- spotted that the offsets were all wrong
for bus_dmamap_sync calls. They'd been blindly ported from Solaris which
had *one* dma map for the entire control space, so offset was incremented
for the Request, Response and FC Scratch spaces. Tsk. There are three maps
in NetBSD. I should probably make them one anyway.
Revision 1.45.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 16 16:00:58 2002 UTC (24 years, 8 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.45.2.2: preferred, colored
Changes since revision 1.45.2.2: +15 -4
lines
Catch up with -current.
Revision 1.37.2.6: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:13:26 2002 UTC (24 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.37.2.5: preferred, colored
Changes since revision 1.37.2.5: +15 -4
lines
Catch up to -current.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Feb 21 22:32:42 2002 UTC (24 years, 8 months ago) by mjacob
Branches: MAIN
CVS tags: newlock-base,
newlock,
ifpoll-base,
eeh-devprop-base,
eeh-devprop
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +15 -4
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.45.2.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:54:42 2002 UTC (24 years, 10 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.45.2.1: preferred, colored
Changes since revision 1.45.2.1: +94 -210
lines
Sync kqueue branch with -current.
Revision 1.37.2.5: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:29:53 2002 UTC (24 years, 10 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.37.2.4: preferred, colored
Changes since revision 1.37.2.4: +94 -210
lines
Catch up to -current.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Dec 14 00:13:45 2001 UTC (24 years, 11 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +94 -210
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.37.2.4: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:35:40 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.37.2.3: preferred, colored
Changes since revision 1.37.2.3: +8 -2
lines
Catch up to -current.
Revision 1.45.2.1: download - view: text, markup, annotated - select for diffs
Thu Sep 13 01:15:40 2001 UTC (25 years, 2 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +8 -2
lines
Update the kqueue branch to HEAD.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Sat Sep 1 07:12:24 2001 UTC (25 years, 2 months ago) by mjacob
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +8 -2
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.37.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:09:27 2001 UTC (25 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.37.2.2: preferred, colored
Changes since revision 1.37.2.2: +5 -5
lines
Catch up with -current.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Jul 7 16:15:03 2001 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2
lines
bzero -> memset
Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Jul 7 15:53:18 2001 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -4
lines
bcopy -> memcpy
Revision 1.37.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:02:43 2001 UTC (25 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.37.2.1: preferred, colored
Changes since revision 1.37.2.1: +68 -39
lines
Catch up to -current.
Revision 1.43: 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.42: preferred, colored
Changes since revision 1.42: +14 -6
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.42: download - view: text, markup, annotated - select for diffs
Wed May 16 21:41:52 2001 UTC (25 years, 6 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +23 -24
lines
Per helpful suggestion from LukeM- make INLINE usage consistent (and
use correct __inline format).
Revision 1.41: download - view: text, markup, annotated - select for diffs
Wed May 16 03:55:15 2001 UTC (25 years, 6 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +28 -5
lines
Long overdue- put locks on the usage of the mailbox command stuff. This
keeps us from stomping on ourselves.
Say we're in the middle of re-evaluating a loop (and sleeping) when a
command completes, or a timer refires, and this *other* thread decides
*it* wants to start re-evaluating the loop. Bad news.
We have to be a bit careful- if we can't acquire the MBOX semaphore at
interrupt level, we will simulate a host interface error. This is a bit
of a temp workaround. There's some work underway driven by a NetBSD
commercial user that will try and force most mailbox stuff into a
part A/part B interrupt driven model.
Revision 1.40: download - view: text, markup, annotated - select for diffs
Wed Apr 25 17:53:33 2001 UTC (25 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +9 -11
lines
Pull up the thorpej_scsipi branch to main branch.
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers are queued in the mid-layer, rather than doing so in an
ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
(no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
the need to use buggy tag ID allocation schemes in many adapter drivers).
- support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command
will be requeued, or a REQUEST SENSE will be sent as appropriate.
Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge
Revision 1.18.2.14: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:48:33 2001 UTC (25 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.18.2.13: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.2.13: +2 -1
lines
Sync with HEAD
Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Apr 10 21:52:15 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.38: preferred, colored
Changes since revision 1.38: +2 -1
lines
Include isp_ioctl.h.
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:56:20 2001 UTC (25 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +13 -21
lines
Catch up with -current.
Revision 1.18.2.13: download - view: text, markup, annotated - select for diffs
Tue Mar 27 15:52:51 2001 UTC (25 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.18.2.12: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.2.12: +2 -2
lines
Ops, XS_CHANNEL() is channel number, not pointer to scsipi_channel.
Revision 1.18.2.12: download - view: text, markup, annotated - select for diffs
Tue Mar 27 15:31:58 2001 UTC (25 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.18.2.11: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.2.11: +13 -21
lines
Sync with HEAD.
Revision 1.18.2.11: download - view: text, markup, annotated - select for diffs
Tue Mar 27 13:08:12 2001 UTC (25 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.18.2.10: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.2.10: +9 -11
lines
Convert these drivers to thorpej_scsipi (untested).
Revision 1.23.4.4: download - view: text, markup, annotated - select for diffs
Fri Mar 16 19:15:28 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.23.4.3: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.4.3: +37 -28
lines
Pull up revisions 1.34-1.38 (requested by mjacob):
Remove ISP2100_FABRIC (we're always fabric now). Say which
mailbox command times out (polled or interrupting). Set error
to XS_SENSE when there is a check condition. Roll platform minor.
ANSIfy source.
Revision 1.38: download - view: text, markup, annotated - select for diffs
Wed Mar 14 05:44:46 2001 UTC (25 years, 8 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +13 -21
lines
ANSIfy source.
Revision 1.18.2.10: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:30:29 2001 UTC (25 years, 8 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.18.2.9: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.2.9: +11 -5
lines
Sync with HEAD.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Wed Feb 28 05:53:59 2001 UTC (25 years, 8 months ago) by mjacob
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -2
lines
roll platform minor
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Feb 12 23:32:11 2001 UTC (25 years, 9 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +10 -4
lines
Remove ISP2100_FABRIC (we're always fabric now). Fix usage of isp_lastmbxcmd
to report the mailbox command that times out. Fix isp_unswizzle_sns_rsp
which for reasons *I* find obscurer just doesn't work correctly on sparc64
with words past 128. I have no idea why this *does* work on SparcLinux.
Revision 1.23.4.3: download - view: text, markup, annotated - select for diffs
Thu Jan 25 18:25:47 2001 UTC (25 years, 9 months ago) by jhawk
Branches: netbsd-1-5
Diff to: previous 1.23.4.2: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.4.2: +208 -43
lines
Pull up revisions 1.30-1.33 (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.18.2.9: download - view: text, markup, annotated - select for diffs
Fri Jan 5 17:35:41 2001 UTC (25 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.18.2.8: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.2.8: +25 -15
lines
Sync with HEAD
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Jan 5 07:03:54 2001 UTC (25 years, 10 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2
lines
(some of these changes were made in the previous revision- oops)
Say which mailbox command times out (polled or interrupting). Also,
give them a bit more time to timeout (5 seconds instead of 2).
Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Jan 5 07:02:00 2001 UTC (25 years, 10 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +17 -6
lines
Ian McDonnell <apriori@world.std.com> made me see the error of my ways.
*Cough*. Ahem. I hadn't been setting error to XS_SENSE when there was
a check condition. Major blunder.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sat Dec 23 01:37:58 2000 UTC (25 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +10 -11
lines
Fix pathnames in comment.
Revision 1.18.2.8: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:50:03 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.18.2.7: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.2.7: +197 -19
lines
Sync with HEAD (for UBC fixes).
Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Dec 9 08:06:33 2000 UTC (25 years, 11 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +198 -20
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.18.2.7: download - view: text, markup, annotated - select for diffs
Wed Nov 22 16:03:21 2000 UTC (25 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.18.2.6: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.2.6: +2 -1
lines
Sync with HEAD.
Revision 1.18.2.6: download - view: text, markup, annotated - select for diffs
Mon Nov 20 11:40:39 2000 UTC (26 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.18.2.5: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.2.5: +308 -117
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.31: download - view: text, markup, annotated - select for diffs
Tue Nov 14 18:35:10 2000 UTC (26 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -1
lines
Pull in <uvm/uvm_extern.h>
Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Oct 16 05:18:15 2000 UTC (26 years, 1 month ago) by mjacob
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +5 -18
lines
Make changes relevant to changes in WWN defaults.
Also fix egregious bug where we would never decrement
the islocked recursion counter. I guess this means
that we don't recurse on this platform! All of this should
go away when we have real lock primitives to use in drivers.
Revision 1.23.4.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:45:10 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.23.4.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.4.1: +309 -115
lines
Complete rewrite of internals for isp core version 2.0.
Pullup to netbsd-1-5 approved by thorpej@netbsd.org.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Aug 14 07:10:09 2000 UTC (26 years, 3 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +38 -9
lines
Add a maintenance note. Move the single bit tags of islocked and
onintstack to be real integers. Add ISP_ILOCK/ISP_IUNLOCK macros.
Fix the isp_lock/isp_unlock inlines to stop being so embarrassingly
in error. Why, or why, can't I have mutex_enter/mutex_exit, pretty please?
Revision 1.23.4.1: download - view: text, markup, annotated - select for diffs
Fri Aug 11 22:24:48 2000 UTC (26 years, 3 months ago) by tls
Branches: netbsd-1-5
CVS tags: netbsd-1-5-ALPHA2
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -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.28: 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.27: preferred, colored
Changes since revision 1.27: +3 -3
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.27: download - view: text, markup, annotated - select for diffs
Tue Aug 1 23:55:11 2000 UTC (26 years, 3 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +257 -148
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.26: download - view: text, markup, annotated - select for diffs
Wed Jul 5 22:25:06 2000 UTC (26 years, 4 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +67 -6
lines
Roll platform minor. We are now always supporting ISP2100_FABRIC. Add
in new MBOX_WAIT_COMPLETE/MBOX_NOTIFY_COMPLETE macros (ready for SMPizing).
Define STRNCAT inline for our usage.
Stealing a bit of the xs_status flags to maintain command state that
is pertinent for the hBA- should really reserve them for private usage
in scsipiconf.h.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Jun 28 17:12:58 2000 UTC (26 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +1 -3
lines
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:38:50 2000 UTC (26 years, 4 months ago) by mrg
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -3
lines
remove redundant vm includes.
Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Sat May 13 17:05:52 2000 UTC (26 years, 6 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH003
Diff to: previous 1.12.2.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.1: +3 -1
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.23: download - view: text, markup, annotated - select for diffs
Thu Mar 23 07:01:31 2000 UTC (26 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: netbsd-1-5-base,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -1
lines
New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Sat Feb 19 01:51:21 2000 UTC (26 years, 9 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -1
lines
Add in ISP_SWIZZLE_CONTINUATION macro.
Revision 1.18.2.5: download - view: text, markup, annotated - select for diffs
Fri Feb 4 23:06:10 2000 UTC (26 years, 9 months ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.18.2.4: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.2.4: +2 -1
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.12.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 8 22:43:46 2000 UTC (26 years, 10 months ago) by he
Branches: netbsd-1-4
CVS tags: netbsd-1-4-PATCH002
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +83 -120
lines
Pull up revisions 1.13-1.16,1.18-1.21 (via patch, 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.17.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:49 1999 UTC (26 years, 10 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +49 -94
lines
Pull up to last week's -current.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Dec 20 00:37:49 1999 UTC (26 years, 11 months ago) by mjacob
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
chs-ubc2-newbase
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2
lines
restore (by request) CFGPRINTF to DIAGNOSTIC level kernels
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Dec 16 05:35:44 1999 UTC (26 years, 11 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -3
lines
Dual LVD (1280) support.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Dec 4 02:59:29 1999 UTC (26 years, 11 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +10 -10
lines
Rearrange defines to make the file diff cleaner with OpenBSD. Change CFGPRINTF
and default verbose levels. Add in a forced compile in f/w define unless
either IS_DISABLE_FW or ISP_COMPILE_FW defined.
Revision 1.18.2.4: download - view: text, markup, annotated - select for diffs
Mon Nov 1 22:54:17 1999 UTC (27 years ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.18.2.3: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.2.3: +2 -2
lines
Fixup the SC_DEBUG() stuff for the new world order.
Revision 1.18.2.3: download - view: text, markup, annotated - select for diffs
Wed Oct 20 20:41:27 1999 UTC (27 years, 1 month ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.18.2.2: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.2.2: +1 -4
lines
- Eliminate sleeping from adapter routines.
- On a LOOP DOWN event, freeze the channel queue.
- On a LOOP UP event, do a timed thaw on the channel queue.
Revision 1.18.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 19 21:38:27 1999 UTC (27 years, 1 month ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.18.2.1: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.2.1: +8 -6
lines
Let the midlayer tell if we can use tagged queueing, and what sort of
tag to use.
Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 19 17:47:38 1999 UTC (27 years, 1 month ago) by thorpej
Branches: thorpej_scsipi
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +12 -17
lines
Adapt to scsipi API changes.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Oct 14 02:33:38 1999 UTC (27 years, 1 month ago) by mjacob
Branches: MAIN
CVS tags: fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999
Branch point for: thorpej_scsipi
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +44 -89
lines
Roll platform version. Keep a bitmap of 'discovered' devices for SCSI adapters
so we'll know when it's time to switch from 'slow' command mode to normal.
Change some settings for configuration printfs and debug levels. Redo the
internal ispscsicmd return definitions and let isp_cmd translate them as
approrpriate to NetBSD values. Remove the inline functions from here- they're
now in isp_inline.h. Put in the start of the correct SWIZZLE/UNSWIZZLE
functions.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Sep 30 23:06:19 1999 UTC (27 years, 1 month ago) by thorpej
Branches: MAIN
Branch point for: wrstuden-devbsize
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +5 -5
lines
Update for SCSIPI changes. Note that capabilities update is disabled
until Matt Jacob has a change to update the driver for the latest
firmware, etc. since update device parameters seems to fail once the
system is really up and running, and eventually causes the controller
to wedge. This may be due to a firmware bug.
Per discussion with Matt.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Sep 7 22:54:45 1999 UTC (27 years, 2 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -3
lines
A useful discussion with Jason convinced me that I had selected the
wrong tag as the default tag to use- we should use ORDERED, no SIMPLE.
Revision 1.12.4.2: download - view: text, markup, annotated - select for diffs
Mon Aug 2 21:59:05 1999 UTC (27 years, 3 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.12.4.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.4.1: +30 -32
lines
Update from trunk.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Jul 5 20:31:36 1999 UTC (27 years, 4 months ago) by mjacob
Branches: MAIN
CVS tags: chs-ubc2-base
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +30 -32
lines
Change to approved NASA/Ames copyright. Add Fabric support. Fix SCCLUN support.
Add code that tries to track LoopID shifting.
Revision 1.12.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:17:48 1999 UTC (27 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +19 -9
lines
Sync w/ -current.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed May 12 18:59:24 1999 UTC (27 years, 6 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +13 -7
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.13: download - view: text, markup, annotated - select for diffs
Sun Apr 4 02:29:51 1999 UTC (27 years, 7 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +9 -5
lines
roll internal revs
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Mar 26 22:39:45 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.11: preferred, colored
Changes since revision 1.11: +3 -4
lines
add isp1080 support and some basic PDB change stuff
Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Mar 17 06:15:48 1999 UTC (27 years, 8 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +99 -5
lines
Update the driver with some infrastructure for the 1080. Fix an embarrassing
clock botch bug. Additional infrastructure for PDB change stuff.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Feb 9 00:37:35 1999 UTC (27 years, 9 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -2
lines
Roll platform revision level. Add blocked flag and waitq to osinfo structure.
Revision 1.9: 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.8: preferred, colored
Changes since revision 1.8: +3 -2
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.8: download - view: text, markup, annotated - select for diffs
Sun Jan 10 05:04:18 1999 UTC (27 years, 10 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -2
lines
cross platform define MEMZERO added
Revision 1.7: 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.6: preferred, colored
Changes since revision 1.6: +5 -10
lines
clean up headers; move uninit/watch to outer layers
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Dec 5 19:48:23 1998 UTC (27 years, 11 months ago) by mjacob
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -3
lines
Update BA for new max_lun parameter for SCSIbusses. Clearify maximum luns
for FC HB based upon a SCCLUN define (15 for normal- 255 out of a possible
65535 for SCCLUN). Propagate loopid as adapter_target.
Roll minor platform version. Roll core version number.
Update mailbox definitions with cleaner target mode structure definitions.
Clean up some ENDIAN stuff. Correct botched ISP2100_NVRAM_HARDLOOPID offset.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Nov 19 21:53:00 1998 UTC (28 years ago) by thorpej
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -1
lines
Adapt to the new scsipi_adapter interface.
Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Sat Nov 7 05:51:02 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.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.1: +173 -0
lines
pull up revs 1.1-1.4 from trunk (new file), and patch so that it works
in 1.3.x. (mjacob)
Revision 1.4.2.1
Thu Sep 17 22:50:53 1998 UTC (28 years, 2 months ago) by cgd
Branches: netbsd-1-3
FILE REMOVED
Changes since revision 1.4: +0 -169
lines
file isp_netbsd.h was added on branch netbsd-1-3 on 1998-11-07 05:51:02 +0000
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Sep 17 22:50:53 1998 UTC (28 years, 2 months ago) by mjacob
Branches: MAIN
CVS tags: chs-ubc-base,
chs-ubc
Branch point for: netbsd-1-3
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -2
lines
cleanup header to be just NetBSD
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Sep 8 07:18:56 1998 UTC (28 years, 2 months ago) by mjacob
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +13 -4
lines
roll revision, change default tagging to simple tags
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Jul 18 21:04:46 1998 UTC (28 years, 4 months ago) by mjacob
Branches: MAIN
CVS tags: eeh-paddr_t-base,
eeh-paddr_t
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -2
lines
roll revision
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jul 15 19:44:04 1998 UTC (28 years, 4 months ago) by mjacob
Branches: MAIN
NetBSD OS specific routines and definitions.
CVSweb <webmaster@jp.NetBSD.org>