Andrew Gallatin d6a774ca4a 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
2004-06-21 13:02:25 +00:00
..
2004-06-19 20:50:50 +00:00
2004-06-17 17:16:53 +00:00
2004-06-17 17:16:53 +00:00
2004-06-20 22:32:19 +00:00
2004-06-14 00:38:54 +00:00
2004-05-18 05:30:06 +00:00
2004-06-16 09:47:26 +00:00
2004-06-16 09:47:26 +00:00
2004-05-14 12:28:31 +00:00
2004-06-16 14:21:52 +00:00
2004-06-16 09:47:26 +00:00