git: DragonFly_RELEASE_2_8 nata - properly teardown interrupts o

看板DFBSD_commit作者時間15年前 (2010/11/20 09:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit f84b6523c9856679a830769a159e6ba0d7627c32 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Thu Oct 28 23:23:48 2010 -0700 nata - properly teardown interrupts on ENXIO * When a ata controller cannot be attached (e.g. due to AHCI having already taken its resources) be sure to teardown and release any resources that had been obtained. * This fixes a panic on certain motherboards (e.g. gigabyte / phenomX6) where the ata controller ENXIO'd but left interrupt handlers setup. An interrupt would then occur, access stale memory, and blow the machine up. Summary of changes: sys/dev/disk/nata/ata-chipset.c | 43 +++++++++++++++++++++++++++++++++----- sys/dev/disk/nata/ata-pci.c | 9 ++++++- 2 files changed, 44 insertions(+), 8 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f84b6523c9856679a830769a159e6ba0d7627c32 -- DragonFly BSD source repository
文章代碼(AID): #1CvoL14x (DFBSD_commit)