summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-07-08 15:51:55 +0000
committerimp <imp@FreeBSD.org>2006-07-08 15:51:55 +0000
commit76677eaed99b93059efd72dc9147a8349ec12768 (patch)
tree28c11240f7abbeab25c95b1e908080d02e4fcc63 /sys/isa
parent574ae24779e4b068d00df2f57f46723ba7d7752d (diff)
downloadFreeBSD-src-76677eaed99b93059efd72dc9147a8349ec12768.zip
FreeBSD-src-76677eaed99b93059efd72dc9147a8349ec12768.tar.gz
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
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/isahint.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/isa/isahint.c b/sys/isa/isahint.c
index 65a0d5c..ffa1266 100644
--- a/sys/isa/isahint.c
+++ b/sys/isa/isahint.c
@@ -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[] = {
OpenPOWER on IntegriCloud