Mercurial > flash_v2
changeset 1404:165499195994
* src/pci.c (cyg_pci_find_device): Removed a debug print which should
not be there and is causing an warning.
| author | asl |
|---|---|
| date | Thu, 27 Nov 2003 10:57:59 +0000 |
| parents | f1fd4d249787 |
| children | baa5ad6ae1ed |
| files | packages/io/pci/current/ChangeLog packages/io/pci/current/src/pci.c |
| diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/io/pci/current/ChangeLog +++ b/packages/io/pci/current/ChangeLog @@ -1,3 +1,8 @@ +2003-11-27 Andrew Lunn <andrew.lunn@ascom.ch> + + * src/pci.c (cyg_pci_find_device): Removed a debug print which should + not be there and is causing an warning. + 2003-11-18 Manu Sharma <manu.sharma@ascom.com> * src/pci.c : Additional changes in cyg_pci_get_device_info,
--- a/packages/io/pci/current/src/pci.c +++ b/packages/io/pci/current/src/pci.c @@ -552,7 +552,7 @@ cyg_pci_find_device( cyg_uint16 vendor, #ifdef CYGPKG_IO_PCI_DEBUG diag_printf("... PCI vendor = %x, device = %x\n", v, d); #endif - diag_printf("... PCI vendor = %x/%x, device = %x/%x\n", v, vendor, d, device); + if (v != vendor) continue; // Check that device matches.
