From 2d8aff7e825f17c49cae6f775502afd890437370 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Tue, 29 Apr 2008 17:47:34 -0400 Subject: [PATCH] --- yaml --- r: 94981 b: refs/heads/master c: f7e989301b6c232dec5489e94ee7741c85cb11ba h: refs/heads/master i: 94979: 96b938afe6d04d7e5da96ad7ec9cf7d1e4172c6e v: v3 --- [refs] | 2 +- trunk/include/linux/libata.h | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index 34b1626eaad2..b62e0e42c74e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 22b5e7a74280deae560c20ee1a9b502b35181327 +refs/heads/master: f7e989301b6c232dec5489e94ee7741c85cb11ba diff --git a/trunk/include/linux/libata.h b/trunk/include/linux/libata.h index 395a523d8c30..d1dfe872ee30 100644 --- a/trunk/include/linux/libata.h +++ b/trunk/include/linux/libata.h @@ -548,11 +548,6 @@ struct ata_device { u64 n_sectors; /* size of device, if ATA */ 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 */ - }; - u8 pio_mode; u8 dma_mode; u8 xfer_mode; @@ -574,8 +569,13 @@ struct ata_device { u16 sectors; /* Number of sectors per track */ /* error history */ - struct ata_ering ering; int spdn_cnt; + struct ata_ering ering; + + union { + u16 id[ATA_ID_WORDS]; /* IDENTIFY xxx DEVICE data */ + u32 gscr[SATA_PMP_GSCR_DWORDS]; /* PMP GSCR block */ + }; }; /* Offset into struct ata_device. Fields above it are maintained