mirror of
https://github.com/ipxe/ipxe
synced 2026-03-16 03:02:07 +03:00
Automatically updated using
perl -pi -0777 -e 's/_probe\s*\(\s*struct dev \*dev,\s*struct pci_device \*(\w+?)\s*\)\s*{(\s*)struct nic \*nic.*?$/_probe ( struct dev *dev ) {\n${2}struct nic *nic = nic_device ( dev );\n${2}struct pci_device *$1 = pci_device ( dev );/ms' *.c
This commit is contained in:
@@ -601,9 +601,11 @@ static void eepro100_disable(struct dev *dev __unused)
|
||||
* leaves the 82557 initialized, and ready to recieve packets.
|
||||
*/
|
||||
|
||||
static int eepro100_probe(struct dev *dev, struct pci_device *p)
|
||||
{
|
||||
struct nic *nic = (struct nic *)dev;
|
||||
static int eepro100_probe ( struct dev *dev ) {
|
||||
|
||||
struct nic *nic = nic_device ( dev );
|
||||
|
||||
struct pci_device *p = pci_device ( dev );
|
||||
unsigned short sum = 0;
|
||||
int i;
|
||||
int read_cmd, ee_size;
|
||||
|
||||
Reference in New Issue
Block a user