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