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