OHCI1 driver for GameCube mode:
------------------------------
In GC mode, the only memory accessible to the
IOP is 96K of SRAM:
   0xffff_0000 - 0xffff_ffff  - 64K ("SRAM base region")
   0xfffe_0000 - 0xfffe_8000  - 32K ("SRAM extended region")

The OHCI1 driver runs in the SRAM extended region. The current 
memory usage is as follows:
   - OHCI driver ~22K (lower part of extended region)
   - IOP OS ~30K  (lower part of base region)

The following features of the OHCI driver are disabled for
OH1 in GC mode:
  - Hotplug support
  - Isochronous transfers
  - API extensions to allow access to root-hub
  - API to obtain a list of connected devices by class
  
The following API is available:
  - Open and close device
  - Control, bulk and interrupt transfers
  - Suspend/resume device

The API is identical to the normal mode OHCI driver and can
be linked in via the standard USB library, libusb.a.

How to build and run examples:
----------------------------
The following tests contain the test merged with the driver:
 mini_ohci1_mouse.elf (mouse test)
 mini_ohci1_asix.elf (Ethernet test)
 mini_ohci1_bt.elf (Bluetooth test)
The following test contains the a standalone test:
 mini_bt.elf (Bluetooth test)

Please note that since NDEV2s don't expose the OH1 port
and have BRCM2045 soldered on, you can only test devices
other than the 2045 on NDEV1s.

To run the test, you need to create a merged image
and load it via the IOP OS shell command "os":
1) Build ELF files in current directory:
    make clean
    make 
    make install

2) In rvl/boot/compat, build mios.img. The default Makefile
   only merges the OH1 driver without tests (mini_ohci1.elf).
   Use the following line to merge tests which include the driver:
	  $(MERGE) -o $@ -k $(ROOT)/usr/bin/rvl/mini_ios.elf \
	    -P $(ROOT)/usr/bin/nintendo/compat/BS2.img \
	    -p $(ROOT)/usr/bin/nintendo/compat/BS1.img \
		-s $(MK_SHARED_START) \
		-z $(MK_SHARED_SIZE) \
		-v $(ROOT)/usr/bin/rvl/mini_ohci1_mouse.elf 

   Use the following line to merge the standalone test:
	$(MERGE) -o $@ -k $(ROOT)/usr/bin/rvl/mini_ios.elf \
	    -P $(ROOT)/usr/bin/nintendo/compat/BS2.img \
	    -p $(ROOT)/usr/bin/nintendo/compat/BS1.img \
		-s $(MK_SHARED_START) \
		-z $(MK_SHARED_SIZE) \
		-v $(ROOT)/usr/bin/rvl/mini_ohci1.elf  \
		-v $(ROOT)/usr/bin/rvl/mini_bt.elf 

2) Run merged image, mios.irg:
     - Load and run ios_crypto from the JTAG debugger. This
       will bring you to a shell prompt.
     - At the shell prompt, run:
        os {your_path}\mios.irg
--------------------------------------------------------------
