2008-07-27 Robert Millan <rmh@aybabtu.com>
* disk/ata.c (grub_ata_dumpinfo): Use grub_dprintf() for debugging information.
This commit is contained in:
parent
47f908abba
commit
cd1df915ea
2 changed files with 10 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-07-27 Robert Millan <rmh@aybabtu.com>
|
||||
|
||||
* disk/ata.c (grub_ata_dumpinfo): Use grub_dprintf() for debugging
|
||||
information.
|
||||
|
||||
2008-07-27 Bean <bean123ch@gmail.com>
|
||||
|
||||
* fs/fat.c (GRUB_FAT_MAXFILE): New constant.
|
||||
|
|
10
disk/ata.c
10
disk/ata.c
|
@ -219,16 +219,16 @@ grub_ata_dumpinfo (struct grub_ata_device *dev, char *info)
|
|||
|
||||
/* The device information was read, dump it for debugging. */
|
||||
grub_ata_strncpy (text, info + 20, 20);
|
||||
grub_printf ("Serial: %s\n", text);
|
||||
grub_dprintf ("ata", "Serial: %s\n", text);
|
||||
grub_ata_strncpy (text, info + 46, 8);
|
||||
grub_printf ("Firmware: %s\n", text);
|
||||
grub_dprintf ("ata", "Firmware: %s\n", text);
|
||||
grub_ata_strncpy (text, info + 54, 40);
|
||||
grub_printf ("Model: %s\n", text);
|
||||
grub_dprintf ("ata", "Model: %s\n", text);
|
||||
|
||||
if (! dev->atapi)
|
||||
{
|
||||
grub_printf ("Addressing: %d\n", dev->addr);
|
||||
grub_printf ("Sectors: %lld\n", dev->size);
|
||||
grub_dprintf ("ata", "Addressing: %d\n", dev->addr);
|
||||
grub_dprintf ("ata", "Sectors: %lld\n", dev->size);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue