Shorter ata driver and partition dev names
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user