Subject: Re: mpt(4) compatible with 53C1020?
To: None <current-users@netbsd.org>
From: Dave Huang <khym@azeotrope.org>
List: current-users
Date: 01/02/2008 16:15:39
Manuel Bouyer wrote:
> On Sun, Dec 17, 2006 at 02:49:49AM -0600, khym@azeotrope.org wrote:
>> The mpt(4) driver manpage says it supports the LSI Logic Fusion-MPT 
>> family of SCSI and Fibre Channel controllers, but it only explictly 
>> lists the 53c1030 SCSI controller. Does anyone know if it supports
>> the 53C1020/53C1020A, as used in the LSI20320-R and LSIU320
>> single-channel HBAs? Both are based on the Fusion-MPT architecture.
> 
> If it does not support it it shouldn't be hard to add: it may even just
> be a matter of adding the right PCI ID to the driver's table.

Well, it's been over a year, but I finally got around to buying an 
LSI20320-R, and the mpt(4) driver supports it fine (no need to add the 
PCI ID).

However, NetBSD shows it as "LSI Logic 53c1030 Ultra320 SCSI", even 
though it has a 53C1020 on it. From what I gather, the 53C1030 
dual-channel chip shows up on the PCI bus as two functions, both with 
PCI ID 1000/0030, whereas the 53C1020 single-channel chip shows up as a 
single function with ID 1000/0030. Perhaps pcidevs should call it "LSI 
Logic 53C1020/53C1030 Ultra320 SCSI" instead? FWIW, the Windows driver 
mentions both: "LSI Adapter, Ultra320 SCSI 2000 series, 
(w/1020/1030)(StorPort)". It's just a minor cosmetic thing in any 
case... What *would* be useful is to explicitly mention 53C1020 support 
in the mpt(4) manpage:

--- mpt.4       6 Jan 2005 15:26:54 -0000       1.3
+++ mpt.4       2 Jan 2008 22:14:51 -0000
@@ -54,7 +54,10 @@
  .Pp
  .Bl -bullet -compact -offset indent
  .It
-53c1030
+53C1020
+.Pq Ultra320 Tn SCSI
+.It
+53C1030
  .Pq Dual Ultra320 Tn SCSI
  .It
  FC909