User Tools

Site Tools


sata_port_multipliers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sata_port_multipliers [2019/04/24 11:56]
rpjday [Kernel content]
sata_port_multipliers [2019/04/24 12:30] (current)
rpjday [struct ata_device]
Line 181: Line 181:
         unsigned int            class; ​         /* ATA_DEV_xxx */         unsigned int            class; ​         /* ATA_DEV_xxx */
         ...         ...
 +        union {
 +                u16             ​id[ATA_ID_WORDS];​ /* IDENTIFY xxx DEVICE data */
 +                u32             ​gscr[SATA_PMP_GSCR_DWORDS];​ /* PMP GSCR block */
 +        } ____cacheline_aligned;​
 +
 </​code>​ </​code>​
  
Line 219: Line 224:
 </​code>​ </​code>​
  
-===== libata-pmp.c =====+===== drivers/​ata/​ ===== 
 + 
 +==== libata-eh.c ==== 
 + 
 +<​code>​ 
 +static int ata_eh_revalidate_and_attach(struct ata_link *link, 
 + struct ata_device **r_failed_dev) 
 +
 + struct ata_port *ap = link->​ap;​ 
 + struct ata_eh_context *ehc = &​link->​eh_context;​ 
 + struct ata_device *dev; 
 +        ... 
 +        ata_for_each_dev(dev,​ link, ALL_REVERSE) { 
 +                ... 
 +                dev->​class = ehc->​classes[dev->​devno];​ 
 + 
 +                if (dev->​class == ATA_DEV_PMP) 
 +                        rc = sata_pmp_attach(dev);​ 
 +                else 
 +                        ...    
 +</​code>​ 
 + 
 +==== libata-pmp.c ​====
  
-==== sata_pmp_configure() ​====+=== sata_pmp_configure() ===
sata_port_multipliers.1556106963.txt.gz · Last modified: 2019/04/24 11:56 by rpjday