From d399dbcd569a66f5bf4863ffa2aab95fa8ebd5fc Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Tue, 13 Jun 2000 17:38:09 +0000 Subject: Merged bsd-1-0-1 --- bsd/drm/agpsupport.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'bsd/drm/agpsupport.c') diff --git a/bsd/drm/agpsupport.c b/bsd/drm/agpsupport.c index 53444c90..f399171e 100644 --- a/bsd/drm/agpsupport.c +++ b/bsd/drm/agpsupport.c @@ -2,6 +2,7 @@ * Created: Mon Dec 13 09:56:45 1999 by faith@precisioninsight.com * * Copyright 1999 Precision Insight, Inc., Cedar Park, Texas. + * Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a @@ -23,9 +24,7 @@ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. * - * Author: Rickard E. (Rik) Faith - * - * $XFree86$ + * Author: Rickard E. (Rik) Faith * */ @@ -238,8 +237,8 @@ drm_agp_head_t *drm_agp_init(void) if (agp_available) { if (!(head = drm_alloc(sizeof(*head), DRM_MEM_AGPLISTS))) return NULL; - head->agpdev = agpdev; memset((void *)head, 0, sizeof(*head)); + head->agpdev = agpdev; agp_get_info(agpdev, &head->info); head->memory = NULL; #if 0 /* bogus */ -- cgit v1.2.3