mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
2002-06-30 Yoshinori K. Okuji <okuji@alien>
* stage2/serial.c [!GRUB_UTIL] (serial_hw_fetch): Fixed the conditional statement. Reported by Ilguiz Latypov.
This commit is contained in:
1 parent
f711a2453a
commit
d53e46f0a9
3 files changed
+7
-1
No files matched your search
@@ -1,3 +1,8 @@
|
||||
2002-06-30 Yoshinori K. Okuji <okuji@alien>
|
||||
|
||||
* stage2/serial.c [!GRUB_UTIL] (serial_hw_fetch): Fixed the
|
||||
conditional statement. Reported by Ilguiz Latypov.
|
||||
|
||||
2002-06-24 Yoshinori K. Okuji <okuji@enbug.org>
|
||||
|
||||
* MAINTENANCE: New file.
|
||||
|
||||
@@ -43,6 +43,7 @@ Henrik Nordstrom <hno@marasystems.com>
|
||||
Herbert Nachtnebel <nachtneb@iaee.tuwien.ac.at>
|
||||
Hisazumi Kenji <nel@soraneko.com>
|
||||
HORIKAWA Kazunori <kaz-hori@tkd.att.ne.jp>
|
||||
Ilguiz Latypov <ilatypov@superbt.com>
|
||||
Jan Fricke <fricke@uni-greifswald.de>
|
||||
Jan Zerebecki <jan.list@elite-pferde.de>
|
||||
Jason Thomas <jason@topic.com.au>
|
||||
|
||||
+1
-1
@@ -80,7 +80,7 @@ outb (unsigned short port, unsigned char value)
|
||||
int
|
||||
serial_hw_fetch (void)
|
||||
{
|
||||
if (inb ((serial_hw_port + UART_LSR) & UART_DATA_READY) == 0)
|
||||
if (inb ((serial_hw_port + UART_LSR) & UART_DATA_READY))
|
||||
return inb (serial_hw_port + UART_RX);
|
||||
|
||||
return -1;
|
||||
|
||||
Reference in new issue
Block a user