RE: regarding hotpluggable devices adn linux kernel

From: Bhupesh Kumar Pandey, Noida
Date: Mon Jan 10 2005 - 03:43:07 EST


Thanks a lot.
Now I should try my own.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks and Best Regards
Bhupesh Kumar Pandey


-----Original Message-----
From: Greg KH [mailto:greg@xxxxxxxxx]
Sent: Monday, January 10, 2005 12:50 PM
To: Bhupesh Kumar Pandey, Noida
Cc: linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: regarding hotpluggable devices adn linux kernel

On Mon, Jan 10, 2005 at 12:39:56PM +0530, Bhupesh Kumar Pandey, Noida wrote:
> "Hotplug of FC-HBA on PCI Express bus

This would involve the pci hotplug driver. On 2.6, look in
/sys/bus/pci/slots for the different pci slots (after you have loaded the
proper pci hotplug driver for your hardware.) To add or remove a card,
simply echo 0 or 1 in the power file in the slot that you wish to turn on or
off. I recommend using the pcihpview program if you don't like using echo,
as it is a gui driven program to do the same thing.

The FC-HBA portion is the same if it's hotplugged or not, no difference
there.

> and PnP of SCSI disk".

It should just be added, if the whole FC-HBA comes up. If you mean adding
another one later on, after the controller card has scanned the bus, I don't
know, ask the scsi people.

Hope this helps.

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/