Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9fde18b

Browse files
committed
fix build when XHCI debug is not enabled.
1 parentb8c539f commit9fde18b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

‎rom/usb/pciusb/xhcidebug.c‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (C) 2023, The AROS Development Team. All rights reserved
2+
Copyright (C) 2023-2025, The AROS Development Team. All rights reserved
33
44
Desc: XHCI chipset driver debug functions
55
*/
@@ -15,6 +15,9 @@
1515
#include"uhwcmd.h"
1616
#include"xhciproto.h"
1717

18+
/* Debug functions */
19+
#if defined(PCIUSB_XHCI_DEBUG)
20+
1821
#undef base
1922
#definebase (hc->hc_Device)
2023

@@ -26,10 +29,6 @@
2629
//#define XHCI_ENABLEPORTDEBUG
2730
//#define XHCI_ENABLECCDEBUG
2831
#endif
29-
30-
/* Debug functions */
31-
#if defined(DEBUG)&& (DEBUG>0)
32-
3332
voidxhciDumpIN(volatilestructxhci_inctx*in)
3433
{
3534
#if defined(XHCI_ENABLEINDEBUG)
@@ -327,5 +326,5 @@ void xhciDumpCC(UBYTE cc)
327326
};
328327
#endif
329328
}
330-
#endif
329+
#endif/* PCIUSB_XHCI_DEBUG */
331330
#endif/* PCIUSB_ENABLEXHCI */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp