forked from Imagelibrary/rtems
2005-03-04 Joel Sherrill <joel@OARcorp.com>
* libchip/network/dec21140.c, libchip/network/if_fxp.c: Make PCI initialize function part of the unified PCI API as pci_initialize().
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2005-03-04 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* libchip/network/dec21140.c, libchip/network/if_fxp.c: Make PCI
|
||||
initialize function part of the unified PCI API as pci_initialize().
|
||||
|
||||
2005-02-16 Ralf Corsepius <ralf.corsepius@rtems.org>
|
||||
|
||||
* aclocal/ppc.m4; Dynamically switch between {old|new} exceptions
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user