/[grub]/grub/stage2/serial.c
ViewVC logotype

Diff of /grub/stage2/serial.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by okuji, Sat Oct 13 12:02:30 2001 UTC revision 1.5 by okuji, Tue Dec 11 07:49:16 2001 UTC
# Line 31  struct divisor Line 31  struct divisor
31  };  };
32    
33  /* Store the port number of a serial unit.  */  /* Store the port number of a serial unit.  */
34  static unsigned short serial_port = -1;  static unsigned short serial_port = 0;
35    
36  /* The table which lists common configurations.  */  /* The table which lists common configurations.  */
37  static struct divisor divisor_tab[] =  static struct divisor divisor_tab[] =
# Line 106  serial_putchar (int c) Line 106  serial_putchar (int c)
106  int  int
107  serial_exists (void)  serial_exists (void)
108  {  {
109    return serial_port != -1;    return serial_port != 0;
110  }  }
111    
112  /* Return the port number for the UNITth serial device.  */  /* Return the port number for the UNITth serial device.  */

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26