[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080301052433.GC19353@suse.de>
Date: Fri, 29 Feb 2008 21:24:33 -0800
From: Greg KH <gregkh@...e.de>
To: Alex Chiang <achiang@...com>, Gary Hade <garyhade@...ibm.com>,
kaneshige.kenji@...fujitsu.com, warthog19@...lescrag.net,
Matthew Wilcox <matthew@....cx>, kristen.c.accardi@...el.com,
rick.jones2@...com, linux-kernel@...r.kernel.org,
linux-pci@...ey.karlin.mff.cuni.cz, linux-acpi@...r.kernel.org
Subject: Re: [PATCH 3/4] Introduce pci_slot
On Thu, Feb 28, 2008 at 05:28:55PM -0700, Alex Chiang wrote:
> - Make pci_slot the primary sysfs entity. hotplug_slot becomes a
> subsidiary structure.
> o pci_create_slot() creates and registers a slot with the PCI core
> o pci_slot_add_hotplug() gives it hotplug capability
>
> - Change the prototype of pci_hp_register() to take the bus and
> slot number (on parent bus) as parameters.
>
> - Remove all the ->get_address methods since this functionality is
> now handled by pci_slot directly.
This describes what you did, but not why you are doing this, making it a
pretty bad changelog comment.
Can you refresh my memory as to the "why" for all of this and how you
are handling machines that do not export this information at all?
oh, and don't put "extern" in a .c file, and call kobject_uevent in the
same function that you added the kobject in, unless there is a very good
reason to do so, otherwise you just missed all of those events...
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists