Re: Port-Multiplier hotplug support: ATA_FLAG_AN

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

 



Mark Lord wrote:
Tejun,

Apparently the newer (GenIIe) sata_mv chips *can* support asynchronous
notification without problems.  Some/all of the older ones cannot (errata).

So, I've done the one-liner change in sata_mv, to add ATA_FLAG_AN to
the 7042 and 6042 chips, and it all seems to work rather nicely.

Am I missing something?  Is there any other local code to sata_mv
that should be provided before setting ATA_FLAG_AN ?

Like I said, it works, but I just want to check whether any other
pieces are expected to be present?

You need to call sata_async_notification() from interrupt handler after AN FIS is received. sata_async_notification() is responsible for discerning between ATAPI and PMP ANs using SNotification and schedule appropriate actions. If SNotification is not available && PMP is attached, it just calls ata_port_schedule_eh(). That's probably why it just worked by setting ATA_FLAG_AN.

Thanks.

--
tejun
--
To unsubscribe from this list: 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