Re: SiI3124 + SiI3726 pm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



saeed bishara wrote:
Hi,
      I think the 6th port is for the SEMB(Sata Enclosure Management
Bridge) device, this device reportssignature with lbam=0x3c and lbah
0xc3, but the linux classifies it as a disk:

 if (((tf->lbam == 0) && (tf->lbah == 0)) ||
 ((tf->lbam == 0x3c) && (tf->lbah == 0xc3))) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
DPRINTK("found ATA device by sig\n");
return ATA_DEV_ATA;

Can you print the signature of the device on that port?
Anyway, the 0x3C, 0xC3 signature should be classifies as a SEMB device
and not a disk according to the SATA standard.

I haven't actually checked that signature but that's probably the same class code mix up described for PM in the classification function. For the time being, libata is just ignoring the extra port. It probably should be exported as a SCSI device without HLD attached (/dev/sgX only). I'll try that once hotplug stuff settles.

Thanks.

--
tejun
-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux