Re: writing/finding pci bar0
- From: Tim Roberts <timr@xxxxxxxxx>
- Date: Sat, 28 Oct 2006 05:01:39 GMT
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.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- Follow-Ups:
- Re: writing/finding pci bar0
- From: joseph2k
- Re: writing/finding pci bar0
- References:
- writing/finding pci bar0
- From: gobo20
- Re: writing/finding pci bar0
- From: Tim Roberts
- Re: writing/finding pci bar0
- From: gobo20
- writing/finding pci bar0
- Prev by Date: Re: System calls parameter restrictions
- Next by Date: Re: pci details for software writers
- Previous by thread: Re: writing/finding pci bar0
- Next by thread: Re: writing/finding pci bar0
- Index(es):
Relevant Pages
|