| 1 |
|
| 2 |
|
| 3 |
#include <device/device.h> |
| 4 |
#include <device/pci.h> |
| 5 |
#include <device/pci_ids.h> |
| 6 |
#include "hudson.h" |
| 7 |
|
| 8 |
static void ide_init(struct device *dev) |
| 9 |
{ |
| 10 |
} |
| 11 |
|
| 12 |
static struct device_operations ide_ops = { |
| 13 |
.read_resources = pci_dev_read_resources, |
| 14 |
.set_resources = pci_dev_set_resources, |
| 15 |
.enable_resources = pci_dev_enable_resources, |
| 16 |
.init = ide_init, |
| 17 |
.ops_pci = &pci_dev_ops_pci, |
| 18 |
}; |
| 19 |
|
| 20 |
static const struct pci_driver ide_driver __pci_driver = { |
| 21 |
.ops = &ide_ops, |
| 22 |
.vendor = PCI_VID_AMD, |
| 23 |
.device = PCI_DID_AMD_SB900_IDE, |
| 24 |
}; |