
29 Nov
2006
29 Nov
'06
8:51 p.m.
Hi Matthias,
Matthias Fuchs matthias.fuchs@esd-electronics.com writes:
do you see a problem in passing a pointer to the gohci structure to usb_cpu_init() or at least to usb_board_init()?
In order to get the base address of my PCI OHCI controller I first have to find the device on the PCI bus. I think usb_board_init() is the right place for this. But I need &gohci to pass it back to the usb driver.
Thats ok with me. I think it makes sense to pass the pointer to both board and cpu init. But please provide a proper patch.
Thanks!
Markus Klotzbücher