summaryrefslogtreecommitdiffstats
path: root/src/util/parserom.pl
diff options
context:
space:
mode:
authorThomas Miletich2009-03-26 11:19:03 +0100
committerMichael Brown2009-03-26 11:22:15 +0100
commit3da6f1c7bdc227ed0b5ab45562278fa4a18c15d3 (patch)
treed82a21d15227a2fa7ff990363e50fdc38a132c71 /src/util/parserom.pl
parent[time] Add the sleep command (diff)
downloadipxe-3da6f1c7bdc227ed0b5ab45562278fa4a18c15d3.tar.gz
ipxe-3da6f1c7bdc227ed0b5ab45562278fa4a18c15d3.tar.xz
ipxe-3da6f1c7bdc227ed0b5ab45562278fa4a18c15d3.zip
[pci] Add driver_data field to struct pci_device_id
Modified-by: Michael Brown <mcb30@etherboot.org> Signed-off-by: Michael Brown <mcb30@etherboot.org>
Diffstat (limited to 'src/util/parserom.pl')
-rw-r--r--src/util/parserom.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/parserom.pl b/src/util/parserom.pl
index 3d41b544..578eb1dc 100644
--- a/src/util/parserom.pl
+++ b/src/util/parserom.pl
@@ -45,7 +45,8 @@ while ( <DRV> ) {
\s*0x([0-9A-Fa-f]{4})\s*, # PCI vendor
\s*0x([0-9A-Fa-f]{4})\s*, # PCI device
\s*\"([^\"]*)\"\s*, # Image
- \s*\"([^\"]*)\"\s* # Description
+ \s*\"([^\"]*)\"\s*, # Description
+ \s*.*\s* # Driver data
\)/x ) {
( my $vendor, my $device, my $image, my $desc ) = ( lc $1, lc $2, $3, $4 );
rom ( "pci", $image, $desc, $vendor, $device );