Update of /cvsroot/alsa/alsa-kernel/include In directory sc8-pr-cvs1:/tmp/cvs-serv13654/include
Modified Files: ad1848.h Log Message: added the quirk for thinkpad 360/750/755 by Ryan Underwood <[EMAIL PROTECTED]> - suspend/resume is implemented (only for thinkpad). - use KERN_ERR prefix for error messages. Index: ad1848.h =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/include/ad1848.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- ad1848.h 23 Apr 2003 10:01:29 -0000 1.8 +++ ad1848.h 8 Jul 2003 10:41:05 -0000 1.9 @@ -120,6 +120,12 @@ #define AD1848_HW_AD1848 0x0002 /* AD1848 chip */ #define AD1848_HW_CS4248 0x0003 /* CS4248 chip */ #define AD1848_HW_CMI8330 0x0004 /* CMI8330 chip */ +#define AD1848_HW_THINKPAD 0x0005 /* Thinkpad 360/750/755 */ + +/* IBM Thinkpad specific stuff */ +#define AD1848_THINKPAD_CTL_PORT1 0x15e8 +#define AD1848_THINKPAD_CTL_PORT2 0x15e9 +#define AD1848_THINKPAD_CS4248_ENABLE_BIT 0x02 struct _snd_ad1848 { unsigned long port; /* i/o port */ @@ -140,6 +146,10 @@ int mce_bit; int calibrate_mute; int dma_size; + int thinkpad_flag; /* Thinkpad CS4248 needs some extra help */ +#ifdef CONFIG_PM + struct pm_dev *thinkpad_pmstate; +#endif spinlock_t reg_lock; struct semaphore open_mutex; ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog