1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Allow MAXDEP dependants, not MAXDEP-1.

This commit is contained in:
Doug Rabson 2000-04-04 07:48:04 +00:00
parent aad873b098
commit 2e215a3dcc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=59002

View File

@ -133,7 +133,7 @@ pnp_parse_resources(device_t dev, u_char *resources, int len)
printf("%s: start dependant\n",
pnp_eisaformat(id));
}
if (ncfgs >= MAXDEP) {
if (ncfgs > MAXDEP) {
device_printf(parent, "too many dependant configs (%d)\n", MAXDEP);
scanning = 0;
break;