Messages in this thread | | | Date | Tue, 28 Jan 2003 17:21:37 -0500 (EST) | From | Scott Murray <> | Subject | Re: [Pcihpd-discuss] Re: [RFC] Get rid of all procfs stuff for PCI subsystem. |
| |
On Tue, 28 Jan 2003, Greg KH wrote:
> On Tue, Jan 28, 2003 at 05:59:28PM +0800, Stanley Wang wrote: > > Hi, Greg > > When did I try to remove all procfs stuff from pci_hotplug_core.c, > > I found I could only cut little codes off. > > But you cut out everything that was there, right? There wasn't much. > > > So I suggest: > > How about to get rid of all procfs stuff for PCI subsystem? > > It could reduce about 700 lines codes from the kernel. > > I think we could get all information from sysfs, right? > > But it may break some user mode utilities. > > If you look, a lot of it is now under a config option to just not enable > it at all, which helps out a lot.
Is there a plan to update pci-utils to work with sysfs? lspci is a pretty valuable debugging tool, it would be a shame to lose the use of it in 2.6.
Scott
-- Scott Murray SOMA Networks, Inc. Toronto, Ontario e-mail: scottm@somanetworks.com
- 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/
| |