setup_ethernet.inc

This commit is contained in:
Andrew Ip 2003-04-27 15:02:29 +00:00
commit 710b5a4d21
2 changed files with 0 additions and 15 deletions

View file

@ -1 +0,0 @@
object southbridge.o

View file

@ -1,14 +0,0 @@
/*
* This early setup is a handy place to enable the Ethernet if the user wants
* it.
*/
enable_eth:
movl $CONFIG_ADDR(0, SUPERIO_DEVFN, 0x50), %eax
PCI_READ_CONFIG_DWORD
/* Turn on just the Ethernet and disable modem */
orl $0x1080, %eax
mov %eax, %ecx
movl $CONFIG_ADDR(0, SUPERIO_DEVFN, 0x50), %eax
PCI_WRITE_CONFIG_DWORD