00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "compat.h"
00011 #include <asm/arch/hwregs/iop/iop_reg_space.h>
00012 #include "iop-usb-int.h"
00013
00014 struct iop_usb_cfg iop_usb_cfg = { -1, -1, -1 };
00015
00016 #define IOP_USB_INST \
00017 { \
00018 .spu = SPU, \
00019 .dma_in = DMA_IN, \
00020 .dma_out = DMA_OUT, \
00021 .dmc_in = DMC_IN, \
00022 .dmc_out = DMC_OUT, \
00023 .scrc_out = SCRC_OUT, \
00024 .crc_par = CRC_PAR, \
00025 .fifo_in = FIFO_IN, \
00026 .fifo_out = FIFO_OUT, \
00027 .fifo_out_extra = FIFO_OUT_EXTRA, \
00028 .sw_spu = SW_SPU, \
00029 .frame_timer_grp = FRAME_TIMER_GRP, \
00030 .rx_cnt_timer_grp = RX_CNT_TIMER_GRP, \
00031 },
00032
00033 const struct iop_usb_inst iop_usb_inst[] = {
00034
00035 #undef IOP_USB_DMAMAPPING
00036 #define IOP_USB_DMAMAPPING 1
00037 #include "iop-usb-map.h"
00038 IOP_USB_INST
00039
00040 #undef IOP_USB_DMAMAPPING
00041 #define IOP_USB_DMAMAPPING 0
00042 #include "iop-usb-map.h"
00043 IOP_USB_INST
00044 };