The NetBSD Project

CVS log for src/sys/dev/pci/isp_pci.c

[BACK] Up to [cvs.netbsd.org] / src / sys / dev / pci

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.113.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:08:16 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.113: +5 -3 lines
Diff to previous 1.113 (colored) next main 1.114 (colored)

Sync with HEAD.

Revision 1.110.4.3 / (download) - annotate - [select for diffs], Tue May 31 03:04:41 2011 UTC (11 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.110.4.2: +1 -1 lines
Diff to previous 1.110.4.2 (colored) to branchpoint 1.110 (colored) next main 1.111 (colored)

sync with head

Revision 1.115 / (download) - annotate - [select for diffs], Tue May 24 18:17:24 2011 UTC (12 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, netbsd-6, 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-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, HEAD
Changes since 1.114: +3 -3 lines
Diff to previous 1.114 (colored)

Use proper format string

Revision 1.110.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:53:46 2011 UTC (14 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.110.4.1: +4 -3 lines
Diff to previous 1.110.4.1 (colored) to branchpoint 1.110 (colored)

sync with head

Revision 1.113.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:23 2011 UTC (14 months, 3 weeks ago) by bouyer
Branch: bouyer-quota2
Changes since 1.113: +2 -0 lines
Diff to previous 1.113 (colored) next main 1.114 (colored)

Sync with HEAD

Revision 1.114 / (download) - annotate - [select for diffs], Mon Feb 28 17:17:55 2011 UTC (14 months, 3 weeks ago) by mjacob
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.113: +4 -2 lines
Diff to previous 1.113 (colored)

Update isp driver to be in sync with other platforms. Mostly very minor changes
with effectively zero impact on NetBSD.

Revision 1.113 / (download) - annotate - [select for diffs], Sat Nov 13 13:52:07 2010 UTC (18 months, 1 week ago) by uebayasi
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.112: +2 -3 lines
Diff to previous 1.112 (colored)

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

Revision 1.105.4.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:49 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.105.4.3: +27 -8 lines
Diff to previous 1.105.4.3 (colored) to branchpoint 1.105 (colored) next main 1.106 (colored)

sync with head.

Revision 1.110.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:36 2010 UTC (23 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.110: +27 -8 lines
Diff to previous 1.110 (colored)

sync with head

Revision 1.110.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:39 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.110: +27 -8 lines
Diff to previous 1.110 (colored) next main 1.111 (colored)

Sync with HEAD.

Revision 1.112 / (download) - annotate - [select for diffs], Mon Apr 12 14:26:21 2010 UTC (2 years, 1 month ago) by mjacob
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1
Changes since 1.111: +4 -2 lines
Diff to previous 1.111 (colored)

Oops. Don't forget to set the isp_port value based upon PCI function code.
Otherwise you end up with both ports using the same WWPN. Bad.
Discovered by Havard. Pointy hat to me.

Revision 1.111 / (download) - annotate - [select for diffs], Fri Mar 26 20:52:01 2010 UTC (2 years, 2 months ago) by mjacob
Branch: MAIN
Changes since 1.110: +25 -8 lines
Diff to previous 1.110 (colored)

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.105.4.3 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:52 2009 UTC (2 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.105.4.2: +12 -10 lines
Diff to previous 1.105.4.2 (colored) to branchpoint 1.105 (colored)

sync with head

Revision 1.110 / (download) - annotate - [select for diffs], Mon Sep 7 13:39:19 2009 UTC (2 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.109: +12 -10 lines
Diff to previous 1.109 (colored)

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.105.18.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:31:58 2009 UTC (2 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.105.18.1: +79 -251 lines
Diff to previous 1.105.18.1 (colored) to branchpoint 1.105 (colored) next main 1.106 (colored)

Sync with HEAD.

Revision 1.105.4.2 / (download) - annotate - [select for diffs], Sat Jul 18 14:53:05 2009 UTC (2 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.105.4.1: +79 -251 lines
Diff to previous 1.105.4.1 (colored) to branchpoint 1.105 (colored)

sync with head.

Revision 1.109 / (download) - annotate - [select for diffs], Thu Jun 25 23:44:02 2009 UTC (2 years, 11 months ago) by mjacob
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, jymxensuspend-base
Changes since 1.108: +79 -251 lines
Diff to previous 1.108 (colored)

Update ISP driver to latest and greatest. Includes support for the 8Gb part.

Revision 1.105.4.1 / (download) - annotate - [select for diffs], Sat May 16 10:41:35 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.105: +7 -7 lines
Diff to previous 1.105 (colored)

sync with head

Revision 1.105.18.1 / (download) - annotate - [select for diffs], Wed May 13 17:20:27 2009 UTC (3 years ago) by jym
Branch: jym-xensuspend
Changes since 1.105: +7 -7 lines
Diff to previous 1.105 (colored)

Sync with HEAD.

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

Revision 1.108 / (download) - annotate - [select for diffs], Tue May 12 08:23:01 2009 UTC (3 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, jym-xensuspend-base
Changes since 1.107: +3 -3 lines
Diff to previous 1.107 (colored)

use device_private().
"looks good" ad@
XXX for the device_t/softc split, please check the driver that no cases have been missed.

Revision 1.107 / (download) - annotate - [select for diffs], Wed May 6 10:34:32 2009 UTC (3 years ago) by cegger
Branch: MAIN
Changes since 1.106: +6 -6 lines
Diff to previous 1.106 (colored)

struct device * -> device_t, no functional changes intended.

Revision 1.106 / (download) - annotate - [select for diffs], Wed May 6 09:25:16 2009 UTC (3 years ago) by cegger
Branch: MAIN
Changes since 1.105: +4 -4 lines
Diff to previous 1.105 (colored)

struct cfdata * -> cfdata_t, no functional changes intended.

Revision 1.103.28.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:41 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.103.28.1: +7 -7 lines
Diff to previous 1.103.28.1 (colored) to branchpoint 1.103 (colored) next main 1.104 (colored)

Sync with HEAD.

Revision 1.105 / (download) - annotate - [select for diffs], Mon Apr 7 19:26:44 2008 UTC (4 years, 1 month ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-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, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, jym-xensuspend
Changes since 1.104: +9 -9 lines
Diff to previous 1.104 (colored)

use aprint_*_dev and device_xname and get rid of isp_name

Revision 1.103.28.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:51 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.103: +84 -119 lines
Diff to previous 1.103 (colored)

Sync with HEAD.

Revision 1.103.24.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:48 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.103: +84 -119 lines
Diff to previous 1.103 (colored) next main 1.104 (colored)

sync with head.

Revision 1.103.8.1 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:48 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.103: +84 -119 lines
Diff to previous 1.103 (colored) next main 1.104 (colored)

sync with HEAD

Revision 1.93.2.5 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:11 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.93.2.4: +84 -119 lines
Diff to previous 1.93.2.4 (colored) to branchpoint 1.93 (colored) next main 1.94 (colored)

sync with head.

Revision 1.104 / (download) - annotate - [select for diffs], Tue Mar 11 05:33:31 2008 UTC (4 years, 2 months ago) by mjacob
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Changes since 1.103: +84 -119 lines
Diff to previous 1.103 (colored)

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.93.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:37:09 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.93.2.3: +559 -146 lines
Diff to previous 1.93.2.3 (colored) to branchpoint 1.93 (colored)

sync with head.

Revision 1.100.2.2 / (download) - annotate - [select for diffs], Sun Jul 15 13:21:36 2007 UTC (4 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.100.2.1: +22 -8 lines
Diff to previous 1.100.2.1 (colored) to branchpoint 1.100 (colored) next main 1.101 (colored)

Sync with head.

Revision 1.100.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:07:50 2007 UTC (4 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.100: +559 -146 lines
Diff to previous 1.100 (colored) next main 1.101 (colored)

Sync with head.

Revision 1.103 / (download) - annotate - [select for diffs], Tue Jun 26 20:58:27 2007 UTC (4 years, 11 months ago) by mjacob
Branch: 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
Changes since 1.102: +22 -8 lines
Diff to previous 1.102 (colored)

If we have 2K Login firmware for 23XX cards, remember to put out the
'extended' structure- not the older one. Matters for the swozzling
that goes on for big endian machines.

Revision 1.100.2.1 / (download) - annotate - [select for diffs], Sun May 27 14:30:24 2007 UTC (5 years ago) by ad
Branch: vmlocking
Changes since 1.100: +539 -140 lines
Diff to previous 1.100 (colored)

Sync with head.

Revision 1.102 / (download) - annotate - [select for diffs], Fri May 25 01:59:24 2007 UTC (5 years ago) by mjacob
Branch: MAIN
Changes since 1.101: +8 -2 lines
Diff to previous 1.101 (colored)

Whoops- I almost forgot. Thank MetrumRG Associates for material
support in making 4Gb NetBSD support possible.

Revision 1.101 / (download) - annotate - [select for diffs], Thu May 24 21:30:44 2007 UTC (5 years ago) by mjacob
Branch: MAIN
Changes since 1.100: +533 -140 lines
Diff to previous 1.100 (colored)

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.99.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:55:24 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.99: +8 -8 lines
Diff to previous 1.99 (colored) next main 1.100 (colored)

Sync with HEAD.

Revision 1.100 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:24 2007 UTC (5 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.99: +8 -8 lines
Diff to previous 1.99 (colored)

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

Revision 1.93.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:10:30 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.93.2.2: +10 -10 lines
Diff to previous 1.93.2.2 (colored) to branchpoint 1.93 (colored)

sync with head.

Revision 1.96.2.2 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:22 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.96.2.1: +10 -10 lines
Diff to previous 1.96.2.1 (colored) to branchpoint 1.96 (colored) next main 1.97 (colored)

Sync with head.

Revision 1.99 / (download) - annotate - [select for diffs], Sat Jan 13 19:01:55 2007 UTC (5 years, 4 months ago) by cube
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.98: +10 -10 lines
Diff to previous 1.98 (colored)

Make the logic of handling the options right.

Revision 1.93.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:48:46 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.93.2.1: +19 -9 lines
Diff to previous 1.93.2.1 (colored) to branchpoint 1.93 (colored)

sync with head.

Revision 1.96.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:17:45 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.96.4.1: +4 -4 lines
Diff to previous 1.96.4.1 (colored) to branchpoint 1.96 (colored) next main 1.97 (colored)

sync with head.

Revision 1.96.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:31 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.96: +4 -3 lines
Diff to previous 1.96 (colored)

Sync with head.

Revision 1.98 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:09 2006 UTC (5 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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
Changes since 1.97: +4 -4 lines
Diff to previous 1.97 (colored)

__unused removal on arguments; approved by core.

Revision 1.96.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:06:18 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.96: +5 -4 lines
Diff to previous 1.96 (colored)

sync with head

Revision 1.97 / (download) - annotate - [select for diffs], Thu Oct 12 01:31:31 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.96: +5 -4 lines
Diff to previous 1.96 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.94.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:52:18 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.94: +18 -9 lines
Diff to previous 1.94 (colored) next main 1.95 (colored)

sync with head

Revision 1.94.8.2 / (download) - annotate - [select for diffs], Sun Sep 3 15:24:22 2006 UTC (5 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.94.8.1: +17 -8 lines
Diff to previous 1.94.8.1 (colored) to branchpoint 1.94 (colored) next main 1.95 (colored)

sync with head.

Revision 1.96 / (download) - annotate - [select for diffs], Sat Sep 2 17:02:58 2006 UTC (5 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.95: +17 -8 lines
Diff to previous 1.95 (colored)

add missing initializers

Revision 1.93.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:05:05 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 (colored)

sync with head.

Revision 1.94.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:14 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored) next main 1.95 (colored)

Sync with head.

Revision 1.94.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 03:25:35 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored) next main 1.95 (colored)

sync with head.

Revision 1.94.8.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:07:16 2006 UTC (6 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored)

sync with head.

Revision 1.94.12.1 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:23 2006 UTC (6 years, 1 month ago) by tron
Branch: peter-altq
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored) next main 1.95 (colored)

Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.95 / (download) - annotate - [select for diffs], Wed Mar 29 04:16:50 2006 UTC (6 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored)

Use device_cfdata().

Revision 1.94 / (download) - annotate - [select for diffs], Sun Dec 11 12:22:50 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.93: +2 -2 lines
Diff to previous 1.93 (colored)

merge ktrace-lwp.

Revision 1.88.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 14:06:02 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.88.2.4: +9 -9 lines
Diff to previous 1.88.2.4 (colored) next main 1.89 (colored)

Sync with HEAD. Here we go again...

Revision 1.93 / (download) - annotate - [select for diffs], Mon May 30 04:35:22 2005 UTC (6 years, 11 months ago) by christos
Branch: 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
Changes since 1.92: +9 -9 lines
Diff to previous 1.92 (colored)

- const poisoning
- avoid variable shadowing.

Revision 1.91.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:07 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.91: +9 -9 lines
Diff to previous 1.91 (colored) next main 1.92 (colored)

sync with -current

Revision 1.91.10.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:35:11 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.91: +9 -9 lines
Diff to previous 1.91 (colored) next main 1.92 (colored)

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

Revision 1.88.2.4 / (download) - annotate - [select for diffs], Fri Mar 4 16:45:21 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.88.2.3: +9 -9 lines
Diff to previous 1.88.2.3 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.92 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:33 2005 UTC (7 years, 2 months ago) by perry
Branch: 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
Changes since 1.91: +9 -9 lines
Diff to previous 1.91 (colored)

nuke trailing whitespace

Revision 1.88.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:31:04 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.88.2.2: +2 -2 lines
Diff to previous 1.88.2.2 (colored)

Fix the sync with head I botched.

Revision 1.88.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:49:04 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.88.2.1: +0 -0 lines
Diff to previous 1.88.2.1 (colored)

Sync with HEAD.

Revision 1.88.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:49:09 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.88: +30 -7 lines
Diff to previous 1.88 (colored)

Sync with HEAD

Revision 1.91 / (download) - annotate - [select for diffs], Wed Mar 10 22:42:47 2004 UTC (8 years, 2 months ago) by matt
Branch: 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, matt-timespec, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.90: +16 -2 lines
Diff to previous 1.90 (colored)

Fixes for that only support for the 2030 can be compiled in.

Revision 1.90 / (download) - annotate - [select for diffs], Thu Dec 4 13:57:31 2003 UTC (8 years, 5 months ago) by keihan
Branch: MAIN
Changes since 1.89: +3 -3 lines
Diff to previous 1.89 (colored)

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.89 / (download) - annotate - [select for diffs], Thu Aug 7 01:05:56 2003 UTC (8 years, 9 months ago) by mjacob
Branch: MAIN
Changes since 1.88: +15 -6 lines
Diff to previous 1.88 (colored)

Add in changes from Matt Thomas to check for 64 bit PCI stuff.

Note that a Qlogic 1020 is Fast Wide, not Ultra Fast Wide.

Revision 1.88 / (download) - annotate - [select for diffs], Sat May 3 18:11:36 2003 UTC (9 years ago) by wiz
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.87: +6 -6 lines
Diff to previous 1.87 (colored)

DMA, not dma nor Dma.

Revision 1.66.2.14 / (download) - annotate - [select for diffs], Wed Dec 11 06:38:19 2002 UTC (9 years, 5 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.66.2.13: +2 -2 lines
Diff to previous 1.66.2.13 (colored) next main 1.67 (colored)

Sync with HEAD.

Revision 1.87 / (download) - annotate - [select for diffs], Mon Nov 25 02:16:50 2002 UTC (9 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.86: +4 -4 lines
Diff to previous 1.86 (colored)

Add ULL to 64-bit integer constants.

Revision 1.66.2.13 / (download) - annotate - [select for diffs], Mon Nov 11 22:11:16 2002 UTC (9 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.66.2.12: +21 -0 lines
Diff to previous 1.66.2.12 (colored)

Catch up to -current

Revision 1.86 / (download) - annotate - [select for diffs], Fri Oct 18 23:26:15 2002 UTC (9 years, 7 months ago) by mjacob
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-aftermerge
Changes since 1.85: +23 -2 lines
Diff to previous 1.85 (colored)

Put in, sight unseen, changes which should enable 10160 support.

Interestingly enough, Sun actually made a product out of the 10160,
which is a single channel variant of the 12160 (Ultra3) card.

Revision 1.66.2.12 / (download) - annotate - [select for diffs], Fri Oct 18 02:43:09 2002 UTC (9 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.66.2.11: +2 -3 lines
Diff to previous 1.66.2.11 (colored)

Catch up to -current.

Revision 1.70.2.7 / (download) - annotate - [select for diffs], Thu Oct 10 18:40:52 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.70.2.6: +4 -5 lines
Diff to previous 1.70.2.6 (colored) next main 1.71 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.85 / (download) - annotate - [select for diffs], Wed Oct 2 16:51:40 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.84: +3 -3 lines
Diff to previous 1.84 (colored)

Add trailing ; to CFATTACH_DECL.

Revision 1.84 / (download) - annotate - [select for diffs], Mon Sep 30 20:37:47 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.83: +4 -5 lines
Diff to previous 1.83 (colored)

Use CFATTACH_DECL().

Revision 1.83 / (download) - annotate - [select for diffs], Fri Sep 27 20:40:26 2002 UTC (9 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored)

Declare all cfattach structures const.

Revision 1.70.2.6 / (download) - annotate - [select for diffs], Fri Sep 6 08:45:22 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.70.2.5: +17 -4 lines
Diff to previous 1.70.2.5 (colored)

sync kqueue branch with HEAD

Revision 1.79.2.3 / (download) - annotate - [select for diffs], Thu Aug 29 05:22:40 2002 UTC (9 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.79.2.2: +17 -4 lines
Diff to previous 1.79.2.2 (colored) next main 1.80 (colored)

catch up with -current.

Revision 1.66.2.11 / (download) - annotate - [select for diffs], Tue Aug 13 02:19:40 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.66.2.10: +17 -4 lines
Diff to previous 1.66.2.10 (colored)

Catch up to -current.

Revision 1.82 / (download) - annotate - [select for diffs], Mon Aug 12 21:33:41 2002 UTC (9 years, 9 months ago) by mjacob
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.81: +17 -4 lines
Diff to previous 1.81 (colored)

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.70.2.5 / (download) - annotate - [select for diffs], Sun Jun 23 17:47:49 2002 UTC (9 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.70.2.4: +34 -15 lines
Diff to previous 1.70.2.4 (colored)

catch up with -current on kqueue branch

Revision 1.79.2.2 / (download) - annotate - [select for diffs], Thu Jun 20 16:33:38 2002 UTC (9 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.79.2.1: +5 -2 lines
Diff to previous 1.79.2.1 (colored)

catch up with -current.

Revision 1.66.2.10 / (download) - annotate - [select for diffs], Thu Jun 20 03:45:34 2002 UTC (9 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.66.2.9: +28 -9 lines
Diff to previous 1.66.2.9 (colored)

Catch up to -current.

Revision 1.81 / (download) - annotate - [select for diffs], Sat Jun 15 00:11:36 2002 UTC (9 years, 11 months ago) by mjacob
Branch: MAIN
Changes since 1.80: +5 -2 lines
Diff to previous 1.80 (colored)

Make all 23XX cards 'touched'. We seem to, too often, hang when trying
to run ABOUT FIRMWARE at the first isp_reset call. We *do* check for
the registers being set with values which would tell us if there's
firmware running or not- but this seems to not always work. It's not
essential, so move on.

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Thu May 30 14:46:09 2002 UTC (9 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.79: +5 -4 lines
Diff to previous 1.79 (colored)

Catch up with -current.

Revision 1.80 / (download) - annotate - [select for diffs], Fri May 17 19:05:08 2002 UTC (10 years ago) by mjacob
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Changes since 1.79: +5 -4 lines
Diff to previous 1.79 (colored)

Slight touchup on last change- make sure HBA_BOTCH is set (just in case
somebody at a different level does the wrong thing) on ENOMEM/EAGAIN returns
from loading DMA.

Revision 1.79 / (download) - annotate - [select for diffs], Sun May 12 16:51:06 2002 UTC (10 years ago) by matt
Branch: MAIN
Branch point for: gehenna-devsw
Changes since 1.78: +4 -2 lines
Diff to previous 1.78 (colored)

If a dma map can't be loaded due to resource shortage, make we report that
as a resource shortage instead of a driver stuffup.

Revision 1.78 / (download) - annotate - [select for diffs], Sun Apr 28 21:32:14 2002 UTC (10 years ago) by mjacob
Branch: MAIN
Changes since 1.77: +21 -8 lines
Diff to previous 1.77 (colored)

suggestion from Jason: have (in non-verbose boot case) card type printed out
on same line as attachment line.

Revision 1.66.2.9 / (download) - annotate - [select for diffs], Mon Apr 1 07:46:31 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.66.2.8: +8 -8 lines
Diff to previous 1.66.2.8 (colored)

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

Revision 1.77 / (download) - annotate - [select for diffs], Fri Mar 22 02:34:05 2002 UTC (10 years, 2 months ago) by mjacob
Branch: MAIN
Changes since 1.76: +8 -8 lines
Diff to previous 1.76 (colored)

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.70.2.4 / (download) - annotate - [select for diffs], Sat Mar 16 16:01:15 2002 UTC (10 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.70.2.3: +16 -3 lines
Diff to previous 1.70.2.3 (colored)

Catch up with -current.

Revision 1.66.2.8 / (download) - annotate - [select for diffs], Thu Feb 28 04:14:03 2002 UTC (10 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.66.2.7: +16 -3 lines
Diff to previous 1.66.2.7 (colored)

Catch up to -current.

Revision 1.76 / (download) - annotate - [select for diffs], Thu Feb 21 22:32:43 2002 UTC (10 years, 3 months ago) by mjacob
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, ifpoll, eeh-devprop-base, eeh-devprop
Changes since 1.75: +16 -3 lines
Diff to previous 1.75 (colored)

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.70.2.3 / (download) - annotate - [select for diffs], Thu Jan 10 19:56:49 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.70.2.2: +55 -57 lines
Diff to previous 1.70.2.2 (colored)

Sync kqueue branch with -current.

Revision 1.66.2.7 / (download) - annotate - [select for diffs], Tue Jan 8 00:31:07 2002 UTC (10 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.66.2.6: +49 -58 lines
Diff to previous 1.66.2.6 (colored)

Catch up to -current.

Revision 1.75 / (download) - annotate - [select for diffs], Fri Dec 14 00:13:47 2001 UTC (10 years, 5 months ago) by mjacob
Branch: MAIN
Changes since 1.74: +49 -58 lines
Diff to previous 1.74 (colored)

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.66.2.6 / (download) - annotate - [select for diffs], Wed Nov 14 19:15:20 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.66.2.5: +4 -1 lines
Diff to previous 1.66.2.5 (colored)

Catch up to -current.

Revision 1.74 / (download) - annotate - [select for diffs], Tue Nov 13 07:48:45 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.73: +4 -1 lines
Diff to previous 1.73 (colored)

add RCSID

Revision 1.66.2.5 / (download) - annotate - [select for diffs], Mon Oct 22 20:41:24 2001 UTC (10 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.66.2.4: +5 -1 lines
Diff to previous 1.66.2.4 (colored)

Catch up to -current.

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Thu Oct 11 00:02:10 2001 UTC (10 years, 7 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.72: +5 -1 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.

Revision 1.73 / (download) - annotate - [select for diffs], Sat Oct 6 20:33:24 2001 UTC (10 years, 7 months ago) by mjacob
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3
Changes since 1.72: +5 -1 lines
Diff to previous 1.72 (colored)

Respect QLogic's errata- read BIU_ISR even on the 2300
to see if there's an interrupt (avoids PCI parity errors
which can occur on the 2312 if you access some registers
from the host at the same time the RISC on the 2312 is
accessing them).

Revision 1.66.2.4 / (download) - annotate - [select for diffs], Fri Sep 21 22:35:57 2001 UTC (10 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.66.2.3: +227 -78 lines
Diff to previous 1.66.2.3 (colored)

Catch up to -current.

Revision 1.70.2.2 / (download) - annotate - [select for diffs], Thu Sep 13 01:15:55 2001 UTC (10 years, 8 months ago) by thorpej
Branch: kqueue
Changes since 1.70.2.1: +227 -78 lines
Diff to previous 1.70.2.1 (colored)

Update the kqueue branch to HEAD.

Revision 1.72 / (download) - annotate - [select for diffs], Sat Sep 1 07:12:25 2001 UTC (10 years, 8 months ago) by mjacob
Branch: MAIN
CVS Tags: thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp
Changes since 1.71: +227 -78 lines
Diff to previous 1.71 (colored)

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.66.2.3 / (download) - annotate - [select for diffs], Fri Aug 24 00:10:12 2001 UTC (10 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.66.2.2: +12 -11 lines
Diff to previous 1.66.2.2 (colored)

Catch up with -current.

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:13:17 2001 UTC (10 years, 9 months ago) by lukem
Branch: kqueue
Changes since 1.70: +3 -2 lines
Diff to previous 1.70 (colored)

update to -current

Revision 1.71 / (download) - annotate - [select for diffs], Thu Jul 19 16:36:15 2001 UTC (10 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.70: +3 -2 lines
Diff to previous 1.70 (colored)

Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places.

Revision 1.70 / (download) - annotate - [select for diffs], Sat Jul 7 16:46:35 2001 UTC (10 years, 10 months ago) by thorpej
Branch: MAIN
Branch point for: kqueue
Changes since 1.69: +10 -10 lines
Diff to previous 1.69 (colored)

bzero -> memset

Revision 1.66.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:04:55 2001 UTC (10 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.66.2.1: +2 -2 lines
Diff to previous 1.66.2.1 (colored)

Catch up to -current.

Revision 1.69 / (download) - annotate - [select for diffs], Thu Jun 14 19:54:07 2001 UTC (10 years, 11 months ago) by mjacob
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored)

Ooops- we need to allocate an array of pointers to scsipi_xfer structures
isp_maxcmds in length- not an array of scsipi_xfer structures isp_maxcmds
in length.

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:57:02 2001 UTC (11 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.66: +32 -62 lines
Diff to previous 1.66 (colored)

Catch up with -current.

Revision 1.45.2.8 / (download) - annotate - [select for diffs], Tue Mar 27 15:32:08 2001 UTC (11 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.45.2.7: +30 -60 lines
Diff to previous 1.45.2.7 (colored) next main 1.46 (colored)

Sync with HEAD.

Revision 1.51.4.4 / (download) - annotate - [select for diffs], Fri Mar 16 19:08:42 2001 UTC (11 years, 2 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.51.4.3: +48 -78 lines
Diff to previous 1.51.4.3 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

Pull up revisions 1.62-1.63,1.66,1.68 (requested by mjacob):
  Fix pathnames in comment.  Apply -Wformat changes.
  Set default HBA role (to ISP_ROLE_INITIATOR).

Revision 1.68 / (download) - annotate - [select for diffs], Wed Mar 14 05:47:56 2001 UTC (11 years, 2 months ago) by mjacob
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.67: +30 -60 lines
Diff to previous 1.67 (colored)

Clean up licence a bit. ANSIfy.

Revision 1.45.2.7 / (download) - annotate - [select for diffs], Mon Mar 12 13:31:09 2001 UTC (11 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.45.2.6: +4 -3 lines
Diff to previous 1.45.2.6 (colored)

Sync with HEAD.

Revision 1.67 / (download) - annotate - [select for diffs], Wed Mar 7 23:07:16 2001 UTC (11 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

Add BUS_DMA_STREAMING to data transfer maps.

Revision 1.66 / (download) - annotate - [select for diffs], Mon Feb 12 23:25:20 2001 UTC (11 years, 3 months ago) by mjacob
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.65: +2 -1 lines
Diff to previous 1.65 (colored)

set default HBA role

Revision 1.51.4.3 / (download) - annotate - [select for diffs], Fri Jan 26 00:23:00 2001 UTC (11 years, 4 months ago) by jhawk
Branch: netbsd-1-5
Changes since 1.51.4.2: +0 -1 lines
Diff to previous 1.51.4.2 (colored) to branchpoint 1.51 (colored)

Back out revision 1.60 (requested by mjacob), erroneously pulled up.

Revision 1.51.4.2 / (download) - annotate - [select for diffs], Thu Jan 25 18:25:34 2001 UTC (11 years, 4 months ago) by jhawk
Branch: netbsd-1-5
Changes since 1.51.4.1: +37 -5 lines
Diff to previous 1.51.4.1 (colored) to branchpoint 1.51 (colored)

Pull up revisions 1.57-1.58, 1.60-1.61 (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.45.2.6 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:09 2001 UTC (11 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.45.2.5: +23 -23 lines
Diff to previous 1.45.2.5 (colored)

Sync with HEAD

Revision 1.65 / (download) - annotate - [select for diffs], Sat Dec 30 08:49:11 2000 UTC (11 years, 4 months ago) by mjacob
Branch: MAIN
Changes since 1.64: +6 -4 lines
Diff to previous 1.64 (colored)

Use bootverbose to now set whether or not we add
ISP_LOGCONFIG and ISP_LOGINFO messages into the
default logging mask.

Revision 1.64 / (download) - annotate - [select for diffs], Thu Dec 28 22:59:14 2000 UTC (11 years, 4 months ago) by sommerfeld
Branch: MAIN
Changes since 1.63: +2 -3 lines
Diff to previous 1.63 (colored)

Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q

Revision 1.63 / (download) - annotate - [select for diffs], Thu Dec 28 22:23:41 2000 UTC (11 years, 4 months ago) by mjacob
Branch: MAIN
Changes since 1.62: +9 -9 lines
Diff to previous 1.62 (colored)

Apply Bill Sommerfeld's -Wformat changes.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Dec 23 01:38:01 2000 UTC (11 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.61: +10 -11 lines
Diff to previous 1.61 (colored)

Fix pathnames in comment.

Revision 1.45.2.5 / (download) - annotate - [select for diffs], Wed Dec 13 15:50:09 2000 UTC (11 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.45.2.4: +21 -0 lines
Diff to previous 1.45.2.4 (colored)

Sync with HEAD (for UBC fixes).

Revision 1.61 / (download) - annotate - [select for diffs], Sat Dec 9 08:06:33 2000 UTC (11 years, 5 months ago) by mjacob
Branch: MAIN
Changes since 1.60: +22 -1 lines
Diff to previous 1.60 (colored)

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.45.2.4 / (download) - annotate - [select for diffs], Fri Dec 8 09:12:32 2000 UTC (11 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.45.2.3: +1 -0 lines
Diff to previous 1.45.2.3 (colored)

Sync with HEAD.

Revision 1.60 / (download) - annotate - [select for diffs], Wed Dec 6 06:33:56 2000 UTC (11 years, 5 months ago) by mjacob
Branch: MAIN
Changes since 1.59: +2 -1 lines
Diff to previous 1.59 (colored)

Correct omission by the previous committer.

Revision 1.45.2.3 / (download) - annotate - [select for diffs], Wed Nov 22 16:04:08 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.45.2.2: +8 -5 lines
Diff to previous 1.45.2.2 (colored)

Sync with HEAD.

Revision 1.45.2.2 / (download) - annotate - [select for diffs], Mon Nov 20 11:42:25 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.45.2.1: +386 -168 lines
Diff to previous 1.45.2.1 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Nov 14 18:42:57 2000 UTC (11 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.58: +8 -5 lines
Diff to previous 1.58 (colored)

NBPG -> PAGE_SIZE

Revision 1.58 / (download) - annotate - [select for diffs], Tue Oct 17 17:39:10 2000 UTC (11 years, 7 months ago) by mjacob
Branch: MAIN
Changes since 1.57: +2 -5 lines
Diff to previous 1.57 (colored)

quiet chatty boot messages

Revision 1.57 / (download) - annotate - [select for diffs], Mon Oct 16 05:12:26 2000 UTC (11 years, 7 months ago) by mjacob
Branch: MAIN
Changes since 1.56: +14 -1 lines
Diff to previous 1.56 (colored)

Remember to establish default PORT WWN. Add in some LOGDEBUG2 messages
for the dma mapping code.

Revision 1.51.4.1 / (download) - annotate - [select for diffs], Mon Aug 28 17:45:06 2000 UTC (11 years, 8 months ago) by mjacob
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.51: +242 -151 lines
Diff to previous 1.51 (colored)

Complete rewrite of internals for isp core version 2.0.
Pullup to netbsd-1-5 approved by thorpej@netbsd.org.

Revision 1.56 / (download) - annotate - [select for diffs], Mon Aug 14 06:58:45 2000 UTC (11 years, 9 months ago) by mjacob
Branch: MAIN
Changes since 1.55: +32 -2 lines
Diff to previous 1.55 (colored)

Add a maintenance note. Minor change in some logic in the DMA mapping.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Aug 3 03:00:04 2000 UTC (11 years, 9 months ago) by mjacob
Branch: MAIN
Changes since 1.54: +3 -1 lines
Diff to previous 1.54 (colored)

More compilation breakage in the non-DEBUG case
(from Castor Fu <castor@geocast.com>)

Revision 1.54 / (download) - annotate - [select for diffs], Wed Aug 2 17:39:50 2000 UTC (11 years, 9 months ago) by mjacob
Branch: MAIN
Changes since 1.53: +3 -1 lines
Diff to previous 1.53 (colored)

Fix bonehead bug for compiles w/o DEBUG set
(thanks to KANETA Shin'ichi <kaneta@cr.chiba-u.ac.jp>)

Revision 1.53 / (download) - annotate - [select for diffs], Tue Aug 1 23:55:14 2000 UTC (11 years, 9 months ago) by mjacob
Branch: MAIN
Changes since 1.52: +177 -139 lines
Diff to previous 1.52 (colored)

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.52 / (download) - annotate - [select for diffs], Wed Jul 5 22:12:23 2000 UTC (11 years, 10 months ago) by mjacob
Branch: MAIN
Changes since 1.51: +38 -19 lines
Diff to previous 1.51 (colored)

Use new isp_handle_index function. Redo how firmware is checked for
and loaded. Remember to enable interrupts after isp_reset but before
isp_attach. Return CMD_EAGAIN on request queue overflow so we can retry
the command when there's more queue space.

Revision 1.38.2.2 / (download) - annotate - [select for diffs], Sat May 13 17:05:50 2000 UTC (12 years ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003
Changes since 1.38.2.1: +7 -3 lines
Diff to previous 1.38.2.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

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.51 / (download) - annotate - [select for diffs], Sat Feb 19 01:54:42 2000 UTC (12 years, 3 months ago) by mjacob
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.50: +6 -2 lines
Diff to previous 1.50 (colored)

Support for > 12 byte commands for parallel SCSI.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Feb 12 02:22:37 2000 UTC (12 years, 3 months ago) by mjacob
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.49: +50 -2 lines
Diff to previous 1.49 (colored)

add (untested in NetBSD yet) Qlogic 12160 (Ultra3) suppot

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Sat Jan 8 22:44:22 2000 UTC (12 years, 4 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH002
Changes since 1.38: +274 -111 lines
Diff to previous 1.38 (colored)

Pull up revisions 1.31-1.41,1.43-1.49 (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.42.2.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:35:19 1999 UTC (12 years, 5 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.42: +177 -96 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

Pull up to last week's -current.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Dec 20 00:33:17 1999 UTC (12 years, 5 months ago) by mjacob
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.48: +2 -1 lines
Diff to previous 1.48 (colored)

get back to looking at config flags

Revision 1.48 / (download) - annotate - [select for diffs], Thu Dec 16 05:35:46 1999 UTC (12 years, 5 months ago) by mjacob
Branch: MAIN
Changes since 1.47: +67 -11 lines
Diff to previous 1.47 (colored)

Dual LVD (1280) support.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Dec 4 02:54:54 1999 UTC (12 years, 5 months ago) by mjacob
Branch: MAIN
Changes since 1.46: +34 -18 lines
Diff to previous 1.46 (colored)

request/response queues now indexed via u_int16_t. Add back in f/w inclusion
and clean up it's compilation. get chip rev out of pci header.

Revision 1.45.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:41:03 1999 UTC (12 years, 6 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.45: +13 -14 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Sync with -current

Revision 1.46 / (download) - annotate - [select for diffs], Thu Oct 28 16:11:19 1999 UTC (12 years, 7 months ago) by mjacob
Branch: MAIN
CVS Tags: fvdl-softdep-base, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.45: +13 -14 lines
Diff to previous 1.45 (colored)

Remove reference to loadable f/w.

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Wed Oct 20 20:43:20 1999 UTC (12 years, 7 months ago) by thorpej
Branch: thorpej_scsipi
Changes since 1.45: +11 -4 lines
Diff to previous 1.45 (colored)

Eliminate sleeping from adapter routines.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Oct 17 02:40:26 1999 UTC (12 years, 7 months ago) by mjacob
Branch: MAIN
Branch point for: thorpej_scsipi, fvdl-softdep
Changes since 1.44: +12 -8 lines
Diff to previous 1.44 (colored)

Oops- missed a MAXISPREQUEST sized thing- these are all gone now. It's amazing
this didn't eat me.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Oct 17 01:22:08 1999 UTC (12 years, 7 months ago) by mjacob
Branch: MAIN
Changes since 1.43: +32 -37 lines
Diff to previous 1.43 (colored)

stylistic cleanups

Revision 1.43 / (download) - annotate - [select for diffs], Thu Oct 14 02:14:35 1999 UTC (12 years, 7 months ago) by mjacob
Branch: MAIN
Changes since 1.42: +38 -28 lines
Diff to previous 1.42 (colored)

F/W version no longer relevant. Only do WWN seed for FC cards.
Now we malloc xflist and dma maps in mailbox setup routines.
We also do the appropriate endian swizzling at the end of a dma
map routine.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Sep 30 23:04:42 1999 UTC (12 years, 7 months ago) by thorpej
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.41: +6 -5 lines
Diff to previous 1.41 (colored)

Update for SCSPI changes.

Revision 1.38.4.2 / (download) - annotate - [select for diffs], Mon Aug 2 22:02:28 1999 UTC (12 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.38.4.1: +79 -25 lines
Diff to previous 1.38.4.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Update from trunk.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Jul 5 20:28:11 1999 UTC (12 years, 10 months ago) by mjacob
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.40: +79 -25 lines
Diff to previous 1.40 (colored)

Change to approved NASA/Ames copyright. Add in Qlogic 2200 support.

Revision 1.38.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:18:36 1999 UTC (12 years, 11 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.38: +43 -15 lines
Diff to previous 1.38 (colored)

Sync w/ -current.

Revision 1.40 / (download) - annotate - [select for diffs], Wed May 12 18:59:23 1999 UTC (13 years ago) by mjacob
Branch: MAIN
Changes since 1.39: +20 -11 lines
Diff to previous 1.39 (colored)

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.39 / (download) - annotate - [select for diffs], Sun Apr 4 01:14:58 1999 UTC (13 years, 1 month ago) by mjacob
Branch: MAIN
Changes since 1.38: +25 -6 lines
Diff to previous 1.38 (colored)

Read the board revision and trim cache line size back from 16 to 1
for early revision 2100 boards. Make sure to turn ROM off for these
boards.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Mar 27 01:08:59 1999 UTC (13 years, 2 months ago) by mjacob
Branch: 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
Changes since 1.37: +5 -5 lines
Diff to previous 1.37 (colored)

Oops- if you enable 1080 support, remember to load the f/w

Revision 1.37 / (download) - annotate - [select for diffs], Fri Mar 26 22:42:57 1999 UTC (13 years, 2 months ago) by mjacob
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

add isp1080 support and some basic PDB change stuff

Revision 1.36 / (download) - annotate - [select for diffs], Wed Mar 17 06:16:42 1999 UTC (13 years, 2 months ago) by mjacob
Branch: MAIN
Changes since 1.35: +195 -69 lines
Diff to previous 1.35 (colored)

prototype 1080/1240 support

Revision 1.35 / (download) - annotate - [select for diffs], Tue Feb 9 00:35:35 1999 UTC (13 years, 3 months ago) by mjacob
Branch: MAIN
Changes since 1.34: +24 -18 lines
Diff to previous 1.34 (colored)

clean up pci configuration a bit

Revision 1.34 / (download) - annotate - [select for diffs], Sat Jan 30 07:08:04 1999 UTC (13 years, 3 months ago) by mjacob
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

roll internal release tag

Revision 1.33 / (download) - annotate - [select for diffs], Sun Jan 10 03:41:47 1999 UTC (13 years, 4 months ago) by mjacob
Branch: MAIN
Changes since 1.32: +5 -5 lines
Diff to previous 1.32 (colored)

oops. Forgot to turn on PCI burst.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Dec 28 19:12:04 1998 UTC (13 years, 5 months ago) by mjacob
Branch: MAIN
Changes since 1.31: +2 -0 lines
Diff to previous 1.31 (colored)

I mean *really* clean up headers

Revision 1.31 / (download) - annotate - [select for diffs], Mon Dec 28 19:11:32 1998 UTC (13 years, 5 months ago) by mjacob
Branch: MAIN
Changes since 1.30: +0 -25 lines
Diff to previous 1.30 (colored)

clean up headers; remove early revision 2100 workarounds

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Sat Nov 7 05:55:55 1998 UTC (13 years, 6 months ago) by cgd
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003
Changes since 1.17: +111 -82 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

pull up revs 1.18-1.30 from trunk, and patch to make functional in
1.3.x.  (mjacob)

Revision 1.30 / (download) - annotate - [select for diffs], Thu Sep 17 23:10:20 1998 UTC (13 years, 8 months ago) by mjacob
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored)

dma setup now returns CMD_QUEUED or CMD_COMPLETE. Clarify a ternary
operation that needed some parentheses.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Sep 8 07:16:46 1998 UTC (13 years, 8 months ago) by mjacob
Branch: MAIN
Changes since 1.28: +6 -9 lines
Diff to previous 1.28 (colored)

Remove clocks as common code now can determine what clock rates to use.

Remove other than 8 byte bursts- until we clarify whether or not buggy
PCI implementatiosn really cause problems.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Aug 12 00:03:23 1998 UTC (13 years, 9 months ago) by mjacob
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

minor change to make the message less linux like

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Sat Aug 8 03:06:49 1998 UTC (13 years, 9 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.25: +21 -5 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Revert cdevsw mmap routines to return int.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jul 31 02:14:40 1998 UTC (13 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.26: +14 -1 lines
Diff to previous 1.26 (colored)

Back out part of previous; it is perfectly reasonable, and desirable, to
print out debugging info ifdef DEBUG.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jul 31 02:08:16 1998 UTC (13 years, 9 months ago) by mjacob
Branch: MAIN
Changes since 1.25: +21 -18 lines
Diff to previous 1.25 (colored)

Part A (Cosmetic nonsense):
>We're not Linux.  If we still want driver version strings to be displayed
>at boot, then I suppose DEBUG is a reasonable compromise.
Makes the whole concept useless. This is for default printouts. If you
can build a debug kernel, you know what version you have. This was under
the concept of 'RAS' so that hapless users could tell you microversion
things. But I guess this isn't the right way according to our local
Jesuits. Oh, well. I'll think up something different and hopefully
less objectionable. And yes, NetBSD isn't linux. The developers seem
to be equally bad tempered, but linux is more successful.

Part B:
Field interrupts in OS layer so that (in this OS) bus_dmamap_sync(POSTREAD)
can (formally) ensure that the result queue is stable wrt to buffering
and that for sending a command a bus_dmamap_sync(PREWRITE) is done to
ensure that the device gets a good view of what the mailbox contents
should be.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Jul 20 21:17:30 1998 UTC (13 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.24: +3 -1 lines
Diff to previous 1.24 (colored)

Oops, unused variable warning.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jul 20 21:16:52 1998 UTC (13 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.23: +3 -1 lines
Diff to previous 1.23 (colored)

We're not Linux.  If we still want driver version strings to be displayed
at boot, then I suppose DEBUG is a reasonable compromise.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jul 18 21:04:22 1998 UTC (13 years, 10 months ago) by mjacob
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22 (colored)

fix bogus initialization

Revision 1.22 / (download) - annotate - [select for diffs], Sat Jul 18 21:02:42 1998 UTC (13 years, 10 months ago) by mjacob
Branch: MAIN
Changes since 1.21: +12 -3 lines
Diff to previous 1.21 (colored)

locking now out of main framework for isp_reset/isp_init

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jul 15 19:53:57 1998 UTC (13 years, 10 months ago) by mjacob
Branch: MAIN
Changes since 1.20: +66 -65 lines
Diff to previous 1.20 (colored)

no framework

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jun 8 06:55:57 1998 UTC (13 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +1 -9 lines
Diff to previous 1.19 (colored)

Nuke __BROKEN_INDIRECT_CONFIG.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Feb 4 05:14:56 1998 UTC (14 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +5 -3 lines
Diff to previous 1.18 (colored)

Add offset and length parameters to bus_dmamap_sync(), used for specifiying
partial syncs of a DMA mapping.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Feb 4 00:38:52 1998 UTC (14 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)

Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
BUS_DMA_COHERENT.

Revision 1.14.4.3 / (download) - annotate - [select for diffs], Tue Sep 16 03:50:40 1997 UTC (14 years, 8 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.14.4.2: +7 -6 lines
Diff to previous 1.14.4.2 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Sep 10 02:16:13 1997 UTC (14 years, 8 months ago) by mjacob
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, marc-pcmcia-base
Branch point for: netbsd-1-3
Changes since 1.16: +7 -6 lines
Diff to previous 1.16 (colored)

For the 2100- the flags weren't quite right- but things worked anyway. Wierd.

Revision 1.14.4.2 / (download) - annotate - [select for diffs], Wed Aug 27 23:32:37 1997 UTC (14 years, 9 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.14.4.1: +8 -7 lines
Diff to previous 1.14.4.1 (colored) to branchpoint 1.14 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Aug 27 11:25:23 1997 UTC (14 years, 9 months ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal
Changes since 1.15: +8 -7 lines
Diff to previous 1.15 (colored)

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.14.2.2 / (download) - annotate - [select for diffs], Tue Aug 26 15:20:38 1997 UTC (14 years, 9 months ago) by bouyer
Branch: bouyer-scsipi
Changes since 1.14.2.1: +190 -40 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Update from trunk.

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Sat Aug 23 07:13:58 1997 UTC (14 years, 9 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.14: +190 -40 lines
Diff to previous 1.14 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Aug 16 00:28:10 1997 UTC (14 years, 9 months ago) by mjacob
Branch: MAIN
Changes since 1.14: +190 -40 lines
Diff to previous 1.14 (colored)

Major rework to support Qlogic ISP2100 (Fibre Channel PCI card). Also now
able to read SXP registers (instead of panicing). Probably have done a bit
of setup overkill- we now alloc some scratch memory for the 2100 that I thought
I would need for the Port database, but so far I haven't needed to retrieve
the port database. Well, early days yet.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Tue Jul 1 17:35:35 1997 UTC (14 years, 10 months ago) by bouyer
Branch: bouyer-scsipi
Changes since 1.14: +8 -7 lines
Diff to previous 1.14 (colored)

Updates for new scsipi subsystem. Actally known to work on i386 and sparc.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jun 8 22:15:34 1997 UTC (14 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: marc-pcmcia-bp
Branch point for: marc-pcmcia, bouyer-scsipi
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Fix pasto: sbus -> pci

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jun 8 06:34:52 1997 UTC (14 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +123 -85 lines
Diff to previous 1.12 (colored)

- Update for changes to core ISP driver.
- Convert to use bus dma, greatly simplifying DMA setup.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Apr 13 20:14:32 1997 UTC (15 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

rename pci_map_register to pci_mapreg_map.  The latter name is more
descriptive, and allows for a sane name for a function which just digs
the info out of the mapping register but doesn't do the mapping.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Apr 13 19:48:18 1997 UTC (15 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.10: +18 -24 lines
Diff to previous 1.10 (colored)

use pci_map_register().  map both mem and I/O spaces, preferring mem
space if it's usable, but falling back to I/O space if mem isn't usable.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Apr 5 02:55:28 1997 UTC (15 years, 1 month ago) by mjacob
Branch: MAIN
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)

Add 60 (MHz) value for PCI clock frequency value. Also enable DMA bursting.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Mar 28 22:25:01 1997 UTC (15 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.8: +6 -9 lines
Diff to previous 1.8 (colored)

clean up (unify) the register mapping code a bit

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 28 22:16:06 1997 UTC (15 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.7: +2 -3 lines
Diff to previous 1.7 (colored)

punt pci_mem_find's &cacheable arg, and pass NULL instead.  We never
want to map the memory register cacheable.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Mar 28 21:51:51 1997 UTC (15 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

clean up isp_pci_prefer_io comment

Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 16 00:37:00 1997 UTC (15 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.5: +38 -18 lines
Diff to previous 1.5 (colored)

map either via memory or I/O space, depending on the setting of a
patchable kernel variable.  eventually, it might make sense to turn
this into a driver flag or something.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Mar 13 04:07:47 1997 UTC (15 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

change microcode array definitions from "unsigned short" to the more
correct u_int16_t, and remove bogus casts that the old definition
required.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Mar 13 03:33:07 1997 UTC (15 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Make the microcode table const.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 13 01:56:06 1997 UTC (15 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.2: +4 -3 lines
Diff to previous 1.2 (colored)

include <vm/vm.h> for vtophys() on x86.  kill extra <sys/kernel.h> incl.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Mar 12 21:07:16 1997 UTC (15 years, 2 months ago) by cgd
Branch: MAIN
CVS Tags: is-newarp-before-merge
Changes since 1.1: +1 -2 lines
Diff to previous 1.1 (colored)

NetBSD RCS ID tweaks, a few comment block tweaks.  Also, make copyright
notices consistent (per Matt Jacob).

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Mar 12 20:44:52 1997 UTC (15 years, 2 months ago) by cgd
Branch: mjacob
CVS Tags: mjacob-isp10x0-970312
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

ISP 10x0 driver from Matthew Jacob of NASA Ames Research Center.
(March 12, 1997 version).

Revision 1.1 / (download) - annotate - [select for diffs], Wed Mar 12 20:44:52 1997 UTC (15 years, 2 months ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>