forked from len0rd/rockbox
Add ata master/slave display to hw_info debug menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3922 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
000333f8ab
commit
ee192fb49f
1 changed files with 41 additions and 39 deletions
|
|
@ -309,7 +309,8 @@ bool dbg_hw_info(void)
|
|||
snprintf(buf, 32, "USB: %s", usb_polarity?"positive":"negative");
|
||||
lcd_puts(0, 3, buf);
|
||||
|
||||
snprintf(buf, 32, "ATA: 0x%x", ata_io_address);
|
||||
snprintf(buf, 32, "ATA: 0x%x,%s", ata_io_address,
|
||||
ata_device ? "slave":"master");
|
||||
lcd_puts(0, 4, buf);
|
||||
|
||||
snprintf(buf, 32, "PR: %s", pr_polarity?"positive":"negative");
|
||||
|
|
@ -381,7 +382,8 @@ bool dbg_hw_info(void)
|
|||
usb_polarity?"pos":"neg");
|
||||
break;
|
||||
case 2:
|
||||
snprintf(buf, 32, "ATA: 0x%x", ata_io_address);
|
||||
snprintf(buf, 32, "ATA: 0x%x%s",
|
||||
ata_io_address, ata_device ? "s","m");
|
||||
break;
|
||||
case 3:
|
||||
snprintf(buf, 32, "Mask: %04x", bitmask);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue