mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 04:50:25 +03:00
Automatically updated using
perl -pi -0777 -e 's/(_probe\s*\(\s*struct\s+dev.*?)(\s*\)\s*{.*?$)\s*struct pci_device.*?=\s*pci_device \( dev \);$/${1}, struct pci_device *pci${2}/ms' *.c
sis900 excluded from update
This commit is contained in:
@@ -92,9 +92,8 @@ static int prism2_find_plx ( hfa384x_t *hw, struct pci_device *p )
|
||||
return found;
|
||||
}
|
||||
|
||||
static int prism2_plx_probe ( struct dev *dev ) {
|
||||
static int prism2_plx_probe ( struct dev *dev, struct pci_device *pci ) {
|
||||
struct nic *nic = nic_device ( dev );
|
||||
struct pci_device *pci = pci_device ( dev );
|
||||
hfa384x_t *hw = &hw_global;
|
||||
|
||||
if ( ! find_pci_device ( pci, &prism2_plx_driver ) )
|
||||
|
||||
Reference in New Issue
Block a user