The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.26.6.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.26: +36 -25 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Jun 20 22:03:16 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.29: +6 -2 lines
Diff to previous 1.29 (colored)

Initialize current value for ENVSYS_DRIVE sensors

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jun 20 17:29:06 2011 UTC (11 months ago) by pgoyette
Branch: MAIN
Changes since 1.28: +5 -2 lines
Diff to previous 1.28 (colored)

Initialize sensors states before registering.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jun 20 13:26:58 2011 UTC (11 months ago) by pgoyette
Branch: MAIN
Changes since 1.27: +29 -25 lines
Diff to previous 1.27 (colored)

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

XXX Compile-tested only.

Revision 1.23.2.3 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:15 2011 UTC (11 months, 2 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.23.2.2: +3 -3 lines
Diff to previous 1.23.2.2 (colored) next main 1.24 (colored)

sync with head

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

Sync with HEAD.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Jun 4 13:25:56 2011 UTC (11 months, 3 weeks ago) by pgoyette
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Changes since 1.26: +5 -5 lines
Diff to previous 1.26 (colored)

Update to use the new name for the sensor's private data.

XXX This driver still uses the sensor's value_min for an unrelated
XXX purpose, but changing that will have to wait for another day.

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

sync with head

Revision 1.26 / (download) - annotate - [select for diffs], Sat Nov 13 13:52:05 2010 UTC (18 months, 1 week ago) by uebayasi
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, jruoho-x86intr-base, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr, cherry-xenmp
Changes since 1.25: +2 -4 lines
Diff to previous 1.25 (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.20.4.2 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:42 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.20.4.1: +10 -5 lines
Diff to previous 1.20.4.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

sync with head.

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

sync with head

Revision 1.22.14.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:29 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.22: +10 -5 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with HEAD.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Apr 3 17:54:24 2010 UTC (2 years, 1 month ago) by jruoho
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.24: +10 -4 lines
Diff to previous 1.24 (colored)

Only unregister the sensors if these were successfully installed;
sysmon_envsys_unregister() does not check for NULL pointers gracefully.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Apr 3 14:19:17 2010 UTC (2 years, 1 month ago) by pgoyette
Branch: MAIN
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored)

If we're detaching the device, make sure we unregister the sensors.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Mar 14 18:07:01 2010 UTC (2 years, 2 months ago) by pgoyette
Branch: MAIN
Branch point for: rmind-uvmplock
Changes since 1.22: +2 -4 lines
Diff to previous 1.22 (colored)

Remove setting of edata->monitor since that member no longer exists.

Revision 1.20.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.20: +12 -8 lines
Diff to previous 1.20 (colored)

sync with head.

Revision 1.21.2.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.21: +10 -6 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with HEAD.

Revision 1.20.6.2 / (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.20.6.1: +10 -6 lines
Diff to previous 1.20.6.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Sync with HEAD.

Revision 1.9.10.4 / (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.9.10.3: +8 -4 lines
Diff to previous 1.9.10.3 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Sync with HEAD.

Revision 1.9.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.9.4.3: +10 -6 lines
Diff to previous 1.9.4.3 (colored) to branchpoint 1.9 (colored) next main 1.10 (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.22 / (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, wrstuden-revivesa-base-4, uebayasi-xip-base, 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-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: uebayasi-xip
Changes since 1.21: +10 -6 lines
Diff to previous 1.21 (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.20.6.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:35:05 2008 UTC (3 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.20.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.20.8.2: +468 -42 lines
Diff to previous 1.20.8.2 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Sync with netbsd-4.

Revision 1.9.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.9.4.2: +468 -42 lines
Diff to previous 1.9.4.2 (colored) to branchpoint 1.9 (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.9.10.3 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:08 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.9.10.2: +2 -2 lines
Diff to previous 1.9.10.2 (colored) to branchpoint 1.9 (colored)

Sync with HEAD.

Revision 1.20.10.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:21 2008 UTC (3 years, 10 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync with head.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jun 24 10:14:41 2008 UTC (3 years, 11 months ago) by gmcgarry
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

Replace gcc variadic macros with c99 variadic macros.

Revision 1.20.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.20.8.1: +1487 -0 lines
Diff to previous 1.20.8.1 (colored) to branchpoint 1.20 (colored)

Sync with netbsd-4.

Revision 1.9.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.9.10.1: +3 -2 lines
Diff to previous 1.9.10.1 (colored) to branchpoint 1.9 (colored)

Sync with HEAD.

Revision 1.20.8.1, Thu Apr 3 13:59:00 2008 UTC (4 years, 1 month ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.20: +0 -2125 lines
FILE REMOVED

file arcmsr.c was added on branch wrstuden-fixsa on 2008-06-03 20:47:23 +0000

Revision 1.20 / (download) - annotate - [select for diffs], Thu Apr 3 13:59:00 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-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa, wrstuden-fixsa, simonb-wapbl
Changes since 1.19: +5 -4 lines
Diff to previous 1.19 (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.9.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.9: +290 -158 lines
Diff to previous 1.9 (colored)

Sync with HEAD.

Revision 1.9.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.9: +290 -158 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.9.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.9.2.2: +290 -158 lines
Diff to previous 1.9.2.2 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

sync with HEAD

Revision 1.8.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.8.2.3: +290 -158 lines
Diff to previous 1.8.2.3 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

sync with head.

Revision 1.19 / (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.18: +81 -92 lines
Diff to previous 1.18 (colored)

Split device_t/softc, and other related cosmetic changes.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Mar 3 14:57:22 2008 UTC (4 years, 2 months ago) by xtraeme
Branch: MAIN
Changes since 1.17: +22 -8 lines
Diff to previous 1.17 (colored)

Detect and initialize correctly RAID 1+0 levels.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Mar 1 16:33:29 2008 UTC (4 years, 2 months ago) by xtraeme
Branch: MAIN
Changes since 1.16: +20 -3 lines
Diff to previous 1.16 (colored)

RAID 1/1+0 volumes may only be created with foreground initialization,
use the quick_init member in the ARC_FW_CREATE_VOLUME command code.

You can now create RAID 1/1+0 volumes through bioctl(8), but only one
volume will be initialized; the other ones that need initialization will
wait until the first is done.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Mar 1 13:56:46 2008 UTC (4 years, 2 months ago) by xtraeme
Branch: MAIN
Changes since 1.15: +6 -2 lines
Diff to previous 1.15 (colored)

arc_create_sensors: if there are no valid volumes (all passthru volumes),
just exit from the kthread.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Feb 29 18:15:41 2008 UTC (4 years, 2 months ago) by xtraeme
Branch: MAIN
Changes since 1.14: +17 -13 lines
Diff to previous 1.14 (colored)

arc_bio_inq: ask the firmware only once for the ARC_FW_SYSINFO
command code and use the softc values on the next bio requests.

Revision 1.14 / (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.13: +38 -29 lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Fri Feb 29 12:56:03 2008 UTC (4 years, 2 months ago) by xtraeme
Branch: MAIN
Changes since 1.12: +6 -2 lines
Diff to previous 1.12 (colored)

arc_refresh_sensors: show rebuilding status.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Feb 29 12:37:43 2008 UTC (4 years, 2 months ago) by xtraeme
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

arc_bio_disk_novol: don't forget to free diskinfo if arc_msgbuf
returns an error.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Feb 28 21:08:45 2008 UTC (4 years, 2 months ago) by xtraeme
Branch: MAIN
Changes since 1.10: +4 -3 lines
Diff to previous 1.10 (colored)

If pmf_device_register1() fails for some reason, make it panic(9)
rather than printing an error. The shutdown handler is mandatory on
this driver to flush controller's cache or stopping background
rebuilds.

Revision 1.10 / (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.9: +130 -40 lines
Diff to previous 1.9 (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.8.6.3 / (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.8.6.2: +546 -93 lines
Diff to previous 1.8.6.2 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.8.2.3 / (download) - annotate - [select for diffs], Mon Jan 21 09:43:35 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8.2.2: +546 -93 lines
Diff to previous 1.8.2.2 (colored) to branchpoint 1.8 (colored)

sync with head

Revision 1.9.4.2 / (download) - annotate - [select for diffs], Fri Jan 11 17:03:16 2008 UTC (4 years, 4 months ago) by xtraeme
Branch: netbsd-4
Changes since 1.9.4.1: +1487 -0 lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (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.9.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.9.2.1: +1992 -0 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored)

sync with HEAD

Revision 1.8.12.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.8: +546 -93 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with HEAD

Revision 1.9.4.1, Wed Jan 2 23:48:05 2008 UTC (4 years, 4 months ago) by xtraeme
Branch: netbsd-4
Changes since 1.9: +0 -1992 lines
FILE REMOVED

file arcmsr.c was added on branch netbsd-4 on 2008-01-11 17:03:16 +0000

Revision 1.9.2.1, Wed Jan 2 23:48:05 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.9: +0 -1992 lines
FILE REMOVED

file arcmsr.c was added on branch matt-armv6 on 2008-01-09 01:53:32 +0000

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jan 2 23:48:05 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.8: +546 -93 lines
Diff to previous 1.8 (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.8.10.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.8.10.1: +1539 -0 lines
Diff to previous 1.8.10.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.8.6.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.8.6.1: +1539 -0 lines
Diff to previous 1.8.6.1 (colored) to branchpoint 1.8 (colored)

Sync with HEAD.

Revision 1.8.4.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.8.4.1: +1539 -0 lines
Diff to previous 1.8.4.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Sync with head.

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

sync with head

Revision 1.8.10.1, Fri Dec 7 11:51:21 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.8: +0 -1539 lines
FILE REMOVED

file arcmsr.c was added on branch jmcneill-pm on 2007-12-09 19:37:52 +0000

Revision 1.8.6.1, Fri Dec 7 11:51:21 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.8: +0 -1539 lines
FILE REMOVED

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

Revision 1.8.4.1, Fri Dec 7 11:51:21 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.8: +0 -1539 lines
FILE REMOVED

file arcmsr.c was added on branch vmlocking2 on 2007-12-08 17:57:25 +0000

Revision 1.8.2.1, Fri Dec 7 11:51:21 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.8: +0 -1539 lines
FILE REMOVED

file arcmsr.c was added on branch yamt-lazymbuf on 2007-12-07 17:30:22 +0000

Revision 1.8 / (download) - annotate - [select for diffs], Fri Dec 7 11:51:21 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, vmlocking2-base2, reinoud-bufcleanup-nbase, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: yamt-lazymbuf, vmlocking2, mjf-devfs, jmcneill-pm, bouyer-xeni386
Changes since 1.7: +9 -2 lines
Diff to previous 1.7 (colored)

Add BIOC_SVMIGRATING to bio(4) and bioctl(8) to report if a volume
is migrating currently showing the percentage.

Update arcmsr(4) to report this, like:

$ sudo ./bioctl -h arcmsr0
    Volume Status     Size Device
 arcmsr0 0 Migrating  698G ARC-1210-VOL#00 RAID 5 7% done
	 0 Online     234G 0:0.0   noencl <WDC WD2500YS-01SHB1 20.06C06>
	 1 Online     234G 0:1.0   noencl <WDC WD2500YS-01SHB1 20.06C06>
	 2 Online     234G 0:2.0   noencl <WDC WD2500YS-01SHB1 20.06C06>
	 3 Online     234G 0:3.0   noencl <WDC WD2500YS-01SHB1 20.06C06>
$

Revision 1.7 / (download) - annotate - [select for diffs], Fri Dec 7 08:50:36 2007 UTC (4 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.6: +64 -84 lines
Diff to previous 1.6 (colored)

- Improve the locking based in comments from ad@.
- malloc(9) -> kmem(9) now that most of the bio code doesn't need to run
  on interrupt context.
- Reduce code that runs in interrupt context to a small part in
  arc_msgbuf() and is protected by arc_lock()/arc_unlock().

Reviewed and help by ad@.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Dec 5 23:20:27 2007 UTC (4 years, 5 months ago) by gmcgarry
Branch: MAIN
CVS Tags: reinoud-bufcleanup-base
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Fix locking botch.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Dec 5 18:58:00 2007 UTC (4 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.4: +7 -3 lines
Diff to previous 1.4 (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.4 / (download) - annotate - [select for diffs], Wed Dec 5 18:25:53 2007 UTC (4 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Use SCSIPI_CHAN_NOSETTLE... the driver doesn't have to wait.

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: +49 -37 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:25 2007 UTC (4 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.1: +41 -48 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>