lkml.org 
[lkml]   [2003]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] qlogic_cs: init legacy_hosts
    On Tue, Oct 21, 2003 at 07:28:58AM -0200, Aristeu Sergio Rozanski Filho wrote:
    > 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.

    why do you call scsi_register at all? You need to uses scsi_host_alloc in
    the pcmcia case.

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

    \
     
     \ /
      Last update: 2005-03-22 13:58    [W:0.035 / U:61.236 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site