Re: writing/finding pci bar0
- From: joseph2k <quiettechblue@xxxxxxxxx>
- Date: Sat, 28 Oct 2006 10:54:42 GMT
Tim Roberts wrote:
gobo20@xxxxxxxxx wrote:
Tim Roberts wrote:
No. The BAR addresses are assigned by the BIOS at boot time, and
possibly modified later by the Linux kernel.
i understand the bios sets the five base addr's initially. but if the
kernel can change them, why can't i (using setpci for example)?
Because when YOU change them, the kernel isn't told about it, so it's
tables are no longer correct.
Plus, you don't have enough information to know whether the I/O port you
want is already assigned to something else.
Thank you Tim for expressing clearly what i had partially figured out but
could not express, i just knew it would be really, really bad idea.
--
JosephKK
Gegen dummheit kampfen die Gotter Selbst, vergebens.
--Schiller
.
- References:
- writing/finding pci bar0
- From: gobo20
- Re: writing/finding pci bar0
- From: Tim Roberts
- Re: writing/finding pci bar0
- From: gobo20
- Re: writing/finding pci bar0
- From: Tim Roberts
- writing/finding pci bar0
- Prev by Date: Re: Linux console interface
- Next by Date: Re: Linux console interface
- Previous by thread: Re: writing/finding pci bar0
- Next by thread: pci details for software writers
- Index(es):
Relevant Pages
|