Subject: Support for Silicon Image 3114 4-port SATA controller
To: None <current-users@netbsd.org>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: current-users
Date: 12/19/2003 19:56:36
--Apple-Mail-7--903883478
Content-Type: multipart/mixed; boundary=Apple-Mail-6--903883482


--Apple-Mail-6--903883482
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

Folks...

I just checked in changes to the satalink(4) driver to support the 3114 
4-port SATA controller from Silicon Image.  The 3114 is basically an 
extension of the 2-port 3112 controller.  It supports master/slave 
emulation, but it also supports a more efficient 4-channel mode, which 
is how my code uses the device.  This mode allows all 4 channels to 
operate truly independent of one another, which means better 
performance.

Attached is an example of the boot messages you're likely to see with 
such a controller installed with 4 drives connected.

All you 3114 owners, consider this my Christmas present to you :-)

Cheers.

         -- Jason R. Thorpe <thorpej@wasabisystems.com>

--Apple-Mail-6--903883482
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	x-unix-mode=0644;
	name="sii3114.txt"
Content-Disposition: attachment;
	filename=sii3114.txt

...
satalink0 at pci2 dev 2 function 0
satalink0: Silicon Image SATALink 3114 (rev. 0x02)
satalink0: 33MHz PCI bus
satalink0: bus-master DMA support present
satalink0: using irq 52 for native-PCI interrupt
atabus3 at satalink0 channel 0
atabus4 at satalink0 channel 1
atabus5 at satalink0 channel 2
atabus6 at satalink0 channel 3
...
satalink0: port 0: device present, speed: 1.5Gb/s
satalink0: port 1: device present, speed: 1.5Gb/s
satalink0: port 2: device present, speed: 1.5Gb/s
satalink0: port 3: device present, speed: 1.5Gb/s
...
wd2 at atabus3 drive 0: <ST380013AS>
wd2: drive supports 16-sector PIO transfers, LBA48 addressing
wd2: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd2(satalink0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA data transfers)
wd3 at atabus4 drive 0: <ST380013AS>
wd3: drive supports 16-sector PIO transfers, LBA48 addressing
wd3: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd3: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd3(satalink0:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA data transfers)
wd4 at atabus5 drive 0: <ST380013AS>
wd4: drive supports 16-sector PIO transfers, LBA48 addressing
wd4: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd4: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd4(satalink0:2:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA data transfers)
wd5 at atabus6 drive 0: <ST380013AS>
wd5: drive supports 16-sector PIO transfers, LBA48 addressing
wd5: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd5: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd5(satalink0:3:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA data transfers)
...

--Apple-Mail-6--903883482--

--Apple-Mail-7--903883478
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQE/48h1OpVKkaBm8XkRAvk4AJ96zfUFBwTR3zH0BbTEBRy07DX3oQCgkpgC
7K4ng5p1WZEpiZkSdMbnB50=
=LY5a
-----END PGP SIGNATURE-----

--Apple-Mail-7--903883478--