[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[1914] 2008-11-14 Robert Millan <address@hidden>
From: |
Robert Millan |
Subject: |
[1914] 2008-11-14 Robert Millan <address@hidden> |
Date: |
Fri, 14 Nov 2008 17:57:40 +0000 |
Revision: 1914
http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1914
Author: robertmh
Date: 2008-11-14 17:57:39 +0000 (Fri, 14 Nov 2008)
Log Message:
-----------
2008-11-14 Robert Millan <address@hidden>
* term/i386/pc/serial.c [! GRUB_MACHINE_PCBIOS]
(GRUB_SERIAL_PORT_NUM): Fix misscalculation.
Modified Paths:
--------------
trunk/grub2/ChangeLog
trunk/grub2/term/i386/pc/serial.c
Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog 2008-11-12 20:53:48 UTC (rev 1913)
+++ trunk/grub2/ChangeLog 2008-11-14 17:57:39 UTC (rev 1914)
@@ -1,3 +1,8 @@
+2008-11-14 Robert Millan <address@hidden>
+
+ * term/i386/pc/serial.c [! GRUB_MACHINE_PCBIOS]
+ (GRUB_SERIAL_PORT_NUM): Fix misscalculation.
+
2008-11-12 Robert Millan <address@hidden>
Make loader/i386/linux.c buildable on i386-pc (although disabled).
Modified: trunk/grub2/term/i386/pc/serial.c
===================================================================
--- trunk/grub2/term/i386/pc/serial.c 2008-11-12 20:53:48 UTC (rev 1913)
+++ trunk/grub2/term/i386/pc/serial.c 2008-11-14 17:57:39 UTC (rev 1914)
@@ -70,7 +70,7 @@
#define GRUB_SERIAL_PORT_NUM 4
#else
static const unsigned short serial_hw_io_addr[] = { 0x3f8, 0x2f8, 0x3e8, 0x2e8
};
-#define GRUB_SERIAL_PORT_NUM (sizeof(serial_hw_io_addr)/(serial_hw_io_addr[0]))
+#define GRUB_SERIAL_PORT_NUM
(sizeof(serial_hw_io_addr)/sizeof(serial_hw_io_addr[0]))
#endif
/* Return the port number for the UNITth serial device. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [1914] 2008-11-14 Robert Millan <address@hidden>,
Robert Millan <=