diff options
Diffstat (limited to 'c/src/libchip/network')
-rw-r--r-- | c/src/libchip/network/dec21140.c | 6 | ||||
-rw-r--r-- | c/src/libchip/network/if_fxp.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/c/src/libchip/network/dec21140.c b/c/src/libchip/network/dec21140.c index 6a061b0461..69fc0cbf1c 100644 --- a/c/src/libchip/network/dec21140.c +++ b/c/src/libchip/network/dec21140.c @@ -1038,15 +1038,15 @@ rtems_dec21140_driver_attach (struct rtems_bsdnet_ifconfig *config, int attach) return 0; } + if (pci_initialize() != PCIB_ERR_SUCCESS) + rtems_panic("Unable to initialize PCI"); + #if defined(__i386__) /* * First, find a DEC board */ - if (pcib_init() == PCIB_ERR_NOTPRESENT) - rtems_panic("PCI BIOS not found !!"); - /* * Try to find the network card on the PCI bus. Probe for a DEC 21140 * card first. If not found probe the bus for a DEC/Intel 21143 card. diff --git a/c/src/libchip/network/if_fxp.c b/c/src/libchip/network/if_fxp.c index 83e808018a..a08ab3e25d 100644 --- a/c/src/libchip/network/if_fxp.c +++ b/c/src/libchip/network/if_fxp.c @@ -449,7 +449,7 @@ rtems_fxp_attach(struct rtems_bsdnet_ifconfig *config, int attaching) /* * init PCI Bios interface... */ - i = pcib_init(); + i = pci_initialize(); DBGLVL_PRINTK(2,"fxp_attach: pcib_init returned %d\n",i); if (i != PCIB_ERR_SUCCESS) { device_printf(dev, "could not initialize pci bios interface\n"); |