Re: [Pcihpd-discuss] [PATCH] use bus_slot number for name

2005-08-16 Thread Kristen Accardi
On Wed, 2005-08-10 at 16:01 +0100, Matthew Wilcox wrote: > On Fri, Aug 05, 2005 at 12:16:06PM -0700, Kristen Accardi wrote: > > For systems with multiple hotplug controllers, you need to use more than > > just the slot number to uniquely name the slot. Without a unique slot > > name, the pci_hp_re

Re: [Pcihpd-discuss] [PATCH] use bus_slot number for name

2005-08-10 Thread Matthew Wilcox
On Fri, Aug 05, 2005 at 12:16:06PM -0700, Kristen Accardi wrote: > For systems with multiple hotplug controllers, you need to use more than > just the slot number to uniquely name the slot. Without a unique slot > name, the pci_hp_register() will fail. This patch adds the bus number > to the name

Re: [Pcihpd-discuss] Re: [PATCH] use bus_slot number for name

2005-08-05 Thread Greg KH
On Fri, Aug 05, 2005 at 02:31:07PM -0700, Kristen Accardi wrote: > +#define HPSLOT_NAME_SIZE BUS_ID_SIZE > +static inline void pci_hp_make_slot_name(struct hotplug_slot *hpslot, struct > pci_dev *pdev) > +{ > + snprintf(hpslot->name, HPSLOT_NAME_SIZE, "%s", pci_name(pdev)); > +} I don't thin

Re: [PATCH] use bus_slot number for name

2005-08-05 Thread Greg KH
On Fri, Aug 05, 2005 at 03:51:23PM -0400, Dave Jones wrote: > On Fri, Aug 05, 2005 at 12:16:06PM -0700, Kristen Accardi wrote: > > For systems with multiple hotplug controllers, you need to use more than > > just the slot number to uniquely name the slot. Without a unique slot > > name, the pci

Re: [PATCH] use bus_slot number for name

2005-08-05 Thread Kristen Accardi
On Fri, 2005-08-05 at 15:51 -0400, Dave Jones wrote: > On Fri, Aug 05, 2005 at 12:16:06PM -0700, Kristen Accardi wrote: > > For systems with multiple hotplug controllers, you need to use more than > > just the slot number to uniquely name the slot. Without a unique slot > > name, the pci_hp_reg

Re: [PATCH] use bus_slot number for name

2005-08-05 Thread Kristen Accardi
On Fri, 2005-08-05 at 15:51 -0400, Dave Jones wrote: > On Fri, Aug 05, 2005 at 12:16:06PM -0700, Kristen Accardi wrote: > > For systems with multiple hotplug controllers, you need to use more than > > just the slot number to uniquely name the slot. Without a unique slot > > name, the pci_hp_reg

Re: [PATCH] use bus_slot number for name

2005-08-05 Thread Dave Jones
On Fri, Aug 05, 2005 at 12:16:06PM -0700, Kristen Accardi wrote: > For systems with multiple hotplug controllers, you need to use more than > just the slot number to uniquely name the slot. Without a unique slot > name, the pci_hp_register() will fail. This patch adds the bus number > to the

[PATCH] use bus_slot number for name

2005-08-05 Thread Kristen Accardi
For systems with multiple hotplug controllers, you need to use more than just the slot number to uniquely name the slot. Without a unique slot name, the pci_hp_register() will fail. This patch adds the bus number to the name. Signed-off-by: Kristen Carlson Accardi <[EMAIL PROTECTED]> diff -uprN