lkml.org 
[lkml]   [1999]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Hot PCI bus plugging
Hello,

> > Reading this thread with much interest I just have to think how much
> > effort it is a least to get a minimal hot swapping support up and
> > running.
>
> Looks like noone brought up the subject of resource allocation, so I will.
> I don't know much about the bios and PCI as far as this goes, but doesn't
> the bios assign io/mem/irq at boot up? How would this work on hot plug pci?
> Who or what assigns the resources?

Yes you have a very good point there, that I mentioned in a private
e-mail. The BIOS does that at bootup, so we would have to assume
control of that ourselves. That wouldn't be too difficult, but would
add some housekeeping to the PCI layers -- mainly allocating and keeping
track of IRQs and base addresses/ranges. We also have to be careful
to make sure we don't share IRQs with devices that don't want to share
them -- introducing the possibility the user could insert a card that
can't get an IRQ (ouch) because there are none available. (Dang those
broken cards that don't share.. Why doesn't everybody just read the
friggin' PCI spec??? :) )

--
Eric Lowe
FibreChannel Software Engineer, Systran Corporation
elowe@systran.com

"You can't spell failure without U-R-A." -Dispair.com



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.271 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site