Changeset ae3ff9f5 in mainline for uspace/drv/block/ahci/ahci.h


Ignore:
Timestamp:
2012-07-18T17:35:08Z (12 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7030bc9
Parents:
730dce77
Message:

import AHCI updates (comments, fixes) from Petr Jerman (lp:~petr-jerman/+junk/hos-ahci)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/block/ahci/ahci.h

    r730dce77 rae3ff9f5  
    4646       
    4747        /** Pointer to AHCI memory registers. */
    48         ahci_memregs_t *memregs;
     48        volatile ahci_memregs_t *memregs;
    4949       
    5050        /** AHCI device global timer. */
     
    5353        /** Pointers to sata devices. */
    5454        void *sata_devs[32];
     55       
     56        /** Device has harware interrupt. */
     57        bool is_hw_interrupt;
    5558} ahci_dev_t;
    5659
     
    6467       
    6568        /** Port interrupt states shadow registers. */
    66         volatile ahci_port_is_t shadow_pxis;
     69        ahci_port_is_t shadow_pxis;
    6770       
    6871        /** Device in invalid state (disconnected and so on). */
    69         volatile bool invalid_device;
     72        bool is_invalid_device;
    7073       
    7174        /** Pointer to SATA port. */
    7275        volatile ahci_port_t *port;
     76       
    7377        /** Pointer to command header. */
    7478        volatile ahci_cmdhdr_t *cmd_header;
     79       
    7580        /** Pointer to command table. */
    7681        volatile uint32_t *cmd_table;
     
    7883        /** Mutex for single operation on device. */
    7984        fibril_mutex_t lock;
     85       
     86        /** Mutex for port interrupt state register manipulation. */
     87        fibril_mutex_t pxis_lock;
    8088       
    8189        /** Mutex for event signaling condition variable. */
     
    96104       
    97105        /** Device in invalid state (disconnected and so on). */
    98         bool packet_device;
     106        bool is_packet_device;
    99107       
    100108        /** Highest UDMA mode supported. */
Note: See TracChangeset for help on using the changeset viewer.