hi hippo
Before i was uesd the patch "isp1362-nios2-01.diff" and compiled ok.
now,i am using patch "isp1362" and complie ok,but i can't find the "isp1362-hcd.o" in ~/linux2.6.x/drivers/usb/host dir.
i find the "(CONFIG_USB_ISP362X_HCD)" at line 14 in ~/linux2.6.x/drivers/usb/makefile and replace it to "(CONFIG_USB_ISP1362_HCD)"..
final , when i have rebuild kernel then occur error messages........
CHK include/asm-nios2nommu/asm-offsets.h
CHK include/linux/compile.h
CHK usr/initramfs_list
CC drivers/usb/host/isp1362-hcd.o
drivers/usb/host/isp1362-hcd.c:1293: error: syntax error before "gfp_t"
drivers/usb/host/isp1362-hcd.c:1294: warning: function declaration isn't a prototype
drivers/usb/host/isp1362-hcd.c: In function `isp1362_urb_enqueue':
drivers/usb/host/isp1362-hcd.c:1295: error: `hcd' undeclared (first use in this function)
drivers/usb/host/isp1362-hcd.c:1295: error: (Each undeclared identifier is reported only once
drivers/usb/host/isp1362-hcd.c:1295: error: for each function it appears in.)
drivers/usb/host/isp1362-hcd.c:1296: error: `urb' undeclared (first use in this function)
drivers/usb/host/isp1362-hcd.c:1333: error: `hep' undeclared (first use in this function)
drivers/usb/host/isp1362-hcd.c:1334: error: `mem_flags' undeclared (first use in this function)
drivers/usb/host/isp1362-hcd.c:1341: warning: implicit declaration of function `HC_IS_RUNNING'
drivers/usb/host/isp1362-hcd.c: In function `isp1362_mem_config':
drivers/usb/host/isp1362-hcd.c:2415: warning: int format, long unsigned int arg (arg 5)
drivers/usb/host/isp1362-hcd.c:2418: warning: int format, long unsigned int arg (arg 5)
drivers/usb/host/isp1362-hcd.c: In function `isp1362_hc_start':
drivers/usb/host/isp1362-hcd.c:2776: error: `HC_STATE_RUNNING' undeclared (first use in this function)
drivers/usb/host/isp1362-hcd.c: At top level:
drivers/usb/host/isp1362-hcd.c:2818: error: unknown field `bus_suspend' specified in initializer
drivers/usb/host/isp1362-hcd.c:2819: error: unknown field `bus_resume' specified in initializer
drivers/usb/host/isp1362-hcd.c: In function `isp1362_remove':
drivers/usb/host/isp1362-hcd.c:2828: warning: implicit declaration of function `platform_get_drvdata'
drivers/usb/host/isp1362-hcd.c:2828: warning: initialization makes pointer from integer without a cast
drivers/usb/host/isp1362-hcd.c:2834: warning: implicit declaration of function `usb_remove_hcd'
drivers/usb/host/isp1362-hcd.c: In function `isp1362_probe':
drivers/usb/host/isp1362-hcd.c:2927: error: too many arguments to function `usb_create_hcd'
drivers/usb/host/isp1362-hcd.c:2932: error: structure has no member named `rsrc_start'
drivers/usb/host/isp1362-hcd.c:2958: warning: implicit declaration of function `usb_add_hcd'
drivers/usb/host/isp1362-hcd.c: At top level:
drivers/usb/host/isp1362-hcd.c:3043: error: variable `isp1362_driver' has initializer but incomplete type
drivers/usb/host/isp1362-hcd.c:3044: error: unknown field `probe' specified in initializer
drivers/usb/host/isp1362-hcd.c:3044: warning: excess elements in struct initializer
drivers/usb/host/isp1362-hcd.c:3044: warning: (near initialization for `isp1362_driver')
drivers/usb/host/isp1362-hcd.c:3045: error: unknown field `remove' specified in initializer
drivers/usb/host/isp1362-hcd.c:3045: warning: excess elements in struct initializer
drivers/usb/host/isp1362-hcd.c:3045: warning: (near initialization for `isp1362_driver')
drivers/usb/host/isp1362-hcd.c:3047: error: unknown field `suspend' specified in initializer
drivers/usb/host/isp1362-hcd.c:3047: warning: excess elements in struct initializer
drivers/usb/host/isp1362-hcd.c:3047: warning: (near initialization for `isp1362_driver')
drivers/usb/host/isp1362-hcd.c:3048: error: unknown field `resume' specified in initializer
drivers/usb/host/isp1362-hcd.c:3048: warning: excess elements in struct initializer
drivers/usb/host/isp1362-hcd.c:3048: warning: (near initialization for `isp1362_driver')
drivers/usb/host/isp1362-hcd.c:3049: error: unknown field `driver' specified in initializer
drivers/usb/host/isp1362-hcd.c:3049: error: extra brace group at end of initializer
drivers/usb/host/isp1362-hcd.c:3049: error: (near initialization for `isp1362_driver')
drivers/usb/host/isp1362-hcd.c:3052: warning: excess elements in struct initializer
drivers/usb/host/isp1362-hcd.c:3052: warning: (near initialization for `isp1362_driver')
drivers/usb/host/isp1362-hcd.c: In function `isp1362_init':
drivers/usb/host/isp1362-hcd.c:3063: warning: implicit declaration of function `platform_driver_register'
drivers/usb/host/isp1362-hcd.c: In function `isp1362_cleanup':
drivers/usb/host/isp1362-hcd.c:3070: warning: implicit declaration of function `platform_driver_unregister'
drivers/usb/host/isp1362-hcd.c: At top level:
drivers/usb/host/isp1362-hcd.c:3043: error: storage size of `isp1362_driver' isn't known
drivers/usb/host/isp1362-hcd.c:1581: warning: 'isp1362_bus_suspend' declared `static' but never defined
make[3]: *** [drivers/usb/host/isp1362-hcd.o] Error 1
make[2]: *** [drivers/usb/host] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif
Is diffenence between the isp1362-nios2-01.diff and the isp1362.diff ?
thx in advance !