diff options
author | guido <guido@FreeBSD.org> | 2004-03-18 21:10:11 +0000 |
---|---|---|
committer | guido <guido@FreeBSD.org> | 2004-03-18 21:10:11 +0000 |
commit | df746a8c4241af79c5cde3a41a26daaefdf64556 (patch) | |
tree | 1803a74593eaa121eb1d3af15ebcdea5d85f572b /lib/libc/stdlib/atoi.c | |
parent | 569c6a8eda957ba93206aab029082de086eb77f4 (diff) | |
download | FreeBSD-src-df746a8c4241af79c5cde3a41a26daaefdf64556.zip FreeBSD-src-df746a8c4241af79c5cde3a41a26daaefdf64556.tar.gz |
Prevent the strange situation that after each load/unload of a ppbus
device, the device is probed multiple times (so each device is
detected N times after unloading/loading the module N-1 times).
The real fix is (quote Doug and Warner):
> : In an ideal world, there should be some kind of BUS_UNIDENTIFY method
> : which a driver could use to delete the devices it created in
> : BUS_IDENTIFY.
>
> Or the bus would have a driver deleted routine that got called and it
> would remove all instances of the devclass attached to it.
Reviewed by: Doug Rabson & Warner Losh
Diffstat (limited to 'lib/libc/stdlib/atoi.c')
0 files changed, 0 insertions, 0 deletions