aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/pci.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2011-04-07 20:59:47 +0100
committerMichael Brown <mcb30@ipxe.org>2011-04-07 23:09:19 +0100
commitfc7e2be617df0f671977655249f5c6a04a0ba04f (patch)
treee0b37397cdfb2e4d588ec5c34fa9f05bb41719d4 /src/include/ipxe/pci.h
parent6e6ecacebf521b5ce91d8c141ca095e180fe762f (diff)
downloadipxe-fc7e2be617df0f671977655249f5c6a04a0ba04f.tar.gz
[device] Make driver name a generic device property
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/pci.h')
-rw-r--r--src/include/ipxe/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/pci.h b/src/include/ipxe/pci.h
index 90802a3f1..960454d69 100644
--- a/src/include/ipxe/pci.h
+++ b/src/include/ipxe/pci.h
@@ -410,6 +410,7 @@ static inline void pci_set_driver ( struct pci_device *pci,
struct pci_device_id *id ) {
pci->driver = driver;
pci->id = id;
+ pci->dev.driver_name = id->name;
}
/**