--- - branch: MAIN date: Sun May 3 00:31:12 UTC 2009 files: - new: '1.186' old: '1.185' path: src/sys/dev/pci/pccbb.c pathrev: src/sys/dev/pci/pccbb.c@1.186 type: modified id: 20090503T003112Z.1feea830ad08d06fab51af1d2209e24f12f46b38 log: | 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. module: src subject: 'CVS commit: src/sys/dev/pci' unixtime: '1241310672' user: dyoung