#include <agnix/agnix.h>#include <agnix/adi/adi.h>Include dependency graph for pcibus_names.c:

Go to the source code of this file.
Functions | |
| const char * | pcibus_device_name (u32 vendor_id, u32 device_id) |
| const char * | pcibus_vendor_name (u32 vendor_id) |
Variables | |
| pcibus_vendor_name_s | pcibus_vendor_names [] |
| pcibus_device_name_s | pcibus_device_names [] |
|
||||||||||||
|
Definition at line 20 of file pcibus_names.c. References pcibus_device_names. Referenced by pcibus_scan_card(). 00021 {
00022 int i = 0;
00023
00024 while(pcibus_device_names[i].device_name != NULL) {
00025 if ((pcibus_device_names[i].vendor_id == vendor_id) &&
00026 (pcibus_device_names[i].device_id == device_id)) {
00027 return pcibus_device_names[i].device_name;
00028 }
00029
00030 i++;
00031 }
00032
00033 return NULL;
00034 }
|
|
|
Definition at line 36 of file pcibus_names.c. References pcibus_vendor_names. 00037 {
00038 int i = 0;
00039
00040 while(pcibus_vendor_names[i].vendor_name != NULL) {
00041 if (pcibus_vendor_names[i].vendor_id == vendor_id) {
00042 return pcibus_vendor_names[i].vendor_name;
00043 }
00044
00045 i++;
00046 }
00047
00048 return NULL;
00049 }
|
|
|
Definition at line 17 of file pcibus_device_names.c. Referenced by pcibus_device_name(). |
|
|
Definition at line 17 of file pcibus_vendor_names.c. Referenced by pcibus_vendor_name(). |