Changeset 9c5873b7 in rtems for c/src/libchip/network/if_dc.c
- Timestamp:
- 06/17/05 14:32:23 (18 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 18ec73e3
- Parents:
- 181601f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/libchip/network/if_dc.c
r181601f r9c5873b7 95 95 */ 96 96 97 /* 98 * This driver only supports architectures with the new style 99 * exception processing. The following checks try to keep this 100 * from being compiled on systems which can't support this driver. 101 */ 102 103 #if defined(__i386__) 104 #define DRIVER_SUPPORTED 105 #endif 106 107 #if defined(__PPC__) && (defined(mpc604) || defined(mpc750) || defined(mpc603e)) 108 #define DRIVER_SUPPORTED 109 #endif 110 111 #undef DRIVER_SUPPORTED 112 113 #if defined(DRIVER_SUPPORTED) 97 114 #include <rtems.h> 98 115 #include <rtems/error.h> … … 115 132 116 133 #include "if_media.h" 117 #include "pci.h"118 /* #include <rtems/pci.h> moved to cpukit/include/rtems in CVS current !134 #include <rtems/pci.h> 135 /* 119 136 #include <sys/kernel.h> 120 137 #include <sys/sysctl.h> … … 161 178 #endif 162 179 163 #if defined(__i386__) 164 #include <irq.h> 165 #include <pcibios.h> 166 #endif 180 #include <bsp/irq.h> 167 181 168 182 … … 1905 1919 * First, find a DEC board 1906 1920 */ 1907 if (pci b_init() == PCIB_ERR_NOTPRESENT) {1921 if (pci_initialize() == PCIB_ERR_NOTPRESENT) { 1908 1922 rtems_panic("PCI BIOS not found !!"); 1909 1923 } … … 3797 3811 3798 3812 3813 #endif /* end if supported */
Note: See TracChangeset
for help on using the changeset viewer.