summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2005-08-04 07:46:11 +0000
committerEric Anholt <anholt@freebsd.org>2005-08-04 07:46:11 +0000
commit3ffd0c188bc35263f0b53345a0a4a261f4ae1b71 (patch)
tree2f8d2faf40b6c6634c44b484b57092df6e31d967 /shared-core
parentb0da5df90a76e4e79c356fdbc90211a8e21f095c (diff)
Whitespace fixups.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/mga_dma.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/shared-core/mga_dma.c b/shared-core/mga_dma.c
index 70a1f1b3..f0404cc0 100644
--- a/shared-core/mga_dma.c
+++ b/shared-core/mga_dma.c
@@ -458,7 +458,6 @@ static int mga_do_agp_dma_bootstrap(drm_device_t * dev,
return err;
}
-
/* In addition to the usual AGP mode configuration, the G200 AGP cards
* need to have the AGP mode "manually" set.
*/
@@ -466,8 +465,7 @@ static int mga_do_agp_dma_bootstrap(drm_device_t * dev,
if (dev_priv->chipset == MGA_CARD_TYPE_G200) {
if (mode.mode & 0x02) {
MGA_WRITE(MGA_AGP_PLL, MGA_AGP2XPLL_ENABLE);
- }
- else {
+ } else {
MGA_WRITE(MGA_AGP_PLL, MGA_AGP2XPLL_DISABLE);
}
}
@@ -741,8 +739,7 @@ int mga_dma_bootstrap(DRM_IOCTL_ARGS)
if (dev_priv->agp_textures != NULL) {
bootstrap.texture_handle = dev_priv->agp_textures->offset;
bootstrap.texture_size = dev_priv->agp_textures->size;
- }
- else {
+ } else {
bootstrap.texture_handle = 0;
bootstrap.texture_size = 0;
}