[PATCH] only scan PCI busses that exist

From: Jesse Barnes <jbarnes_at_sgi.com>
Date: 2004-03-27 11:03:37
sn_pci_init was unconditionally scanning 255 PCI busses, even though only a 
few are actually present on most systems.  This patch adds a check to make 
sure a given bus exists before doing the scan, which saves a little memory 
and also makes /sys/devices reflect reality a bit more closely.

Thanks,
Jesse

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Received on Fri Mar 26 19:06:54 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:24 EST