2005-09-14 17:34:03 +02:00
|
|
|
/*
|
|
|
|
* (C) 2003 Linux Networx
|
|
|
|
*/
|
|
|
|
#include <console/console.h>
|
|
|
|
#include <device/device.h>
|
|
|
|
#include <device/pci.h>
|
|
|
|
#include <device/pci_ids.h>
|
|
|
|
#include <device/pci_ops.h>
|
2010-02-27 02:50:21 +01:00
|
|
|
#include "i82801cx.h"
|
2005-09-14 17:34:03 +02:00
|
|
|
|
|
|
|
|
|
|
|
static struct device_operations ac97audio_ops = {
|
|
|
|
.read_resources = pci_dev_read_resources,
|
|
|
|
.set_resources = pci_dev_set_resources,
|
|
|
|
.enable_resources = pci_dev_enable_resources,
|
2010-02-27 02:50:21 +01:00
|
|
|
.enable = i82801cx_enable,
|
2005-09-14 17:34:03 +02:00
|
|
|
.init = 0,
|
|
|
|
.scan_bus = 0,
|
|
|
|
};
|
|
|
|
|
2007-10-24 11:08:58 +02:00
|
|
|
static const struct pci_driver ac97audio_driver __pci_driver = {
|
2005-09-14 17:34:03 +02:00
|
|
|
.ops = &ac97audio_ops,
|
|
|
|
.vendor = PCI_VENDOR_ID_INTEL,
|
|
|
|
.device = PCI_DEVICE_ID_INTEL_82801CA_AC97_AUDIO,
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
static struct device_operations ac97modem_ops = {
|
|
|
|
.read_resources = pci_dev_read_resources,
|
|
|
|
.set_resources = pci_dev_set_resources,
|
|
|
|
.enable_resources = pci_dev_enable_resources,
|
2010-02-27 02:50:21 +01:00
|
|
|
.enable = i82801cx_enable,
|
2005-09-14 17:34:03 +02:00
|
|
|
.init = 0,
|
|
|
|
.scan_bus = 0,
|
|
|
|
};
|
|
|
|
|
2007-10-24 11:08:58 +02:00
|
|
|
static const struct pci_driver ac97modem_driver __pci_driver = {
|
2005-09-14 17:34:03 +02:00
|
|
|
.ops = &ac97modem_ops,
|
|
|
|
.vendor = PCI_VENDOR_ID_INTEL,
|
|
|
|
.device = PCI_DEVICE_ID_INTEL_82801CA_AC97_MODEM,
|
|
|
|
};
|