X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fata.h;h=a7bcee6a64ce5dd04f9659307b78c75dacadac04;hb=6786ce1ce14feb4d02854a0c04bc0cce505be46e;hp=3d870c973f2c0bf53fc2615cfeaa39a7076e20b2;hpb=2b63959e30f23ef3088dbed6626341c6d8371a66;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/ata.h b/include/ata.h index 3d870c9..a7bcee6 100644 --- a/include/ata.h +++ b/include/ata.h @@ -19,9 +19,6 @@ * 8-bit (register) and 16-bit (data) accesses might use different * address spaces. This is implemented by the following definitions. */ -#ifndef CONFIG_SYS_ATA_STRIDE -#define CONFIG_SYS_ATA_STRIDE 1 -#endif #define ATA_IO_DATA(x) (CONFIG_SYS_ATA_DATA_OFFSET+((x) * CONFIG_SYS_ATA_STRIDE)) #define ATA_IO_REG(x) (CONFIG_SYS_ATA_REG_OFFSET +((x) * CONFIG_SYS_ATA_STRIDE)) @@ -134,7 +131,7 @@ typedef struct hd_driveid { unsigned short cur_capacity1; /* (2 words, misaligned int) */ unsigned char multsect; /* current multiple sector count */ unsigned char multsect_valid; /* when (bit0==1) multsect is ok */ - unsigned int lba_capacity; /* total number of sectors */ + unsigned short lba_capacity[2];/* two words containing total number of sectors */ unsigned short dma_1word; /* single-word dma info */ unsigned short dma_mword; /* multiple-word dma info */ unsigned short eide_pio_modes; /* bits 0:mode3 1:mode4 */