diff options
author | Michael Brown | 2005-04-16 19:30:37 +0200 |
---|---|---|
committer | Michael Brown | 2005-04-16 19:30:37 +0200 |
commit | 5ca20abf95377ee23a3b4f7f4e36b25cd78ee5fa (patch) | |
tree | a4623925d399549f734e92b0be6e098a5b43609d /src/drivers/net/tlan.c | |
parent | Avoid signed/unsigned warnings by explicitly making PCI_{BUS,DEV,FUNC} (diff) | |
download | ipxe-5ca20abf95377ee23a3b4f7f4e36b25cd78ee5fa.tar.gz ipxe-5ca20abf95377ee23a3b4f7f4e36b25cd78ee5fa.tar.xz ipxe-5ca20abf95377ee23a3b4f7f4e36b25cd78ee5fa.zip |
Place the call to adjust_pci_device() back in the individual drivers,
since we probably shouldn't be doing this to arbitrary devices during a
PCI bus scan...
Diffstat (limited to 'src/drivers/net/tlan.c')
-rw-r--r-- | src/drivers/net/tlan.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/net/tlan.c b/src/drivers/net/tlan.c index 7c6d5628..3041dcfe 100644 --- a/src/drivers/net/tlan.c +++ b/src/drivers/net/tlan.c @@ -794,6 +794,9 @@ static int tlan_probe ( struct dev *dev, struct pci_device *pci ) { nic->ioaddr = pci->ioaddr; BASE = pci->ioaddr; + + /* Set nic as PCI bus master */ + adjust_pci_device(pci); /* Point to private storage */ priv = &TLanPrivateInfo; |