diff options
author | gallatin <gallatin@FreeBSD.org> | 2004-06-21 13:02:25 +0000 |
---|---|---|
committer | gallatin <gallatin@FreeBSD.org> | 2004-06-21 13:02:25 +0000 |
commit | ae2a2c5a14cfdb36af5430d18d9599b9a6ed3708 (patch) | |
tree | a737038708dca786a51144f0b14283094ff9d8e4 /contrib/ncurses | |
parent | 9c97a4d517868b0d384e8ecb927940d8e470fb92 (diff) | |
download | FreeBSD-src-ae2a2c5a14cfdb36af5430d18d9599b9a6ed3708.zip FreeBSD-src-ae2a2c5a14cfdb36af5430d18d9599b9a6ed3708.tar.gz |
Prevent the rp driver from panic'ing on first access and make at
least the pci device unloadable
- Use ttymalloc() rather than a plain malloc to allocate the
rp->rp_tty ttys. This is now required due to the recent locking
changes to ttys and prevents a panic due to locking an unitialized
t_mtx.
- Allow the pci driver to be unloaded. This involved moving
the call rp_releaseresource() to the end of rp_pcireleaseresource(),
since rp_pcireleaseresource() uses ctlp->dev, which is freed
by rp_releaseresource().
- Allow the generic part of the driver to be unattached by providing
a hook to cancel timeouts.
Glanced at by: obrien
Diffstat (limited to 'contrib/ncurses')
0 files changed, 0 insertions, 0 deletions