Shorter ata driver and partition dev names

This commit is contained in:
2025-11-16 00:08:31 +01:00
parent 0a43ba36cd
commit 58a47edc79
4 changed files with 9 additions and 9 deletions

View File

@ -121,7 +121,7 @@ void ata_probe(void) {
.iobase = 0x1F0,
.ctrlbase = 0x3F6,
};
storedev_create(STOREDEV_ATASD, "atasd-ch0-M", (void *)&extra);
storedev_create(STOREDEV_ATASD, "atasd0m", (void *)&extra);
}
probesize = ata_probesize_bytes(0x1F0, 0x3F6, ATA_SLAVE);
@ -135,7 +135,7 @@ void ata_probe(void) {
.iobase = 0x1F0,
.ctrlbase = 0x3F6,
};
storedev_create(STOREDEV_ATASD, "atasd-ch0-S", (void *)&extra);
storedev_create(STOREDEV_ATASD, "atasd0s", (void *)&extra);
}
probesize = ata_probesize_bytes(0x170, 0x376, ATA_MASTER);
@ -149,7 +149,7 @@ void ata_probe(void) {
.iobase = 0x170,
.ctrlbase = 0x376,
};
storedev_create(STOREDEV_ATASD, "atasd-ch1-M", (void *)&extra);
storedev_create(STOREDEV_ATASD, "atasd1m", (void *)&extra);
}
probesize = ata_probesize_bytes(0x170, 0x376, ATA_SLAVE);
@ -163,7 +163,7 @@ void ata_probe(void) {
.iobase = 0x170,
.ctrlbase = 0x376,
};
storedev_create(STOREDEV_ATASD, "atasd-ch1-S", (void *)&extra);
storedev_create(STOREDEV_ATASD, "atasd1s", (void *)&extra);
}
}