Changeset d1582b50 in mainline for uspace/drv/block/ahci/ahci.c
- Timestamp:
- 2020-12-14T20:41:53Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 02fe42e
- Parents:
- 1382446
- git-author:
- Jiri Svoboda <jiri@…> (2020-12-14 20:33:54)
- git-committer:
- Jiri Svoboda <jiri@…> (2020-12-14 20:41:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/block/ahci/ahci.c
r1382446 rd1582b50 131 131 static int sata_devices_count = 0; 132 132 133 /* ----------------------------------------------------------------------------*/134 /*-- AHCI Interface ----------------------------------------------------------*/ 135 /*----------------------------------------------------------------------------*/133 /* 134 * AHCI Interface 135 */ 136 136 137 137 static ahci_iface_t ahci_interface = { … … 298 298 } 299 299 300 /* ----------------------------------------------------------------------------*/301 /*-- AHCI Commands -----------------------------------------------------------*/ 302 /*----------------------------------------------------------------------------*/300 /* 301 * AHCI Commands 302 */ 303 303 304 304 /** Wait for interrupt event. … … 842 842 } 843 843 844 /* ----------------------------------------------------------------------------*/845 /*-- Interrupts handling -----------------------------------------------------*/ 846 /*----------------------------------------------------------------------------*/844 /* 845 * Interrupts handling 846 */ 847 847 848 848 static irq_pio_range_t ahci_ranges[] = { … … 919 919 } 920 920 921 /* ----------------------------------------------------------------------------*/922 /*-- AHCI and SATA device creating and initializing routines -----------------*/ 923 /*----------------------------------------------------------------------------*/921 /* 922 * AHCI and SATA device creating and initializing routines 923 */ 924 924 925 925 /** Allocate SATA device structure with buffers for hardware. … … 1273 1273 } 1274 1274 1275 /* ----------------------------------------------------------------------------*/1276 /*-- Helpers and utilities ---------------------------------------------------*/ 1277 /*----------------------------------------------------------------------------*/1275 /* 1276 * Helpers and utilities 1277 */ 1278 1278 1279 1279 /** Convert SATA model name … … 1313 1313 } 1314 1314 1315 /* ----------------------------------------------------------------------------*/1316 /*-- AHCI Main routine -------------------------------------------------------*/ 1317 /*----------------------------------------------------------------------------*/1315 /* 1316 * AHCI Main routine 1317 */ 1318 1318 1319 1319 int main(int argc, char *argv[])
Note:
See TracChangeset
for help on using the changeset viewer.