diff options
Diffstat (limited to 'c/src/libchip/network/dec21140.c')
-rw-r--r-- | c/src/libchip/network/dec21140.c | 6 |
1 files changed, 3 insertions, 3 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. |