* libchip/network/if_fxp.c, libchip/network/if_dc.c,
	libchip/network/dec21140.c: Remove initialization of PCI bus.
This commit is contained in:
Joel Sherrill
2005-08-22 13:31:30 +00:00
parent cee7620ed6
commit 213810b374
4 changed files with 5 additions and 17 deletions

View File

@@ -1,3 +1,8 @@
2005-08-18 Karel Gardas <kgardas@objectsecurity.com>
* libchip/network/if_fxp.c, libchip/network/if_dc.c,
libchip/network/dec21140.c: Remove initialization of PCI bus.
2005-08-15 Ralf Corsepius <ralf.corsepius@rtems.org> 2005-08-15 Ralf Corsepius <ralf.corsepius@rtems.org>
* optman/Makefile.am: Add preinstall.am. * optman/Makefile.am: Add preinstall.am.

View File

@@ -1027,9 +1027,6 @@ rtems_dec21140_driver_attach (struct rtems_bsdnet_ifconfig *config, int attach)
return 0; return 0;
} }
if (pci_initialize() != PCIB_ERR_SUCCESS)
rtems_panic("dec2114x: Unable to initialize PCI");
/* /*
* Find the board * Find the board
*/ */

View File

@@ -1918,10 +1918,6 @@ rtems_dc_driver_attach(struct rtems_bsdnet_ifconfig *config, int attaching)
/* /*
* First, find a DEC board * First, find a DEC board
*/ */
if (pci_initialize() == PCIB_ERR_NOTPRESENT) {
rtems_panic("PCI BIOS not found !!");
}
sc = &dc_softc_devs[unitNumber - 1]; sc = &dc_softc_devs[unitNumber - 1];
ifp = &sc->arpcom.ac_if; ifp = &sc->arpcom.ac_if;

View File

@@ -446,16 +446,6 @@ rtems_fxp_attach(struct rtems_bsdnet_ifconfig *config, int attaching)
#endif #endif
s = splimp(); s = splimp();
/*
* init PCI Bios interface...
*/
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");
return 0;
}
/* /*
* find device on pci bus * find device on pci bus
*/ */