Changes in uspace/drv/block/ahci/ahci.h [56fd7cf:9904eb90] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/block/ahci/ahci.h
r56fd7cf r9904eb90 34 34 #define __AHCI_H__ 35 35 36 #include <async.h>37 36 #include <sys/types.h> 38 37 #include <devman.h> … … 47 46 48 47 /** Pointer to AHCI memory registers. */ 49 volatile ahci_memregs_t *memregs; 48 ahci_memregs_t *memregs; 49 50 /** AHCI device global timer. */ 51 fibril_timer_t *timer; 50 52 51 53 /** Pointers to sata devices. */ 52 void *sata_devs[AHCI_MAX_PORTS]; 53 54 /** Parent session */ 55 async_sess_t *parent_sess; 54 void *sata_devs[32]; 56 55 } ahci_dev_t; 57 56 … … 61 60 ahci_dev_t *ahci; 62 61 63 /** Pointer to ddf function. */ 64 ddf_fun_t *fun; 65 66 /** SATA port number (0-31). */ 62 /** SATA port number(0-31). */ 67 63 uint8_t port_num; 68 64 65 /** Port interrupt states shadow registers. */ 66 volatile ahci_port_is_t shadow_pxis; 67 69 68 /** Device in invalid state (disconnected and so on). */ 70 bool is_invalid_device;69 volatile bool invalid_device; 71 70 72 71 /** Pointer to SATA port. */ 73 72 volatile ahci_port_t *port; 74 75 73 /** Pointer to command header. */ 76 74 volatile ahci_cmdhdr_t *cmd_header; 77 78 75 /** Pointer to command table. */ 79 76 volatile uint32_t *cmd_table; … … 84 81 /** Mutex for event signaling condition variable. */ 85 82 fibril_mutex_t event_lock; 86 87 83 /** Event signaling condition variable. */ 88 84 fibril_condvar_t event_condvar; 89 85 90 /** Event interrupt state. */91 ahci_port_is_t event_pxis;92 93 86 /** Block device service id. */ 94 service_id_t service_id; 87 service_id_t service_id; 95 88 96 89 /** Number of device data blocks. */ 97 90 uint64_t blocks; 98 99 91 /** Size of device data blocks. */ 100 92 size_t block_size; … … 104 96 105 97 /** Device in invalid state (disconnected and so on). */ 106 bool is_packet_device;98 bool packet_device; 107 99 108 100 /** Highest UDMA mode supported. */
Note:
See TracChangeset
for help on using the changeset viewer.