summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_sandrv.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2008-05-12 22:14:47 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2008-05-12 22:14:47 +0000
commit2ef1d339c24719cc656bc46412149c9ed99b9648 (patch)
treee7fc2dc3ee3d32887a308c8a596ee29e69dd2b89 /sys/dev/pci/if_sandrv.c
parent21d9b3d5ea7249898f9f313c5edecb19961b8000 (diff)
Fix device reference counting. Now that we try to support detachable
tape drives it is nice not to crash if one is detached. Basically use a consistant mechanism modelled on sd to lookup devices and do the device reference increments and decrements. Problem reported (PR#5811) and fix tested by Jozef Hatala. Still some corner cases Jozef is looking for but we'll fix those as discovered.
Diffstat (limited to 'sys/dev/pci/if_sandrv.c')
0 files changed, 0 insertions, 0 deletions