Patchwork [4/6] add WIN_STANDBYNOW1 process into ahci.

login
register
mail settings
Submitter 乔崇
Date May 10, 2010, 11:19 p.m.
Message ID <1273533547-21789-5-git-send-email-qiaochong@loongson.cn>
Download mbox | patch
Permalink /patch/52246/
State New
Headers show

Comments

乔崇 - May 10, 2010, 11:19 p.m.
Signed-off-by: QiaoChong <qiaochong@loongson.cn>
---
 hw/ahci.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/hw/ahci.c b/hw/ahci.c
index b6a81af..cb4a851 100644
--- a/hw/ahci.c
+++ b/hw/ahci.c
@@ -676,6 +676,7 @@  static void handle_cmd(AHCIState *s,int port,int slot)
 				write_to_sglist(ide_state->identify_data, sizeof(ide_state->identify_data),s->prdt_buf,prdt_num);
 				pr->irq_stat |= (1<<2);
 				break;
+			case WIN_STANDBYNOW1:
 			case WIN_SETFEATURES:
 				pr->irq_stat |= (1<<2);
 				break;