2003-10-11 08:20:25 +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>
|
|
|
|
#include "amd8111.h"
|
|
|
|
|
|
|
|
|
|
|
|
static struct device_operations nic_ops = {
|
|
|
|
.read_resources = pci_dev_read_resources,
|
|
|
|
.set_resources = pci_dev_set_resources,
|
|
|
|
.enable_resources = pci_dev_enable_resources,
|
2004-10-21 03:52:21 +02:00
|
|
|
// .enable = amd8111_enable,
|
2003-10-11 08:20:25 +02:00
|
|
|
.init = 0,
|
|
|
|
.scan_bus = 0,
|
|
|
|
};
|
|
|
|
|
|
|
|
static struct pci_driver nic_driver __pci_driver = {
|
|
|
|
.ops = &nic_ops,
|
|
|
|
.vendor = PCI_VENDOR_ID_AMD,
|
|
|
|
.device = 0x7462,
|
|
|
|
};
|