Remove drive->desc field.
authorKevin O'Connor <kevin@koconnor.net>
Thu, 30 Dec 2010 02:41:19 +0000 (21:41 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Thu, 30 Dec 2010 02:41:19 +0000 (21:41 -0500)
commitca2bc1c0cd65796589a55728fb0837e5e64e5a74
treefa9d554ce1772ca302bc4af092ae279b50866ac3
parentf13a18090d291f0c7cca6fab61e3ff563ab9400c
Remove drive->desc field.

The description field is only available during the POST phase - it is
confusing to have it live in a structure available through all phases.

The description was only used by the boot menu code - pass each drive
description directly to the bootlist code.

Add a helper (znprintf) to automatically malloc_tmp the required
space.

Also, fixup ramdisk handling - it was using an incorrect floppy
priority.
12 files changed:
src/ahci.c
src/ata.c
src/boot.c
src/boot.h
src/coreboot.c
src/disk.h
src/floppy.c
src/output.c
src/ramdisk.c
src/usb-msc.c
src/util.h
src/virtio-blk.c