projects
/
ppcskel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
@get_descriptor|String: disable control quirk *sigh* and keep in mind to do not reque...
[ppcskel.git]
/
main.c
diff --git
a/main.c
b/main.c
index c8193f4b874b9e33252975a505b19357808f848d..18cc42220e94461b00249626e61743d4e607d6ea 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-24,8
+24,8
@@
Copyright (C) 2009 John Kelley <wiidev@kelley.ca>
#include "video_low.h"
#include "input.h"
#include "console.h"
#include "video_low.h"
#include "input.h"
#include "console.h"
-#include "ohci.h"
#include "irq.h"
#include "irq.h"
+#include "usb/core/core.h"
#define MINIMUM_MINI_VERSION 0x00010001
#define MINIMUM_MINI_VERSION 0x00010001
@@
-100,8
+100,6
@@
int main(void)
VIDEO_SetFrameBuffer(get_xfb());
VISetupEncoder();
VIDEO_SetFrameBuffer(get_xfb());
VISetupEncoder();
- ohci_init();
-
u32 version = ipc_getvers();
u16 mini_version_major = version >> 16 & 0xFFFF;
u16 mini_version_minor = version & 0xFFFF;
u32 version = ipc_getvers();
u16 mini_version_major = version >> 16 & 0xFFFF;
u16 mini_version_minor = version & 0xFFFF;
@@
-115,19
+113,14
@@
int main(void)
; // better ideas welcome!
}
; // better ideas welcome!
}
+ usb_init();
+
/*
print_str_noscroll(112, 112, "ohai, world!\n");
testOTP();
printf("bye, world!\n");
*/
/*
print_str_noscroll(112, 112, "ohai, world!\n");
testOTP();
printf("bye, world!\n");
*/
- while(1) {
- // just to get sure we are still in this loop
- //_CPU_ISR_Enable() // don't know why this is needed...
- //udelay(100000);
- //printf("x");
- }
-
return 0;
}
return 0;
}