public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kousalya K <kkasinat@npd.hcltech.com>
To: linux-kernel@vger.kernel.org
Cc: kkasinat@npd.hcltech.com, sagundu@npd.hcltech.com
Subject: scsi_dev_init who is calling & where its defined?
Date: Mon, 03 Dec 2001 16:14:57 +0530	[thread overview]
Message-ID: <3C0B57A9.61A64740@npd.hcltech.com> (raw)

Hi all,

I'm trying to find out how linux kernel calls scsi_dev_init  function
after kernel image is loaded.
I got information  from web that , the sequence is,

"init() will call do_basic_setup() which inturn will call
        device_setup()-> scsi_dev_init()->scsi_init()"

/* init() and device_setup() are definied in main.c */

But I'm not able to find out the function call for device_setup()
(defined in /usr/src/linux-2.4.2/drivers/char/pcmcia/serial_ cb.c)
function from  do_basic_setup() function.

device_setup function is not at all calling any scsi related functions.

Could anyone please tell me the flow of how scsi_dev_init is called,
which inturn call what are all the functions?

Could you please provide the the location of the file where the
scsi_dev_init  and  scsi_init function is defined?


/* In  linux-2.4.9 kernel, I'm not able to find  out function
device_setup and also the file serial_cb.c
Any ideas?  */

Thanks ,
Kousalya




             reply	other threads:[~2001-12-04  3:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-03 10:44 Kousalya K [this message]
2001-12-04 17:11 ` scsi_dev_init who is calling & where its defined? rddunlap
2001-12-30  9:05   ` Any idea about watchdog timer in linux Kousalya K
2001-12-30 10:11     ` george anzinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C0B57A9.61A64740@npd.hcltech.com \
    --to=kkasinat@npd.hcltech.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sagundu@npd.hcltech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox