Re: [PATCH] export pci_table in aic7xxx for Hotplug

Justin T. Gibbs (gibbs@scsiguy.com)
Tue, 16 Oct 2001 15:18:58 -0600


>Ok I switch ON the light in my brain and things are better now.
>
>The PCI layer notify the driver that one of its devices has been
>removed.
>This is done with the remove function in the pci_driver struct.
>
>In the case of the aic7xxx this is the function
>ahc_linux_pci_dev_remove().
>
>I should, at this point, precise that I use the driver v6.2.4.
>
>I look in the code but it looks like this part of the code is broken.

How so? Because of the panic or something evident in the code?
I'm always interested in bug reports. 8-)

>Please Justin let me 1 month before starting looking at it. Otherwise I
>have no chance to find a bug by myself.

Well, it will be a few days before I get a laptop setup to test this
on, but from what I can tell, we properly unregister our bus from the
SCSI subsystem, but the actual devices hanging off the bus are never
removed. I would expect the mid-layer to take care of this.

--
Justin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" 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.tux.org/lkml/