Fw: PERFORCE change 101080 for review

M. Warner Losh imp at bsdimp.com
Sun Jul 9 08:23:51 UTC 2006


John,

I think the following change is good reguardless of how the current
discussions about how to get acpi devices wired falls out.  It
modifies devclass unit number assignment to treat a pre-existing
device as 'taken' as well as one that just might be hinted at.

It has the nice side effect of obviating the need for device_set_unit,
which I added holding my nose a long time ago.  The reason I didn't go
with this approach was that at the time (4.x or maybe 3.x) there
wasn't the hints infrastructure we have today, and I never went back
to revisit this kludge to remove it.

Please let me know what you think of this.

Warner
-------------- next part --------------
An embedded message was scrubbed...
From: Warner Losh <imp at freebsd.org>
Subject: PERFORCE change 101080 for review
Date: Sun, 9 Jul 2006 08:15:11 GMT
Size: 6320
Url: http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20060709/3f384519/attachment.eml


More information about the freebsd-acpi mailing list