Changeset 6e242f0 in rtems
- Timestamp:
- 08/05/02 20:13:45 (21 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 0aa6384
- Parents:
- 8b58477
- Location:
- c/src/lib/libbsp/i386/shared
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/i386/shared/ChangeLog
r8b58477 r6e242f0 1 2002-08-05 Eric Norum <eric.norum@usask.ca> 2 3 * pci/pcibios.c: Per PR262, removed all asserts so probes for 4 devices that are not present will work. This lets you have 5 multiple PCI Ethernet drivers in an application and dynamically 6 use the one for the card othat is present. 7 1 8 2002-07-16 Eric Norum <eric.norum@usask.ca> 2 9 -
c/src/lib/libbsp/i386/shared/pci/pcibios.c
r8b58477 r6e242f0 10 10 #include <rtems.h> 11 11 #include <bsp.h> 12 #include <assert.h>13 12 #include <pcibios.h> 14 13 … … 76 75 { 77 76 /* BIOS-32 not found */ 78 assert(0);79 77 return PCIB_ERR_NOTPRESENT; 80 78 } … … 100 98 { 101 99 /* Not found */ 102 assert(0);103 100 return PCIB_ERR_NOTPRESENT; 104 101 } … … 125 122 { 126 123 /* Not found */ 127 assert(0);128 124 return PCIB_ERR_NOTPRESENT; 129 125 } … … 132 128 { 133 129 /* Signature does not match */ 134 assert(0);135 130 return PCIB_ERR_NOTPRESENT; 136 131 } … … 151 146 if(!pcibInitialized) 152 147 { 153 assert(0);154 148 return PCIB_ERR_UNINITIALIZED; 155 149 } … … 187 181 if(!pcibInitialized) 188 182 { 189 assert(0);190 183 return PCIB_ERR_UNINITIALIZED; 191 184 } … … 227 220 if(!pcibInitialized) 228 221 { 229 assert(0);230 222 return PCIB_ERR_UNINITIALIZED; 231 223 } … … 259 251 if(!pcibInitialized) 260 252 { 261 assert(0);262 253 return PCIB_ERR_UNINITIALIZED; 263 254 } … … 298 289 if(!pcibInitialized) 299 290 { 300 assert(0);301 291 return PCIB_ERR_UNINITIALIZED; 302 292 } … … 337 327 if(!pcibInitialized) 338 328 { 339 assert(0);340 329 return PCIB_ERR_UNINITIALIZED; 341 330 } … … 376 365 if(!pcibInitialized) 377 366 { 378 assert(0);379 367 return PCIB_ERR_UNINITIALIZED; 380 368 } … … 408 396 if(!pcibInitialized) 409 397 { 410 assert(0);411 398 return PCIB_ERR_UNINITIALIZED; 412 399 } … … 442 429 if(!pcibInitialized) 443 430 { 444 assert(0);445 431 return PCIB_ERR_UNINITIALIZED; 446 432 } … … 483 469 return PCIB_ERR_BADREG; 484 470 default: 485 assert(0);486 471 break; 487 472 }
Note: See TracChangeset
for help on using the changeset viewer.