summaryrefslogtreecommitdiff
path: root/share/examples/secmodel/secmodel_example.c
diff options
context:
space:
mode:
authordrochner <drochner@NetBSD.org>2008-02-28 14:25:12 +0000
committerdrochner <drochner@NetBSD.org>2008-02-28 14:25:12 +0000
commit0e748e633e42b461cf98b161cdd65ec6cd628166 (patch)
tree80ae86c8c01198370f86d290a0bf9b4caa3f3cb6 /share/examples/secmodel/secmodel_example.c
parenta9e7d15afd5787b4ec390f48a110335d778b0d81 (diff)
Extend the pmf suspend/resume hooks by a shutdown method, so drivers
can register a shutdown handler explicitely. Install a pci bus shutdown handler which disables bus master accesses for all childs, so the drivers don't need to care. This will hopefully be sufficient to replace the shutdownhooks (together with the powerhooks). (It has been suggested to use some general event notification framework for shutdown handlers, but there might be cases where shutdown handlers must be run in an order following the device hierarchy, which wouldn't be easy with event handlers not tied to drivers.) approved by David Young
Diffstat (limited to 'share/examples/secmodel/secmodel_example.c')
0 files changed, 0 insertions, 0 deletions