[PATCH 1/3] vme_user: Ensure driver compiles after VME bridges
Martyn Welch
martyn.welch at ge.com
Wed Dec 11 11:41:23 UTC 2013
On 05/12/13 00:29, Aaron Sierra wrote:
>
> Martyn,
> Your suggestion resolves the kernel panic associated with the vme_user
> driver being initialized before the VME bus core driver, but it doesn't
> address the issue of the vme_user driver being registered before any
> buses have been probed:
>
> [snip]
> usbhid: USB HID core driver
> vme_user: VME User Space Access Driver
> vme_user: No cards, skipping registration
> vme_tsi148 0000:04:04.0: Board is the VME system controller
> vme_tsi148 0000:04:04.0: VME geographical address is 1
> vme_tsi148 0000:04:04.0: VME Write and flush and error check is disabled
> vme_tsi148 0000:04:04.0: CR/CSR Offset: 1
> vme_tsi148 0000:04:04.0: Enabling CR/CSR space
> [snip]
>
I have a feeling that aren't correctly registering the driver or bridges in
the core code. I'd have expected the match routine to be called when a bridge
is registered on the system (much as USB mass storage devices get recognised
as such when they are inserted).
> Resolving the kernel panic seems like a more immediate priority, though, so
> I will submit my version of this patch. I plan to include your Signed-off-by
> since you suggested the code change, unless you have an argument against
> me doing so.
>
No problem here.
Martyn
> -Aaron
>
--
Martyn Welch (Lead Software Engineer) | Registered in England and Wales
GE Intelligent Platforms | (3828642) at 100 Barbirolli Square
T +44(0)1327322748 | Manchester, M2 3AB
E martyn.welch at ge.com | VAT:GB 927559189
More information about the devel
mailing list