Hi, I try to add USB support with the help in
http://famschmid.net/uclinuxtutorial_nios.html#usb
But when i compile the kernel, the error below come out. Anyone know what i
done wrong?
Thanks
In file included from drivers/usb/host/isp1362-hcd.c:100:
drivers/usb/host/isp1362.h:82:2: warning: #warning No platform specific
options defined, using defaults
In file included from drivers/usb/host/isp1362-hcd.c:100:
drivers/usb/host/isp1362.h: In function `isp1362_read_fifo':
drivers/usb/host/isp1362.h:789: warning: passing arg 1 of `__raw_readsw'
makes pointer from integer without a cast
drivers/usb/host/isp1362.h: In function `isp1362_write_fifo':
drivers/usb/host/isp1362.h:842: warning: passing arg 1 of `__raw_writesw'
makes pointer from integer without a cast
drivers/usb/host/isp1362-hcd.c: In function `claim_ptd_buffers':
drivers/usb/host/isp1362-hcd.c:214: error: implicit declaration of function
`__test_bit'
drivers/usb/host/isp1362-hcd.c: In function `prepare_ptd':
drivers/usb/host/isp1362-hcd.c:303: error: structure has no member named
`lock'
drivers/usb/host/isp1362-hcd.c:378: error: structure has no member named
`lock'
drivers/usb/host/isp1362-hcd.c: In function `finish_request':
drivers/usb/host/isp1362-hcd.c:502: error: structure has no member named
`lock'
drivers/usb/host/isp1362-hcd.c:506: error: structure has no member named
`lock'
drivers/usb/host/isp1362-hcd.c:528: error: too few arguments to function
`usb_hcd_giveback_urb'
drivers/usb/host/isp1362-hcd.c: In function `postproc_ep':
drivers/usb/host/isp1362-hcd.c:603: error: structure has no member named
`lock'
drivers/usb/host/isp1362-hcd.c:607: error: structure has no member named
`lock'
drivers/usb/host/isp1362-hcd.c: In function `isp1362_urb_enqueue':
drivers/usb/host/isp1362-hcd.c:1442: error: structure has no member named
`lock'
drivers/usb/host/isp1362-hcd.c:1444: error: structure has no member named
`lock'
drivers/usb/host/isp1362-hcd.c:1453: error: structure has no member named
`lock'
drivers/usb/host/isp1362-hcd.c: In function `isp1362_mem_config':
drivers/usb/host/isp1362-hcd.c:2369: warning: long int format, unsigned int
arg (arg 5)
drivers/usb/host/isp1362-hcd.c:2372: warning: long int format, unsigned int
arg (arg 5)
drivers/usb/host/isp1362-hcd.c: At top level:
drivers/usb/host/isp1362-hcd.c:2760: warning: initialization from
incompatible pointer type
drivers/usb/host/isp1362-hcd.c:2761: warning: initialization from
incompatible pointer type
drivers/usb/host/isp1362-hcd.c: In function `isp1362_probe':
drivers/usb/host/isp1362-hcd.c:2904: error: implicit declaration of function
`set_irq_type'
drivers/usb/host/isp1362-hcd.c:2904: error: `IRQ_TYPE_EDGE_RISING'
undeclared (first use in this function)
drivers/usb/host/isp1362-hcd.c:2904: error: (Each undeclared identifier is
reported only once
drivers/usb/host/isp1362-hcd.c:2904: error: for each function it appears
in.)
drivers/usb/host/isp1362-hcd.c:2904: error: `IRQ_TYPE_EDGE_FALLING'
undeclared (first use in this function)
drivers/usb/host/isp1362-hcd.c:2908: error: `SA_INTERRUPT' undeclared (first
use in this function)
drivers/usb/host/isp1362-hcd.c:2908: error: `SA_SHIRQ' undeclared (first use
in this function)
drivers/usb/host/isp1362-hcd.c: At top level:
drivers/usb/host/isp1362-hcd.c:1572: warning: 'isp1362_bus_suspend' declared
`static' but never defined
make[4]: *** [drivers/usb/host/isp1362-hcd.o] Error 1
make[3]: *** [drivers/usb/host] Error 2
make[2]: *** [drivers/usb] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory
`/home/fairuz/test/uClinux-dist-lpc_2478_stk/linux-2.6.24.2-lpc2478-patched'
make: *** [linux] Error 1
--
Wan Mohd Fairuz WAN ISMAIL
Masters in Electronics Engineering,
Majoring in Embedded System Engineering,
Polytech Nice Sophia Antipolis, FRANCE.
+33(0)643461339
+60172071591
15 Le Palais des Fleurs,
74 Boulevard Raymond Poincare,
06160 Juan les Pins, FRANCE.
http://www.watt.com.my
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev