A kludge to always give the driver a second chance to attach the cbb device.
authorJeffrey Hsu <hsu@dragonflybsd.org>
Thu, 31 Mar 2005 05:43:34 +0000 (05:43 +0000)
committerJeffrey Hsu <hsu@dragonflybsd.org>
Thu, 31 Mar 2005 05:43:34 +0000 (05:43 +0000)
commit963aebf78f439a1a543dc0d2d43a2f68f3e63742
treeb631f26ef0436326654747b5f87f3ed826990dc4
parent2df1b287db4a973291d7dbdb4fc2a8043d538491
A kludge to always give the driver a second chance to attach the cbb device.

Similar to the following part of FreeBSD rev 1.66 by imp:
  o Remove bogus checks when reallocating memory for the registers.  They
    weren't needed and turned out to be completely bogus.

  This lets me load/unload pccard with a pccard in a slot and have the
  child correctly detach/attach.  This should help people that have wi
  in their kernel, but that kldload cbb and pccard, for example.
sys/dev/pccard/pccbb/pccbb.c