sata_inic162x.c (3e4ec3443f70fbe144799ccf0b1c3797f78d1715) | sata_inic162x.c (6bc0d390dd3dfb7be4325ad0685ae8ec2baf15a4) |
---|---|
1/* 2 * sata_inic162x.c - Driver for Initio 162x SATA controllers 3 * 4 * Copyright 2006 SUSE Linux Products GmbH 5 * Copyright 2006 Tejun Heo <teheo@novell.com> 6 * 7 * This file is released under GPL v2. 8 * --- 654 unchanged lines hidden (view full) --- 663{ 664 void __iomem *port_base = inic_port_base(ap); 665 struct inic_port_priv *pp = ap->private_data; 666 667 /* clear packet and CPB table */ 668 memset(pp->pkt, 0, sizeof(struct inic_pkt)); 669 memset(pp->cpb_tbl, 0, IDMA_CPB_TBL_SIZE); 670 | 1/* 2 * sata_inic162x.c - Driver for Initio 162x SATA controllers 3 * 4 * Copyright 2006 SUSE Linux Products GmbH 5 * Copyright 2006 Tejun Heo <teheo@novell.com> 6 * 7 * This file is released under GPL v2. 8 * --- 654 unchanged lines hidden (view full) --- 663{ 664 void __iomem *port_base = inic_port_base(ap); 665 struct inic_port_priv *pp = ap->private_data; 666 667 /* clear packet and CPB table */ 668 memset(pp->pkt, 0, sizeof(struct inic_pkt)); 669 memset(pp->cpb_tbl, 0, IDMA_CPB_TBL_SIZE); 670 |
671 /* setup PRD and CPB lookup table addresses */ 672 writel(ap->prd_dma, port_base + PORT_PRD_ADDR); | 671 /* setup CPB lookup table addresses */ |
673 writel(pp->cpb_tbl_dma, port_base + PORT_CPB_CPBLAR); 674} 675 676static int inic_port_resume(struct ata_port *ap) 677{ 678 init_port(ap); 679 return 0; 680} --- 245 unchanged lines hidden --- | 672 writel(pp->cpb_tbl_dma, port_base + PORT_CPB_CPBLAR); 673} 674 675static int inic_port_resume(struct ata_port *ap) 676{ 677 init_port(ap); 678 return 0; 679} --- 245 unchanged lines hidden --- |