Changeset ae3ff9f5 in mainline for uspace/srv/bd/sata_bd/sata_bd.c


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/srv/bd/sata_bd/sata_bd.c

    r730dce77 rae3ff9f5  
    5151#define NAMESPACE  "bd"
    5252
    53 #define MAXDISKS 256
    54 
    55 static sata_dev_t disk[MAXDISKS];
     53/** Maximum number of disks handled */
     54#define MAXDISKS  256
     55
     56static sata_bd_dev_t disk[MAXDISKS];
    5657static int disk_count;
    5758
     59/** Find SATA devices in device tree.
     60 *
     61 *  @param Device manager handle describing container for searching. 
     62 *
     63 *  @return EOK if succeed, error code otherwise.
     64 *
     65 */
    5866static int scan_device_tree(devman_handle_t funh)
    5967{
     
    107115}
    108116
    109 /** Find sata devices in device tree from root. */
     117/** Find sata devices in device tree from root.
     118 *
     119 *  @return EOK if succeed, error code otherwise.
     120 *
     121 */
    110122static int get_sata_disks()
    111123{
Note: See TracChangeset for help on using the changeset viewer.