diff options
author | peter <peter@FreeBSD.org> | 2000-01-05 16:31:27 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-01-05 16:31:27 +0000 |
commit | 159a4659df9c257aebb474b1fb62d045fbac18c7 (patch) | |
tree | 2a4a86de87e019f74b69ced850fd4fe1772de36c /lib/libkvm/kvm_getfiles.3 | |
parent | 3a2a6cb025fbd82b8afee5ad1326a8e00ad4bb41 (diff) | |
download | FreeBSD-src-159a4659df9c257aebb474b1fb62d045fbac18c7.zip FreeBSD-src-159a4659df9c257aebb474b1fb62d045fbac18c7.tar.gz |
Patch up some of the evilness left over from the early newbus porting.
In particular:
- Don't leave resources allocated in the probe routine. Allocate them
during probe and release them. Probe's job is to identify devices only.
- Don't abuse the ivars pointer.. (!). Create real ivars and use the
proper access system. (the bus_read_ivar method)
- Don't add the children until attach() has successfully grabbed the
hardware, otherwise there are potential leaks if attach fails.
Diffstat (limited to 'lib/libkvm/kvm_getfiles.3')
0 files changed, 0 insertions, 0 deletions