mirror of
https://github.com/ipxe/ipxe
synced 2026-04-16 03:00:10 +03:00
[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>
This commit is contained in:
committed by
Michael Brown
parent
87b494bbab
commit
3da6f1c7bd
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user