Bump number that's an insane number of devices from 1,000 to 10,000. I

have access to machines that are pushing 400 devices. When 1,000 was
selected, it was rare to get even 40 or 50 devices. Bump the limit by
10x to keep up with the times.

Sponsored by: Netflix
This commit is contained in:
Warner Losh 2017-12-21 04:21:59 +00:00
parent 5eff7c4116
commit 41ec95c47f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=327054

View file

@ -204,7 +204,7 @@ devinfo_init_devices(int generation)
* Stop after a fairly insane number to avoid death in the case
* of kernel corruption.
*/
for (dev_idx = 0; dev_idx < 1000; dev_idx++) {
for (dev_idx = 0; dev_idx < 10000; dev_idx++) {
/*
* Get the device information.