release/src/linux/linux/drivers/sound/ad1848.c
/*
 *	Experimental initialization sequence for the integrated sound system
 *	of the Compaq Deskpro M.
 */
Experimental initialization sequence for the integrated sound system
of the Compaq Deskpro M.
Experimental initialization sequence for the integrated sound system of the Compaq Deskpro M .
static int init_deskpro_m(struct address_info *hw_config)
{
	unsigned char   tmp;
	if ((tmp = inb(0xc44)) == 0xff)
	{
		DDB(printk("init_deskpro_m: Dead port 0xc44\n"));
		return 0;
	}
	outb(0x10, 0xc44);
	outb(0x40, 0xc45);
	outb(0x00, 0xc46);
	outb(0xe8, 0xc47);
	outb(0x14, 0xc44);
	outb(0x40, 0xc45);
	outb(0x00, 0xc46);
	outb(0xe8, 0xc47);
	outb(0x10, 0xc44);
	return 1;
}
static int init_deskpro_m ( struct address_info * hw_config ) { unsigned char tmp ; if ( ( tmp = inb ( 0xc44 ) ) == 0xff ) { DDB ( printk ( " \n " ) ) ; return 0 ; } outb ( 0x10 , 0xc44 ) ; outb ( 0x40 , 0xc45 ) ; outb ( 0x00 , 0xc46 ) ; outb ( 0xe8 , 0xc47 ) ; outb ( 0x14 , 0xc44 ) ; outb ( 0x40 , 0xc45 ) ; outb ( 0x00 , 0xc46 ) ; outb ( 0xe8 , 0xc47 ) ; outb ( 0x10 , 0xc44 ) ; return 1 ; }
Experimental initialization sequence for the integrated sound system
      of the Compaq Deskpro M.
Experimental initialization sequence for the integrated sound system of the Compaq Deskpro M .