disable noop usb drivers. remove warnings

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1589 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2004-06-03 07:57:12 +00:00
parent 2c83b27c91
commit 515f6b68a0
4 changed files with 6 additions and 6 deletions

View File

@ -1,10 +1,10 @@
config amd8111.h config amd8111.h
driver amd8111.o driver amd8111.o
driver amd8111_usb.o #driver amd8111_usb.o
driver amd8111_lpc.o driver amd8111_lpc.o
driver amd8111_ide.o driver amd8111_ide.o
driver amd8111_acpi.o driver amd8111_acpi.o
driver amd8111_usb2.o #driver amd8111_usb2.o
driver amd8111_ac97.o driver amd8111_ac97.o
driver amd8111_nic.o driver amd8111_nic.o
driver amd8111_pci.o driver amd8111_pci.o

View File

@ -10,6 +10,8 @@
#include <pc80/mc146818rtc.h> #include <pc80/mc146818rtc.h>
#include "amd8111.h" #include "amd8111.h"
void isa_dma_init(void); /* from /pc80/isa-dma.c */
#define NMI_OFF 0 #define NMI_OFF 0
struct ioapicreg { struct ioapicreg {

View File

@ -7,19 +7,17 @@
static void usb_init(struct device *dev) static void usb_init(struct device *dev)
{ {
#if 0
uint32_t cmd; uint32_t cmd;
#if 0
printk_debug("USB: Setting up controller.. "); printk_debug("USB: Setting up controller.. ");
cmd = pci_read_config32(dev, PCI_COMMAND); cmd = pci_read_config32(dev, PCI_COMMAND);
pci_write_config32(dev, PCI_COMMAND, pci_write_config32(dev, PCI_COMMAND,
cmd | PCI_COMMAND_IO | PCI_COMMAND_MEMORY | cmd | PCI_COMMAND_IO | PCI_COMMAND_MEMORY |
PCI_COMMAND_MASTER | PCI_COMMAND_INVALIDATE); PCI_COMMAND_MASTER | PCI_COMMAND_INVALIDATE);
printk_debug("done.\n"); printk_debug("done.\n");
#endif #endif
} }
static struct device_operations usb_ops = { static struct device_operations usb_ops = {

View File

@ -9,9 +9,9 @@
static void usb2_init(struct device *dev) static void usb2_init(struct device *dev)
{ {
#if 0
uint32_t cmd; uint32_t cmd;
#if 0
printk_debug("USB: Setting up controller.. "); printk_debug("USB: Setting up controller.. ");
cmd = pci_read_config32(dev, PCI_COMMAND); cmd = pci_read_config32(dev, PCI_COMMAND);
pci_write_config32(dev, PCI_COMMAND, pci_write_config32(dev, PCI_COMMAND,