--- ide.c~ 2002-12-09 00:26:38.000000000 +0100 +++ ide.c 2002-12-09 00:25:34.000000000 +0100 @@ -262,7 +262,7 @@ hwif->name[0] = 'i'; hwif->name[1] = 'd'; hwif->name[2] = 'e'; - hwif->name[3] = '0' + index; + hwif->name[3] = (index < 10)?('0' + index):('a' + index - 10); hwif->bus_state = BUSSTATE_ON; for (unit = 0; unit < MAX_DRIVES; ++unit) { ide_drive_t *drive = &hwif->drives[unit];