diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-11-13 19:05:18 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2012-11-13 19:05:18 +0100 |
commit | 4d411e0dd94cea2b71e6c526399ef96cdf3cb364 (patch) | |
tree | 2a54177f794120ae9b3c8df446f560c5f7325b45 /cli.c | |
parent | 4a39fdf798b4f8f6dadc7109f04587dced12b5a9 (diff) | |
download | ipecamera-4d411e0dd94cea2b71e6c526399ef96cdf3cb364.tar.gz ipecamera-4d411e0dd94cea2b71e6c526399ef96cdf3cb364.tar.bz2 ipecamera-4d411e0dd94cea2b71e6c526399ef96cdf3cb364.tar.xz ipecamera-4d411e0dd94cea2b71e6c526399ef96cdf3cb364.zip |
Provide information on device location (bus,device,function)
Diffstat (limited to 'cli.c')
-rw-r--r-- | cli.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -507,7 +507,8 @@ void List(pcilib_t *handle, pcilib_model_description_t *model_info, const char * void Info(pcilib_t *handle, pcilib_model_description_t *model_info) { const pcilib_board_info_t *board_info = pcilib_get_board_info(handle); - printf("Vendor: %x, Device: %x, Interrupt Pin: %i, Interrupt Line: %i\n", board_info->vendor_id, board_info->device_id, board_info->interrupt_pin, board_info->interrupt_line); + printf("Vendor: %x, Device: %x, Bus: %x, Slot: %x, Function: %x\n", board_info->vendor_id, board_info->device_id, board_info->bus, board_info->slot, board_info->func); + printf(" Interrupt - Pin: %i, Line: %i\n", board_info->interrupt_pin, board_info->interrupt_line); List(handle, model_info, (char*)-1, 0); } |