ia64/xen-unstable

changeset 14804:bfe2136c163a

linux: Quieten blkfront output.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Wed Apr 11 14:34:08 2007 +0100 (2007-04-11)
parents 5f6bca864d9c
children 2aa05978f2ca ebc4fb63113f
files linux-2.6-xen-sparse/drivers/xen/blkfront/block.h linux-2.6-xen-sparse/drivers/xen/blkfront/vbd.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/blkfront/block.h	Wed Apr 11 14:30:56 2007 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/block.h	Wed Apr 11 14:34:08 2007 +0100
     1.3 @@ -56,20 +56,6 @@
     1.4  #include <asm/atomic.h>
     1.5  #include <asm/uaccess.h>
     1.6  
     1.7 -#if 1
     1.8 -#define IPRINTK(fmt, args...)				\
     1.9 -	printk(KERN_INFO "xen_blk: " fmt, ##args)
    1.10 -#else
    1.11 -#define IPRINTK(fmt, args...) ((void)0)
    1.12 -#endif
    1.13 -
    1.14 -#if 1
    1.15 -#define WPRINTK(fmt, args...)				\
    1.16 -	printk(KERN_WARNING "xen_blk: " fmt, ##args)
    1.17 -#else
    1.18 -#define WPRINTK(fmt, args...) ((void)0)
    1.19 -#endif
    1.20 -
    1.21  #define DPRINTK(_f, _a...) pr_debug(_f, ## _a)
    1.22  
    1.23  #if 0
     2.1 --- a/linux-2.6-xen-sparse/drivers/xen/blkfront/vbd.c	Wed Apr 11 14:30:56 2007 +0100
     2.2 +++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/vbd.c	Wed Apr 11 14:34:08 2007 +0100
     2.3 @@ -128,14 +128,12 @@ xlbd_alloc_major_info(int major, int min
     2.4  		break;
     2.5  	}
     2.6  
     2.7 -	printk("Registering block device major %i\n", ptr->major);
     2.8  	if (register_blkdev(ptr->major, ptr->type->devname)) {
     2.9 -		WPRINTK("can't get major %d with name %s\n",
    2.10 -			ptr->major, ptr->type->devname);
    2.11  		kfree(ptr);
    2.12  		return NULL;
    2.13  	}
    2.14  
    2.15 +	printk("xen-vbd: registered block device major %i\n", ptr->major);
    2.16  	major_info[index] = ptr;
    2.17  	return ptr;
    2.18  }