Remove old GENERIC kludge. We no longer need to skip devices named

atkbd.  Version 1.162 of GENERIC fixed this problem in April of 1999.
Subsequent to that, the hints data was removed from GENERIC and move
to hints files.  All the hints file ever created have atkbd at the
right location.  This should have been removed just after RELENG_4 was
branched (and likely around 4.5 in RELENG_4).

MFC After: 3 days
This commit is contained in:
Warner Losh 2006-07-08 15:51:55 +00:00
parent c915bcbad2
commit 3c7c9eb558
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160184

View File

@ -95,21 +95,15 @@ isahint_identify(driver_t *driver, device_t parent)
*/
sprintf(buf, "isa%d", device_get_unit(parent));
i = 0;
while ((resource_find_match(&i, &dname, &dunit, "at", buf)) == 0) {
if (strcmp(dname, "atkbd") == 0)
continue; /* old GENERIC kludge */
while ((resource_find_match(&i, &dname, &dunit, "at", buf)) == 0)
isahint_add_device(parent, dname, dunit);
}
/*
* and isa?
*/
i = 0;
while ((resource_find_match(&i, &dname, &dunit, "at", "isa")) == 0) {
if (strcmp(dname, "atkbd") == 0)
continue; /* old GENERIC kludge */
while ((resource_find_match(&i, &dname, &dunit, "at", "isa")) == 0)
isahint_add_device(parent, dname, dunit);
}
}
static device_method_t isahint_methods[] = {