Changeset e092dc5 in mainline for uspace/srv/bd/ata_bd/ata_bd.h


Ignore:
Timestamp:
2010-12-30T14:26:29Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e682af1
Parents:
d770deb
Message:

Fix incorrect control block base address. Add base adresses for three more legacy ATA controllers. Allow selecting ATA controller via command line argument.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/ata_bd/ata_bd.h

    rd770deb re092dc5  
    3939#include <fibril_synch.h>
    4040#include <str.h>
     41
     42/** Base addresses for ATA I/O blocks. */
     43typedef struct {
     44        uintptr_t cmd;  /**< Command block base address. */
     45        uintptr_t ctl;  /**< Control block base address. */
     46} ata_base_t;
    4147
    4248/** Timeout definitions. Unit is 10 ms. */
     
    8187} block_coord_t;
    8288
     89/** ATA device state structure. */
    8390typedef struct {
    8491        bool present;
Note: See TracChangeset for help on using the changeset viewer.