Short:        SATAII150/300 series PCI-adapters (src)
Author:       Rupert Hausberger <natmeg@gmx.net>
Uploader:     Rupert Hausberger <natmeg gmx net>
Type:         driver/media
Version:      1.1 (1.00.0.15)
Replaces:     driver/media/ulsata2-source.lha
Architecture: generic

Intro
=====
This package contains the MorphOS-driver for
Promise SATAII150/300-series PCI-adapters.
 
Based on:
http://firstweb.promise.com/upload/Support/Driver/
2_sata300_sataii150_tx_series_linux2.4_open_source_1.00.0.15.tgz


Support List
============
  Chipset  Adapter Name
  -------- ------------
- PDC40518 Promise SATAII150 TX4
- PDC20575 Promise SATAII150 TX2plus
- PDC20579 Promise SATAII150 579
- PDC20718 Promise SATA 300 TX4 (*)
- PDC40775 Promise SATA 300 TX2plus
- PDC40779 Promise SATA 300 779
(*) Dev-adapter, all other are untested by the author at release 1.0


MorphOS features
================
 - Up to 2 adapters
 - ATA/ATAPI support
 - UDMA/PIO support
 - ATA SCSI-emulation
 - ATAPI disk-change handler
 - EXEC/TD/TD64/SCSI commands
 - 64-bit support (drives > 2TB)
 - S.M.A.R.T. support (SMARTDoctor-morphos.lha)
 - Support for query.library (HDConfig/Mounter/Flacapella/Jalapeno)


Requirements
============
 - Min 1 adapter from the list above
 - MorphOS 1.x
 - pcix.library


Installation
============
  - Copy ulsata2.device to DEVS:


Unit-IDs
========
 They go from 0 to 15:

 Adapter Channel Unit MorphOS-Unit
 ------------------------------------
 0       0       0    0
 0       0       1    1
 0       1       0    2
 0       1       1    3
 0       2       0    4
 0       2       1    5
 0       3       0    6
 0       3       1    7
 1       0       0    8
 1       0       1    9
 1       1       0    10
 1       1       1    11
 1       2       0    12
 1       2       1    13
 1       3       0    14
 1       3       1    15


Building
========
 Definitions in the makefile
 ---------------------------
 _BIG_ENDIAN_ Required on a big-endian machines
 _DCH_        Enable disk-change handler for ATAPI-devices.
				  Tests for diskchange evey 2 seconds and causes the
				  software-interrupt if detected.
 _HOTPLUG_    Enable Hotplug-support (does not work)
 _NCQ_        Enable Native Command Queuing (NCQ) (does not work)
 _TCQ_        Enable Tagged Command Queuing (TCQ) (does not work)
 _SSBOX_      Enable SwapBox-Enclosure support (does not work)
 _DEBUG_      Enable building of debug-strings for kprintf()

Note: Importand changes are commented with /* HARU */


Author
======
  ©2013 Rupert Hausberger <natmeg@gmx.net>
  http://natmeg.mooo.com/


License
=======
  GPL. Please refer to the file COPYING for details.


History
=======
  Please refer to the file ChangeLog for details.


FAQ
===
 Why Promise?
 ------------
 Because i think they are good adapters and the drivers are GPL.

 Can i boot?
 -----------
 Currently not. I'm not sure if it could work,
 even if the driver would be in the boot.img

 Can i watch DVDs?
 -----------------
 Yes, ATAPI-support is fully implemented, eg. CacheCDFS + MPlayer/VLC.


Supported EXEC-commands
=======================
 - CMD_CLEAR
 - CMD_FLUSH
 - CMD_READ (limited to 4gb)
 - CMD_RESET
 - CMD_START
 - CMD_STOP
 - CMD_UPDATE
 - CMD_WRITE  (limited to 4gb)

Supported TrackDisk-commands
============================
 - TD_ADDCHANGEINT
 - TD_CHANGENUM
 - TD_CHANGESTATE
 - TD_EJECT
 - TD_FORMAT
 - TD_GETDRIVETYPE
 - TD_GETGEOMETRY
 - TD_GETNUMTRACKS
 - TD_MOTOR (emulated)
 - TD_PROTSTATUS
 - TD_REMCHANGEINT
 - TD_REMOVE
 - TD_SEEK

Supported TrackDisk64-commands
==============================
 - TD_FORMAT64 (= TD_WRITE64)
 - TD_GETGEOMETRY64
 - TD_READ64
 - TD_SEEK64 (emulated)
 - TD_WRITE64

Supported SCSI-commands
=======================
APATI
-----
 DMA
 ---
  - READ 6/10/12/16
  - WRITE 6/10/12/16
 PIO
 ---
  - Support depends on the connected device
ATA
---
 DMA
 ---
  - READ 6/10/12/16
  - WRITE 6/10/12/16
 PIO
 ---
  - TEST UNIT READY
  - INQUIRY
 	 Inquiry vital pages
	 -------------------
 	 - Unit Serial Number
  - READ CAPACITY 10/16
  - LOG SENSE
	 Log pages
	 ---------
	 - Informational Exceptions (S.M.A.R.T.)
  - MODE SENSE 6/10
 	 Mode pages
 	 ----------
 	 - Format drive
 	 - Rigid drive geometry
 	 - Flexible disk
	 - Informational Exceptions (S.M.A.R.T.)
  - MODE SELECT 6/10
  - REQUEST SENSE

Supported NewStyle-commands
===========================
 - DEVICEQUERY (to examine supported commands in eg. 'Scout')

Supported Custom-commands
=========================
 - HD_SMARTCMD (see smartdev.lha)

