lkml.org 
[lkml]   [1999]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateTue, 31 Aug 1999 07:49:30 -0700
From"David S. Miller" <>
SubjectRe: PATCH: IDE PCI init cleanup
   Date: Tue, 31 Aug 1999 15:27:56 +0100 (BST)
From: Alan Cox <alan@lxorguk.ukuu.org.uk>

> We need to either provide an interface to allow a driver to do this,
> or remove all such instances as the PCI probing boot code should be
> setting these things properly.
For hot swap PCI we will need to change it on the fly anyway.

For hot swap PCI the driver or some other bus attachment notifier will
call allocate_resource for the pci_dev. There is zero reason, other
than a fixup, why a driver should change resources, in fact it can't
as Martin mentioned because it has zero knowledge of what these
address values in the resource structure mean to the host.

Later,
David S. Miller
davem@redhat.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:53    [from the cache]
©2003-2010