This was a missing file that is needed for the build.

This commit is contained in:
Tom Zimmerman 2003-10-03 16:55:38 +00:00
parent ec2d28a287
commit 25f2e09781
2 changed files with 20 additions and 1 deletions

View file

@ -3,6 +3,7 @@
#include <arch/io.h>
#include <southbridge/amd/amd768.h>
#include <ide.h>
#include <printk.h>
void amd768_enable_ide(int enable_a, int enable_b)
{
@ -44,6 +45,6 @@ void amd768_enable_ide(int enable_a, int enable_b)
pci_write_config_word(dev, 0x4c, word);
} else
printk_alert("Could not locate IDE controller\n");
printk_err("Could not locate IDE controller\n");
}

View file

@ -0,0 +1,18 @@
/* enable LPC superio on the AMD 768 south bridge */
#if 0
movl $(0x80000000 | AMD768_DEV | 0x54), %eax
movw $0xcf8, %dx
outl %eax, %dx
movw $0xcfc, %dx
inb %dx, %al
orb $0x30, %al
outb %al, %dx
/* enable LPC serial port 0x3f8 */
movl $(0x80000000 | AMD768_DEV | 0x50), %eax
movw $0xcf8, %dx
outl %eax, %dx
movw $0xcfe, %dx
movb $0x8, %al
outb %al, %dx
#endif