Revert "Make sure busmastering gets disabled on module unload."

This reverts af7b89d724 commit. It causes an oops
on X server shutdown here, and for the reporter of bug #7629 as well.
This commit is contained in:
Michel Dänzer 2006-07-26 18:21:32 +02:00
parent 645453ce11
commit 35066b51ef

View file

@ -1720,11 +1720,6 @@ static int radeon_do_cleanup_cp(drm_device_t * dev)
dev_priv->gart_info.addr = 0;
}
}
/* Disable busmastering */
RADEON_WRITE(RADEON_BUS_CNTL, RADEON_READ(RADEON_BUS_CNTL) |
RADEON_BUS_MASTER_DIS);
/* only clear to the start of flags */
memset(dev_priv, 0, offsetof(drm_radeon_private_t, flags));