Changeset 207 for trunk/src/os2ahci/os2ahci.h
- Timestamp:
- Feb 23, 2021, 10:10:11 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/os2ahci.h
r205 r207 230 230 231 231 typedef struct { 232 U SHORTCylinders;232 ULONG Cylinders; 233 233 USHORT HeadsPerCylinder; 234 234 USHORT SectorsPerTrack; 235 ULONG TotalSectors;235 ULONGLONG TotalSectors; 236 236 char *Method; 237 237 } DEV_INFO; … … 248 248 u32 dma_buf_phys; /* 14 physical address of DMA scratch buffer */ 249 249 u8 *dma_buf; /* 18 DMA scatch buffers */ 250 u32 unaligned_read_count; 251 u32 error_count; 252 u32 ulResetCount; /* added in 2.07 */ 250 253 251 254 struct { /* 1c */ … … 263 266 char dev_name[AHCI_DEV_NAME_LEN]; 264 267 } devs[AHCI_MAX_DEVS]; 265 266 u32 unaligned_read_count;267 u32 error_count;268 u32 ulResetCount; /* added in 2.07 */269 268 } P_INFO; 270 269 … … 313 312 unsigned short processing :1; /* 0e IORB is being processd */ 314 313 unsigned short idempotent :1; /* IORB is idempotent (can be retried) */ 314 unsigned short fIs64bit :1; /* Transaction is a 64 bit operation */ 315 315 unsigned short queued_hw :1; /* IORB has been queued to hardware */ 316 316 unsigned short no_ncq :1; /* must not use native command queuing */ … … 354 354 /* These are the four entries which correspond to the entries in the partition table. */ 355 355 } DLA_Table_Sector, *PDLA_Table_Sector; 356 357 typedef struct _ahcistats_ 358 { 359 ULONG ulSize; 360 ULONG ulVersion; 361 ULONG ulTestCount3; 362 ULONG ulTestCount2; 363 ULONG ulTestCount1; 364 } AHCISTATS; 356 365 357 366 static inline unsigned long readl(void *a) … … 487 496 extern int suspended; /* indicates if the driver is suspended */ 488 497 extern int resume_sleep_flag; 498 extern AHCISTATS AhciStats; 489 499 490 500 /* port restart context hook and input data */
Note:
See TracChangeset
for help on using the changeset viewer.