Hello Peter,
Hello Alan,
I have got the HPE-mini FPGA embedded development board running a
LEON3-SPARC Snapgear-linux with a 2.6.21 kernel. The Cypress cy7c67300
is directly connected to an Altera Cylcone II FPGA in HPI mode.
First, I was very glad to find a c67x00 driver for 2.6, but I need to
do some porting stuff back to 2.6.21/SPARC, that should'nt be a big
deal. However, while reading the code back and forth , I was just
wondering how and where the "pdev->dev.platform_data" gets allocated as
it is referenced in function c67x00_drv_probe() without the
platform_device_add_data() beeing called anywhere before. I've browsed
through the drivers/base-code where all platform-driver specific stuff
is done, but I really wasn't able to see where this allocation happens.
Can you give me a hint where to look at?
Thanks!
alf scherer
Peter Korsgaard schrieb:
The Cypress c67x00 (EZ-Host/EZ-OTG) controllers are multi-role low/fullspeed
USB controllers. This patch series implements a HCD driver and shows the
work-in-progress status of a gadget driver.
I believe patch 1..3 are ready, and I would like to see them queued up for
2.6.25.
Changes since v5:
- Merged c67x00_ll_{get,set}_siemsg() into c67x00_ll_fetch_siemsg().
- Fix for interrupt race condition at probe time (reported by Grant)
Changes since v4:
- Addressed Grant's comments (c67x00_dev->c67x00_hcd_dev, label indent)
- Moved c67x00_ll_set_ep_{ctrl,packet_size}_reg() to patch 4 as they are
only needed for gadget support.
- Added c67x00_ prefix to struct lcp_int_data
Changes since v3:
- Lots of cleanups: checkpatch, interrupt handling, c67x00_ prefixes, ..
- The dummy platform_device's created per serial engine are gone.
- Gadget driver (WIP)
--
Bye, Peter Korsgaard
-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html