* Matt Jacob (mja...@freebsd.org) wrote: > - (void)make_dev_alias(softc->dev, "sg%c", 'a' + periph->unit_number); > + if (periph->unit_number < 26) { > + (void)make_dev_alias(softc->dev, "sg%c", periph->unit_number + > 'a'); > + } else { > + (void)make_dev_alias(softc->dev, "sg%c%c", > + ((periph->unit_number / 26) - 1) + 'a', periph->unit_number > + 'a');
((periph->unit_number / 26) - 1) + 'a', (periph->unit_number % 26) + 'a'); No? -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amd...@amdmi3.ru ..: jabber: amd...@jabber.ru http://www.amdmi3.ru _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"