Patch by Pierre Aubert, 15 Mar 2004:

Fix buffer overflow in IDE identification
This commit is contained in:
wdenk
2004-03-17 01:13:07 +00:00
parent d9df1f4e66
commit 7d7ce4125f
6 changed files with 53 additions and 59 deletions

View File

@@ -1057,7 +1057,7 @@ static void lcd_enable (void)
#if defined(CONFIG_LWMON)
{ uchar c = pic_read (0x60);
#if defined(CONFIG_LCD) && defined(CONFIG_LWMON) && (CONFIG_POST & CFG_POST_SYSMON)
c |= 0x04; /* Chip Enable LCD */
/* Enable LCD later in sysmon test, only if temperature is OK */
#else
c |= 0x07; /* Power on CCFL, Enable CCFL, Chip Enable LCD */
#endif