***/
static int a3c90x_probe(struct pci_dev * pci, void * data)
{
- struct nic *nic = (struct nic *)data;
INF_3C90X.is3c556 = (pci->did == 0x6055);
int i, c;
#include <pci.h>
+#include <pci-bother.h>
struct pci_bother {
int bus, dev, fn;
int i;
for (i = 0; i < nbothers; i++)
- pci_write16(bothers[i].bus, bothers[i].dev, bothers[i].fn, 0x0);
+ pci_write16(bothers[i].bus, bothers[i].dev, bothers[i].fn, 0x04, 0x0);
}
void pci_unbother_all()
int i;
for (i = 0; i < nbothers; i++)
- pci_write16(bothers[i].bus, bothers[i].dev, bothers[i].fn, bothers[i].origstate);
+ pci_write16(bothers[i].bus, bothers[i].dev, bothers[i].fn, 0x04, bothers[i].origstate);
}