Linux Newbie help
 help / color / mirror / Atom feed
* PCI config space doubt
@ 2007-04-24  6:33 Rajat Jain
  2007-04-24  9:41 ` Erik Mouw
  0 siblings, 1 reply; 5+ messages in thread
From: Rajat Jain @ 2007-04-24  6:33 UTC (permalink / raw)
  To: kernelnewbies, newbie

Hi,

Does Linux assign the resources to PCI devices? Or is it done by PCI firmware?

If it is done by firmware, I have the following doubt:

By looking at the PCI configuration space, I can only see Base Address
Registers (BARS) for the 6 resources a device can have. How does the
kernel know about the length and the flags of the resources (since
they do no seem to be present in PCI config space)?

Thanks,

Rajat
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PCI config space doubt
  2007-04-24  6:33 PCI config space doubt Rajat Jain
@ 2007-04-24  9:41 ` Erik Mouw
  2007-04-24  9:50   ` Rajat Jain
  0 siblings, 1 reply; 5+ messages in thread
From: Erik Mouw @ 2007-04-24  9:41 UTC (permalink / raw)
  To: Rajat Jain; +Cc: kernelnewbies, newbie

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Apr 24, 2007 at 12:03:32PM +0530, Rajat Jain wrote:
> Does Linux assign the resources to PCI devices? Or is it done by PCI 
> firmware?

Yes.


Erik

- -- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGLdDf/PlVHJtIto0RAqukAJ9cfecEpyBJeTyFITM5G4DQ+Iz6DgCfQjOy
J1wUJulSFNYFQHSXN0y01ek=
=HhpL
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PCI config space doubt
  2007-04-24  9:41 ` Erik Mouw
@ 2007-04-24  9:50   ` Rajat Jain
  2007-04-24 10:27     ` Erik Mouw
  0 siblings, 1 reply; 5+ messages in thread
From: Rajat Jain @ 2007-04-24  9:50 UTC (permalink / raw)
  To: Erik Mouw; +Cc: kernelnewbies, newbie

> On Tue, Apr 24, 2007 at 12:03:32PM +0530, Rajat Jain wrote:
> > Does Linux assign the resources to PCI devices? Or is it done by PCI
> > firmware?
>
> Yes.
>
>
> Erik
>

Hi Erik,

I'm sorry but I could not understand your "Yes" very well ... so Which
one of the following assigns the resources to PCI devices?

- Linux Kernel?
- PCI firmware?

Thanks,

Rajat
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PCI config space doubt
  2007-04-24  9:50   ` Rajat Jain
@ 2007-04-24 10:27     ` Erik Mouw
  2007-04-24 10:38       ` Rajat Jain
  0 siblings, 1 reply; 5+ messages in thread
From: Erik Mouw @ 2007-04-24 10:27 UTC (permalink / raw)
  To: Rajat Jain; +Cc: kernelnewbies, newbie

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Apr 24, 2007 at 03:20:01PM +0530, Rajat Jain wrote:
> >On Tue, Apr 24, 2007 at 12:03:32PM +0530, Rajat Jain wrote:
> >> Does Linux assign the resources to PCI devices? Or is it done by PCI
> >> firmware?
> >
> >Yes.
> 
> I'm sorry but I could not understand your "Yes" very well ... so Which
> one of the following assigns the resources to PCI devices?

Sorry, forgot to remove the remaining question.

> - Linux Kernel?

Kernel.

> - PCI firmware?

Modern BIOSes usually only initialise the devices needed for boot:
disk and video card. With older BIOSes you can control that by the
"PnP OS" option, even older BIOSes initialise every device.
 

Erik

- -- 
They're all fools. Don't worry. Darwin may be slow, but he'll
eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGLduV/PlVHJtIto0RAhVnAJ98QaZJb54Pay3YomPCfZKZnfx/EACggpVo
KfWHHCCeL+a+sRSC59nNQZM=
=40ae
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: PCI config space doubt
  2007-04-24 10:27     ` Erik Mouw
@ 2007-04-24 10:38       ` Rajat Jain
  0 siblings, 0 replies; 5+ messages in thread
From: Rajat Jain @ 2007-04-24 10:38 UTC (permalink / raw)
  To: Erik Mouw; +Cc: kernelnewbies, newbie

On 4/24/07, Erik Mouw <mouw@nl.linux.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tue, Apr 24, 2007 at 03:20:01PM +0530, Rajat Jain wrote:
> > >On Tue, Apr 24, 2007 at 12:03:32PM +0530, Rajat Jain wrote:
> > >> Does Linux assign the resources to PCI devices? Or is it done by PCI
> > >> firmware?
> > >
> > >Yes.
> >
> > I'm sorry but I could not understand your "Yes" very well ... so Which
> > one of the following assigns the resources to PCI devices?
>
> Sorry, forgot to remove the remaining question.
>
> > - Linux Kernel?
>
> Kernel.
>
> > - PCI firmware?
>
> Modern BIOSes usually only initialise the devices needed for boot:
> disk and video card. With older BIOSes you can control that by the
> "PnP OS" option, even older BIOSes initialise every device.
>

Thank You,

Rajat
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-04-24 10:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-24  6:33 PCI config space doubt Rajat Jain
2007-04-24  9:41 ` Erik Mouw
2007-04-24  9:50   ` Rajat Jain
2007-04-24 10:27     ` Erik Mouw
2007-04-24 10:38       ` Rajat Jain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox