blob: 091f4d69e84806eb16050ef8f2ab13e8f6b07464 [file] [log] [blame]
Ronald G. Minnich182615d2004-08-24 16:20:46 +00001/*
2 * (C) 2003 Linux Networx
3 */
4#include <console/console.h>
5#include <device/device.h>
6#include <device/pci.h>
7#include <device/pci_ids.h>
8#include <device/pci_ops.h>
9#include "i82801dbm.h"
10
11
12static struct device_operations ac97audio_ops = {
13 .read_resources = pci_dev_read_resources,
14 .set_resources = pci_dev_set_resources,
15 .enable_resources = pci_dev_enable_resources,
16 .enable = i82801dbm_enable,
17 .init = 0,
18 .scan_bus = 0,
19};
20
21static struct pci_driver ac97audio_driver __pci_driver = {
22 .ops = &ac97audio_ops,
23 .vendor = PCI_VENDOR_ID_INTEL,
24 .device = PCI_DEVICE_ID_INTEL_82801ER_1F5,
25};
26
27
28static struct device_operations ac97modem_ops = {
29 .read_resources = pci_dev_read_resources,
30 .set_resources = pci_dev_set_resources,
31 .enable_resources = pci_dev_enable_resources,
32 .enable = i82801dbm_enable,
33 .init = 0,
34 .scan_bus = 0,
35};
36
37static struct pci_driver ac97modem_driver __pci_driver = {
38 .ops = &ac97modem_ops,
39 .vendor = PCI_VENDOR_ID_INTEL,
40 .device = PCI_DEVICE_ID_INTEL_82801ER_1F6,
41};