Revision cd8722bb hw/ide/internal.h
b/hw/ide/internal.h | ||
---|---|---|
362 | 362 |
#define SMART_DISABLE 0xd9 |
363 | 363 |
#define SMART_STATUS 0xda |
364 | 364 |
|
365 |
typedef enum { IDE_HD, IDE_CD, IDE_CFATA } IDEDriveKind; |
|
366 |
|
|
365 | 367 |
typedef void EndTransferFunc(IDEState *); |
366 | 368 |
|
367 | 369 |
/* NOTE: IDEState represents in fact one drive */ |
... | ... | |
369 | 371 |
IDEBus *bus; |
370 | 372 |
uint8_t unit; |
371 | 373 |
/* ide config */ |
372 |
int is_cdrom; |
|
373 |
int is_cf; |
|
374 |
IDEDriveKind drive_kind; |
|
374 | 375 |
int cylinders, heads, sectors; |
375 | 376 |
int64_t nb_sectors; |
376 | 377 |
int mult_sectors; |
Also available in: Unified diff