diff options
| author | dyoung <dyoung@NetBSD.org> | 2009-05-03 00:31:12 +0000 |
|---|---|---|
| committer | dyoung <dyoung@NetBSD.org> | 2009-05-03 00:31:12 +0000 |
| commit | 85d5fd7b8317aed2e89dd7d07d64d5ca7ced8493 (patch) | |
| tree | 08d364c188267cdab6fdeb464578248e99c4188f /sys/dev/raidframe/rf_alloclist.h | |
| parent | 1e54487f2a4bba3b635077f95d71adf12b5e60d7 (diff) | |
In pccbb_pci_callback(), set CBB_SPECMAPPED in sc_flags if we've
acquired bus space from bus_space_alloc(9) or from rbus_space_alloc(),
so that we use the appropriate routine to release the bus space in
pccbbdetach(). This stops panics during cbb(4) detachment (esp. at
shutdown) on some systems.
Thanks to Kurt Schreiner for testing the fix, Kurt, Patrick Welche,
Pouya D. Tafti, and Matt Green for reporting.
Diffstat (limited to 'sys/dev/raidframe/rf_alloclist.h')
0 files changed, 0 insertions, 0 deletions
