sb/intel/i82801gx: Remove nic.c driver
It does nothing special, so why have it in the first place? Change-Id: I27aff0ed67e9c69ab78050d35b49f6e26924d31a Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43174 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-by: Christian Walter <christian.walter@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
5f201ef866
commit
9511ce7d7f
|
@ -11,7 +11,6 @@ ramstage-y += ac97.c
|
||||||
ramstage-y += azalia.c
|
ramstage-y += azalia.c
|
||||||
ramstage-y += ide.c
|
ramstage-y += ide.c
|
||||||
ramstage-y += lpc.c
|
ramstage-y += lpc.c
|
||||||
ramstage-y += nic.c
|
|
||||||
ramstage-y += pci.c
|
ramstage-y += pci.c
|
||||||
ramstage-y += pcie.c
|
ramstage-y += pcie.c
|
||||||
ramstage-y += sata.c
|
ramstage-y += sata.c
|
||||||
|
|
|
@ -1,28 +0,0 @@
|
||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
||||||
|
|
||||||
/* This code should work for all ICH* southbridges with a NIC. */
|
|
||||||
|
|
||||||
#include <device/device.h>
|
|
||||||
#include <device/pci.h>
|
|
||||||
#include <device/pci_ids.h>
|
|
||||||
|
|
||||||
static void nic_init(struct device *dev)
|
|
||||||
{
|
|
||||||
/* Nothing yet */
|
|
||||||
}
|
|
||||||
|
|
||||||
static struct device_operations nic_ops = {
|
|
||||||
.read_resources = pci_dev_read_resources,
|
|
||||||
.set_resources = pci_dev_set_resources,
|
|
||||||
.enable_resources = pci_dev_enable_resources,
|
|
||||||
.init = nic_init,
|
|
||||||
};
|
|
||||||
|
|
||||||
/* 82801GB/GR/GDH/GBM/GHM (ICH7/ICH7R/ICH7DH/ICH7-M/ICH7-M DH) */
|
|
||||||
/* Note: 82801GU (ICH7-U) doesn't have a NIC. */
|
|
||||||
/* PCI ID loaded from EEPROM. If EEPROM is 0, 0x27dc is used. */
|
|
||||||
static const struct pci_driver i82801gx_nic __pci_driver = {
|
|
||||||
.ops = &nic_ops,
|
|
||||||
.vendor = PCI_VENDOR_ID_INTEL,
|
|
||||||
.device = 0x27dc,
|
|
||||||
};
|
|
Loading…
Reference in New Issue