Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: source-changes
Date: 12/04/2007 18:47:54
Module Name:	src
Committed By:	xtraeme
Date:		Tue Dec  4 18:47:54 UTC 2007

Modified Files:
	src/distrib/sets/lists/man: mi
	src/doc: CHANGES
	src/share/man/man4: Makefile
	src/sys/dev/pci: files.pci
Added Files:
	src/share/man/man4: arc.4
	src/sys/dev/pci: arc.c arcvar.h

Log Message:
Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume  Status               Size Device
 arc0 0 Online               466G ARC-1210-VOL#00 RAID0
      0 Online               234G 0:0.0   noencl <WDC WD2500YS-01SHB1 20.06C06>
      1 Online               234G 0:1.0   noencl <WDC WD2500YS-01SHB1 20.06C06>
 arc0 1 Online               466G ARC-1210-VOL#01 RAID0
      0 Online               234G 0:2.0   noencl <WDC WD2500YS-01SHB1 20.06C06>
      1 Online               234G 0:3.0   noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.


To generate a diff of this commit:
cvs rdiff -r1.1040 -r1.1041 src/distrib/sets/lists/man/mi
cvs rdiff -r1.958 -r1.959 src/doc/CHANGES
cvs rdiff -r1.449 -r1.450 src/share/man/man4/Makefile
cvs rdiff -r0 -r1.1 src/share/man/man4/arc.4
cvs rdiff -r0 -r1.1 src/sys/dev/pci/arc.c src/sys/dev/pci/arcvar.h
cvs rdiff -r1.296 -r1.297 src/sys/dev/pci/files.pci

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.