* A question on low-level driver document
@ 2004-05-13 23:47 Lee Xing
2004-05-14 1:18 ` Amit D. Chaudhary
0 siblings, 1 reply; 2+ messages in thread
From: Lee Xing @ 2004-05-13 23:47 UTC (permalink / raw)
To: linux-scsi
Hi,
I could find <<SCSI mid_level - lower_lever driver interface>> for Linux kernel 2.6. Is there a similar document for Linux 2.4? The interface between mid_level and lower_level has quite a few changes from lk 2.4 to 2.6.
I'm trying to find the call stack after a low-level driver is loaded. For example, after low-level driver calls scsi_register(), what's next, and how SCSI disks are registered with mid-level.
Thanks,
Lee
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: A question on low-level driver document
2004-05-13 23:47 A question on low-level driver document Lee Xing
@ 2004-05-14 1:18 ` Amit D. Chaudhary
0 siblings, 0 replies; 2+ messages in thread
From: Amit D. Chaudhary @ 2004-05-14 1:18 UTC (permalink / raw)
To: Lee Xing; +Cc: linux-scsi
Pick up a driver and follow the function pointers for
Scsi_Host_Template. For example, qlogicfc.c,
static Scsi_Host_Template driver_template = QLOGICFC;
qlogicfc.h for definition of QLOGICFC.
The detect fptr is good starting point.
Amit
Lee Xing wrote:
> Hi,
>
> I could find <<SCSI mid_level - lower_lever driver interface>> for Linux kernel 2.6. Is there a similar document for Linux 2.4? The interface between mid_level and lower_level has quite a few changes from lk 2.4 to 2.6.
>
> I'm trying to find the call stack after a low-level driver is loaded. For example, after low-level driver calls scsi_register(), what's next, and how SCSI disks are registered with mid-level.
>
> Thanks,
>
>
> Lee
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-05-14 1:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-13 23:47 A question on low-level driver document Lee Xing
2004-05-14 1:18 ` Amit D. Chaudhary
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox