2008-11-14 Robert Millan <rmh@aybabtu.com>
* term/i386/pc/serial.c [! GRUB_MACHINE_PCBIOS] (GRUB_SERIAL_PORT_NUM): Fix misscalculation.
This commit is contained in:
parent
fe8e8d69e1
commit
e2e078478e
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-11-14 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
|
* term/i386/pc/serial.c [! GRUB_MACHINE_PCBIOS]
|
||||||
|
(GRUB_SERIAL_PORT_NUM): Fix misscalculation.
|
||||||
|
|
||||||
2008-11-12 Robert Millan <rmh@aybabtu.com>
|
2008-11-12 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
Make loader/i386/linux.c buildable on i386-pc (although disabled).
|
Make loader/i386/linux.c buildable on i386-pc (although disabled).
|
||||||
|
|
|
@ -70,7 +70,7 @@ static const unsigned short *serial_hw_io_addr = (const unsigned short *) 0x0400
|
||||||
#define GRUB_SERIAL_PORT_NUM 4
|
#define GRUB_SERIAL_PORT_NUM 4
|
||||||
#else
|
#else
|
||||||
static const unsigned short serial_hw_io_addr[] = { 0x3f8, 0x2f8, 0x3e8, 0x2e8 };
|
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
|
#endif
|
||||||
|
|
||||||
/* Return the port number for the UNITth serial device. */
|
/* Return the port number for the UNITth serial device. */
|
||||||
|
|
Loading…
Reference in a new issue