This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: io/pci pci.c: Remove debug message.


Gary Thomas wrote:
On Fri, 2004-01-09 at 09:29, David Vrabel wrote:

2004-01-09 David Vrabel <dvrabel@arcom.com>

* src/pci.c (cyg_pci_find_device): Remove debug message.

Now, who do you suppose left that in there? [Hint, it was probably me!]

Here's a new patch with the debug message wrapped in #ifdef CYGPKG_IO_PCI_DEBUG like all the others.


2004-01-12 David Vrabel <dvrabel@arcom.com>

	* src/pci.c (cyg_pci_find_device): Wrap debug message in
	#ifdef CYGPKG_IO_PCI_DEBUG.

David Vrabel
--
David Vrabel, Design Engineer

Arcom, Clifton Road           Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK         Web: http://www.arcom.com/


_____________________________________________________________________ The message in this transmission is sent in confidence for the attention of the addressee only and should not be disclosed to any other party. Unauthorised recipients are requested to preserve this confidentiality. Please advise the sender if the addressee is not resident at the receiving end. Email to and from Arcom is automatically monitored for operational and lawful business reasons.

This message has been checked for all viruses by MessageLabs Virus Control Centre.
Index: io/pci/current/src/pci.c
===================================================================
RCS file: /var/cvs/ecos/packages/io/pci/current/src/pci.c,v
retrieving revision 1.1.1.3
retrieving revision 1.3
diff -u -B -p -r1.1.1.3 -r1.3
--- io/pci/current/src/pci.c	3 Dec 2003 10:46:22 -0000	1.1.1.3
+++ io/pci/current/src/pci.c	12 Jan 2004 09:39:49 -0000	1.3
@@ -558,7 +558,9 @@ cyg_pci_find_device( cyg_uint16 vendor, 
         // Check that device matches.
         if (d == device) {
             *devid = new_devid;
+#ifdef CYGPKG_IO_PCI_DEBUG
             diag_printf("Found it!\n");
+#endif
             return true;
         }
     }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]