Changeset 145d4e2e in mainline for uspace/lib/ata/src/ata.c
- Timestamp:
- 2024-07-22T20:45:12Z (2 months ago)
- Branches:
- master
- Children:
- 04e520e
- Parents:
- 48b8928
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ata/src/ata.c
r48b8928 r145d4e2e 151 151 { 152 152 ata_channel_t *chan; 153 int i; 153 154 154 155 chan = calloc(1, sizeof(ata_channel_t)); … … 162 163 fibril_mutex_initialize(&chan->irq_lock); 163 164 fibril_condvar_initialize(&chan->irq_cv); 165 166 for (i = 0; i < MAX_DEVICES; i++) 167 chan->device[i].chan = chan; 164 168 165 169 *rchan = chan; … … 493 497 unsigned i; 494 498 495 d->chan = chan;496 499 d->device_id = device_id; 497 500 d->present = false;
Note:
See TracChangeset
for help on using the changeset viewer.