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:
parent
f711a2453a
commit
d53e46f0a9
3 changed files with 7 additions and 1 deletions
|
@ -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>
|
2002-06-24 Yoshinori K. Okuji <okuji@enbug.org>
|
||||||
|
|
||||||
* MAINTENANCE: New file.
|
* MAINTENANCE: New file.
|
||||||
|
|
1
THANKS
1
THANKS
|
@ -43,6 +43,7 @@ Henrik Nordstrom <hno@marasystems.com>
|
||||||
Herbert Nachtnebel <nachtneb@iaee.tuwien.ac.at>
|
Herbert Nachtnebel <nachtneb@iaee.tuwien.ac.at>
|
||||||
Hisazumi Kenji <nel@soraneko.com>
|
Hisazumi Kenji <nel@soraneko.com>
|
||||||
HORIKAWA Kazunori <kaz-hori@tkd.att.ne.jp>
|
HORIKAWA Kazunori <kaz-hori@tkd.att.ne.jp>
|
||||||
|
Ilguiz Latypov <ilatypov@superbt.com>
|
||||||
Jan Fricke <fricke@uni-greifswald.de>
|
Jan Fricke <fricke@uni-greifswald.de>
|
||||||
Jan Zerebecki <jan.list@elite-pferde.de>
|
Jan Zerebecki <jan.list@elite-pferde.de>
|
||||||
Jason Thomas <jason@topic.com.au>
|
Jason Thomas <jason@topic.com.au>
|
||||||
|
|
|
@ -80,7 +80,7 @@ outb (unsigned short port, unsigned char value)
|
||||||
int
|
int
|
||||||
serial_hw_fetch (void)
|
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 inb (serial_hw_port + UART_RX);
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue