The NetBSD Project

CVS log for src/sys/dev/pci/arcmsrvar.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13.26.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:03 2011 UTC (11 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.13: +8 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Jun 20 13:26:58 2011 UTC (11 months ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, 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, HEAD
Changes since 1.13: +8 -2 lines
Diff to previous 1.13 (colored)

Maintain our own storage for volume and disk ID info rather than
(ab)using envstat's storage.

XXX Compile-tested only.

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:54 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.12: +6 -6 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

sync with head.

Revision 1.12.12.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:37 2008 UTC (3 years, 7 months ago) by haad
Branch: haad-dm
Changes since 1.12: +6 -6 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with HEAD.

Revision 1.12.6.1 / (download) - annotate - [select for diffs], Fri Oct 10 22:32:16 2008 UTC (3 years, 7 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.12: +6 -6 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with HEAD.

Revision 1.8.10.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:25 2008 UTC (3 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.8.10.2: +5 -5 lines
Diff to previous 1.8.10.2 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.8.4.4 / (download) - annotate - [select for diffs], Wed Sep 24 17:25:23 2008 UTC (3 years, 8 months ago) by bouyer
Branch: netbsd-4
Changes since 1.8.4.3: +6 -6 lines
Diff to previous 1.8.4.3 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Pull up following revision(s) (requested by christos in ticket #1205):
	sys/dev/pci/arcmsrvar.h: revision 1.13
	sys/dev/pci/arcmsr.c: revision 1.22
PR/39583: Brad du Plessis: acrmsr(4) driver doesn't report number of
volumes correctly
to bioctl(8)
PR/39584: Juan RP: arcmsr(4) driver disk state values are incorrect (for
ARC-1220)

Revision 1.13 / (download) - annotate - [select for diffs], Tue Sep 23 22:22:41 2008 UTC (3 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, wrstuden-revivesa-base-4, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, 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-premerge-20091211, 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-premerge-20101231, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base, ad-audiomp2
Branch point for: cherry-xenmp
Changes since 1.12: +6 -6 lines
Diff to previous 1.12 (colored)

PR/39583: Brad du Plessis: acrmsr(4) driver doesn't report number of volumes correctly
to bioctl(8)
PR/39584: Juan RP: arcmsr(4) driver disk state values are incorrect (for ARC-1220)

Revision 1.12.8.3 / (download) - annotate - [select for diffs], Thu Sep 4 08:46:44 2008 UTC (3 years, 8 months ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.12.8.2: +6 -3 lines
Diff to previous 1.12.8.2 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Sync with netbsd-4.

Revision 1.8.4.3 / (download) - annotate - [select for diffs], Fri Aug 29 21:24:19 2008 UTC (3 years, 8 months ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Changes since 1.8.4.2: +6 -3 lines
Diff to previous 1.8.4.2 (colored) to branchpoint 1.8 (colored)

Apply patch, requested by christos in tickets #1175:
	sys/dev/bio.c				patch
	sys/dev/biovar.h			patch
	sys/dev/pci/arcmsr.c			patch
	sys/dev/pci/arcmsrvar.h			patch
	sbin/bioctl/Makefile			patch
	sbin/bioctl/bioctl.8			patch
	sbin/bioctl/bioctl.c			patch
	sbin/bioctl/dehumanize_number.c		patch
	sbin/bioctl/strtonum.c			patch
	sbin/bioctl/strtonum.h			patch

Port bioctl(8) and arcmsr(4) from current:
bioctl(8): Rewritten to handle new features like creating/removing
	hot-spare, pass-through disks and RAID volumes, start/stop
	consistency checks in volumes and others.
arcmsr(4): Added support to create/remove hot-spare, pass-through
	disks and RAID volumes, start/stop consistency checks
	in volumes as well as showing information about physical
	disks (even if they are marked as hot-spare, pass-through
	or unused).

Revision 1.12.8.2 / (download) - annotate - [select for diffs], Tue Jun 3 20:47:24 2008 UTC (3 years, 11 months ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.12.8.1: +521 -0 lines
Diff to previous 1.12.8.1 (colored) to branchpoint 1.12 (colored)

Sync with netbsd-4.

Revision 1.8.10.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:36 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.8.10.1: +1 -0 lines
Diff to previous 1.8.10.1 (colored) to branchpoint 1.8 (colored)

Sync with HEAD.

Revision 1.12.8.1, Thu Apr 3 13:59:01 2008 UTC (4 years, 1 month ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.12: +0 -529 lines
FILE REMOVED

file arcmsrvar.h was added on branch wrstuden-fixsa on 2008-06-03 20:47:24 +0000

Revision 1.12 / (download) - annotate - [select for diffs], Thu Apr 3 13:59:01 2008 UTC (4 years, 1 month ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa, wrstuden-fixsa, haad-dm
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Add ARC_FW_DISK_INITIALIZED flag for device_state and do not treat
it as unknown; in this state the disk is correctly working so set it
as online.

Also remove some bogus htole32() for diskinfo->device_state.

This should fix PR kern/38299 by Hiroyuki Bessho.

Revision 1.8.10.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:48 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.8: +10 -9 lines
Diff to previous 1.8 (colored)

Sync with HEAD.

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:47 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.8: +10 -9 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with head.

Revision 1.8.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:44 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.8.2.2: +10 -9 lines
Diff to previous 1.8.2.2 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

sync with HEAD

Revision 1.4.2.4 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:10 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.2.3: +10 -9 lines
Diff to previous 1.4.2.3 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Mar 5 15:03:36 2008 UTC (4 years, 2 months ago) by xtraeme
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.10: +6 -6 lines
Diff to previous 1.10 (colored)

Split device_t/softc, and other related cosmetic changes.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Feb 29 17:45:04 2008 UTC (4 years, 2 months ago) by xtraeme
Branch: MAIN
Changes since 1.9: +5 -2 lines
Diff to previous 1.9 (colored)

If a disk has been disconnected in a volume set, mark it as offline
and put it on another bus and print "disk missing"... the OpenBSD driver
does that but I forgot to re-add it.

Also save some values provided by the firmware in the softc and use them
in the bio(4) ioctls, this speeds up considerably bioctl(8) and avoids
so many firmware commands every time we want the current status.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Feb 28 16:47:53 2008 UTC (4 years, 2 months ago) by xtraeme
Branch: MAIN
Changes since 1.8: +1 -3 lines
Diff to previous 1.8 (colored)

Register a sensor per disk connected to a valid volume, so that we
can get more details if state on a disk or volume has changed,
previously only state about the volume was available.

You'll see something like this with envstat(8) now:

$ envstat -darcmsr0
RAID 5 volume0 (sd0):   building
 disk0 volume0 (sd0):     online
 disk1 volume0 (sd0):     online
 disk2 volume0 (sd0):     online
 disk3 volume0 (sd0):     online
$

Convert the driver to use pmf(9) and register a shutdown power handler
via pmf_device_register1() that was added recently.

Misc cosmetics tweaks while I'm here.

Revision 1.5.4.4 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:55 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.5.4.3: +92 -9 lines
Diff to previous 1.5.4.3 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Sync with HEAD.

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Mon Jan 21 09:43:36 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.2.2: +118 -8 lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored)

sync with head

Revision 1.8.4.2 / (download) - annotate - [select for diffs], Fri Jan 11 17:03:17 2008 UTC (4 years, 4 months ago) by xtraeme
Branch: netbsd-4
Changes since 1.8.4.1: +521 -0 lines
Diff to previous 1.8.4.1 (colored) to branchpoint 1.8 (colored)

Pull up following revision(s) (requested by christos in ticket #1037):
	sys/dev/pci/arcmsr.c: patch
	sys/dev/pci/arcmsrvar.h: patch
	sys/dev/pci/pcidevs: patch
	sys/dev/pci/files.pci: patch
	sys/arch/i386/conf/GENERIC: patch
	sys/arch/i386/conf/XEN2_DOM0: patch
	sys/arch/i386/conf/INSTALL_LARGE: patch
	sys/arch/amd64/conf/GENERIC: patch
	sys/arch/amd64/conf/INSTALL: patch
	share/man/man4/Makefile: patch
	share/man/man4/arcmsr.4: patch
	distrib/sets/lists/man/mi: patch

Add the Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:53:33 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.8.2.1: +527 -0 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored)

sync with HEAD

Revision 1.6.6.1 / (download) - annotate - [select for diffs], Tue Jan 8 22:11:10 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.6: +92 -9 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Sync with HEAD

Revision 1.8.4.1, Thu Jan 3 21:28:11 2008 UTC (4 years, 4 months ago) by xtraeme
Branch: netbsd-4
Changes since 1.8: +0 -527 lines
FILE REMOVED

file arcmsrvar.h was added on branch netbsd-4 on 2008-01-11 17:03:17 +0000

Revision 1.8.2.1, Thu Jan 3 21:28:11 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.8: +0 -527 lines
FILE REMOVED

file arcmsrvar.h was added on branch matt-armv6 on 2008-01-09 01:53:33 +0000

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jan 3 21:28:11 2008 UTC (4 years, 4 months ago) by xtraeme
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: netbsd-4, mjf-devfs2, matt-armv6, keiichi-mipv6
Changes since 1.7: +12 -12 lines
Diff to previous 1.7 (colored)

Fix indentation.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jan 2 23:48:05 2008 UTC (4 years, 4 months ago) by xtraeme
Branch: MAIN
Changes since 1.6: +91 -8 lines
Diff to previous 1.6 (colored)

New functionality for arcmsr(4) native management via bioctl(8):

Added support to create/remove hot-spare, pass-through disks.
Added support to create/remove volume sets.
Added support to show information about physical disks, even if they
are marked unused, hot-spares or pass-through.

sd(4) devices are attached/detached automagically when a pass-through
disk or volume set is created/removed... thanks scsipi(9) and cube@
for hints.

Revision 1.5.4.3 / (download) - annotate - [select for diffs], Thu Dec 27 00:45:14 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.5.4.2: +28 -1 lines
Diff to previous 1.5.4.2 (colored) to branchpoint 1.5 (colored)

Sync with HEAD.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Wed Dec 26 21:39:27 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.5.2.2: +28 -1 lines
Diff to previous 1.5.2.2 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

Sync with head.

Revision 1.6.4.2 / (download) - annotate - [select for diffs], Sun Dec 9 19:37:53 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.6.4.1: +444 -0 lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Sync with HEAD.

Revision 1.6.4.1, Sun Dec 9 00:24:46 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.6: +0 -444 lines
FILE REMOVED

file arcmsrvar.h was added on branch jmcneill-pm on 2007-12-09 19:37:53 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Sun Dec 9 00:24:46 2007 UTC (4 years, 5 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: jmcneill-pm, bouyer-xeni386
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Erm fix some defines in previous...

Revision 1.5.4.2 / (download) - annotate - [select for diffs], Sat Dec 8 18:19:41 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.5.4.1: +417 -0 lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored)

Sync with HEAD.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Sat Dec 8 17:57:26 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.5.2.1: +417 -0 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored)

Sync with head.

Revision 1.5.4.1, Sat Dec 8 16:53:19 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.5: +0 -444 lines
FILE REMOVED

file arcmsrvar.h was added on branch mjf-devfs on 2007-12-08 18:19:41 +0000

Revision 1.5.2.1, Sat Dec 8 16:53:19 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.5: +0 -444 lines
FILE REMOVED

file arcmsrvar.h was added on branch vmlocking2 on 2007-12-08 17:57:26 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Sat Dec 8 16:53:19 2007 UTC (4 years, 5 months ago) by xtraeme
Branch: MAIN
CVS Tags: reinoud-bufcleanup-nbase
Branch point for: vmlocking2, mjf-devfs
Changes since 1.4: +28 -1 lines
Diff to previous 1.4 (colored)

Add some more firmware command/status codes from the freebsd driver.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Fri Dec 7 17:30:23 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.2.1: +417 -0 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored)

sync with head

Revision 1.4.2.1, Wed Dec 5 18:58:00 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4: +0 -417 lines
FILE REMOVED

file arcmsrvar.h was added on branch yamt-lazymbuf on 2007-12-07 17:30:23 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Wed Dec 5 18:58:00 2007 UTC (4 years, 5 months ago) by xtraeme
Branch: MAIN
CVS Tags: vmlocking2-base2, reinoud-bufcleanup-base
Branch point for: yamt-lazymbuf
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

Boh! I spoke too soon before, without the rwlock(9) sometimes
arc_wait() waits forever, so put it back until I figure any other way
to remove the rwlock(9).

Revision 1.3 / (download) - annotate - [select for diffs], Wed Dec 5 18:07:34 2007 UTC (4 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

Make it use mutex(9) and condvar(9), bye bye spl(9) and tsleep(9).

Fully stable with all debugging options turned on, unless someday any
problem appears :-)

Revision 1.2 / (download) - annotate - [select for diffs], Wed Dec 5 16:02:26 2007 UTC (4 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.1: +1 -2 lines
Diff to previous 1.1 (colored)

- arc_msgbuf: free wbuf and rbuf with the correct type (M_TEMP vs M_DEVBUF)
  this fixes a panic with debugging options.
- Do not use a callout to refresh sensor data, and make it available
  every time someone requests it.
- Enable ENVSYS_FMONSTCHANGED for notifications in the volumes.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Dec 5 00:18:07 2007 UTC (4 years, 5 months ago) by xtraeme
Branch: MAIN

Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.

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>