:So the problem is: : :module_register_init calls devclass_add_driver first, before setting up the devclass pointer. This one however gets used lateron in the driver attachment. : :I believe the correct sequence is this, but I'd appreciate if somebody could double check. The patch fixes the panic, of course. : :cheers : simon
It looks right to me, but I am no expert on the devclass stuff.
Go ahead and commit it.
-Matt
