Also unreserve the device on driver uninit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39337 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0af80d313a
commit
eab032317f
@ -271,6 +271,9 @@ ali_terminate(ali_dev *card)
|
||||
delete_sem(card->sem_buf_ready);
|
||||
|
||||
hardware_terminate(card);
|
||||
|
||||
(*gPCI->unreserve_device)(card->info.bus, card->info.device,
|
||||
card->info.function, DRIVER_NAME, card);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user