summaryrefslogtreecommitdiffstats
path: root/src/arch
diff options
context:
space:
mode:
authorMichael Brown2011-02-12 02:11:57 +0100
committerMichael Brown2011-02-17 02:25:12 +0100
commit5bde349e55640b2d21fbe0f4f53edabe6878eb91 (patch)
tree6e99ca19a9ebfe68ddb06f353d06154651d1f635 /src/arch
parent[pci] Replace pci_max_bus() with pci_num_bus() (diff)
downloadipxe-5bde349e55640b2d21fbe0f4f53edabe6878eb91.tar.gz
ipxe-5bde349e55640b2d21fbe0f4f53edabe6878eb91.tar.xz
ipxe-5bde349e55640b2d21fbe0f4f53edabe6878eb91.zip
[pci] Make driver PCI ID a property of the PCI device
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/i386/drivers/net/undi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/arch/i386/drivers/net/undi.c b/src/arch/i386/drivers/net/undi.c
index 017843f6a..34fd09562 100644
--- a/src/arch/i386/drivers/net/undi.c
+++ b/src/arch/i386/drivers/net/undi.c
@@ -62,8 +62,7 @@ static struct undi_rom * undipci_find_rom ( struct pci_device *pci ) {
* @v id PCI ID
* @ret rc Return status code
*/
-static int undipci_probe ( struct pci_device *pci,
- const struct pci_device_id *id __unused ) {
+static int undipci_probe ( struct pci_device *pci ) {
struct undi_device *undi;
struct undi_rom *undirom;
int rc;