Changes in uspace/drv/block/ahci/ahci.h [eb3683a:ae3ff9f5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/block/ahci/ahci.h
reb3683a rae3ff9f5 48 48 volatile ahci_memregs_t *memregs; 49 49 50 /** AHCI device global timer. */ 51 fibril_timer_t *timer; 52 50 53 /** Pointers to sata devices. */ 51 void *sata_devs[AHCI_MAX_PORTS]; 54 void *sata_devs[32]; 55 56 /** Device has harware interrupt. */ 57 bool is_hw_interrupt; 52 58 } ahci_dev_t; 53 59 … … 57 63 ahci_dev_t *ahci; 58 64 59 /** SATA port number 65 /** SATA port number(0-31). */ 60 66 uint8_t port_num; 67 68 /** Port interrupt states shadow registers. */ 69 ahci_port_is_t shadow_pxis; 61 70 62 71 /** Device in invalid state (disconnected and so on). */ … … 75 84 fibril_mutex_t lock; 76 85 86 /** Mutex for port interrupt state register manipulation. */ 87 fibril_mutex_t pxis_lock; 88 77 89 /** Mutex for event signaling condition variable. */ 78 90 fibril_mutex_t event_lock; 79 80 91 /** Event signaling condition variable. */ 81 92 fibril_condvar_t event_condvar; 82 93 83 /** Event interrupt state. */84 ahci_port_is_t event_pxis;85 86 94 /** Block device service id. */ 87 service_id_t service_id; 95 service_id_t service_id; 88 96 89 97 /** Number of device data blocks. */ 90 98 uint64_t blocks; 91 92 99 /** Size of device data blocks. */ 93 100 size_t block_size;
Note:
See TracChangeset
for help on using the changeset viewer.