Messages in this thread | | | Date | Tue, 4 May 2004 13:37:38 -0700 | From | Greg KH <> | Subject | Re: 2.6.5 Sensors & USB problems |
| |
On Sun, Apr 18, 2004 at 07:51:40AM +0200, Jean Delvare wrote: > > Can anyone explain, however, why my i2c bus showed up as number 0 > > under linux <= 2.6.4, and now always as number 1 under linux 2.6.5? > > The is no number 0 any more. > > The bus number allocation scheme is such that once a number has been > used once (since the machine last booted) it will not be used again. > This is admittedly not ideal and should be fixed. I suspect that the fix > isn't trivial because the current structures would make the new scheme > have a poor algorithmic complexity (O(2) maybe), but I haven't checked > yet. Greg, can you confirm?
It's not due to the complexity, it's just due to the fact that I haven't gotten around to doing it yet :)
Patches to fix this are gladly welcome if the current situation really bothers people. No userspace tools should have a problem with the way things are right now. If they do have problems, please let me know.
thanks,
greg k-h - 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/
| |