Re: [patch] qlogic_cs: init legacy_hosts

From: Aristeu Sergio Rozanski Filho
Date: Tue Oct 21 2003 - 04:34:52 EST


hi Christoph,
> > @@ -249,6 +249,8 @@
> > else
> > qlogicfas_preset(link->io.BasePort1, link->irq.AssignedIRQ);
> >
> > + INIT_LIST_HEAD(&qlogicfas_driver_template.legacy_hosts);
> > +
>
> qlogic_cs is a newstyle driver, no need to initialize it.
then it needs more work. without initializing it i get an oops in
scsi_register(). i guess the qlogic_cs is an oldstyle driver by now
because it uses qlogicfas template and functions.

--
aris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/