Update of /cvsroot/alsa/alsa-driver/pci/ymfpci
In directory sc8-pr-cvs1:/tmp/cvs-serv4448/ymfpci
Modified Files:
.cvsignore Makefile
Added Files:
ymfpci.patch
Removed Files:
ymfpci.c
Log Message:
clean up PM codes; moved the old part to patch
--- NEW FILE: ymfpci.patch ---
--- ymfpci.c 2003-06-10 15:28:14.000000000 +0200
+++ ymfpci.c.old 2003-06-10 15:28:03.000000000 +0200
@@ -249,6 +249,7 @@
}
#ifdef CONFIG_PM
+#ifndef PCI_OLD_SUSPEND
static int snd_card_ymfpci_suspend(struct pci_dev *pci, u32 state)
{
ymfpci_t *chip = snd_magic_cast(ymfpci_t, pci_get_drvdata(pci), return -ENXIO);
@@ -261,6 +262,18 @@
snd_ymfpci_resume(chip);
return 0;
}
+#else
+static void snd_card_ymfpci_suspend(struct pci_dev *pci)
+{
+ ymfpci_t *chip = snd_magic_cast(ymfpci_t, pci_get_drvdata(pci), return);
+ snd_ymfpci_suspend(chip);
+}
+static void snd_card_ymfpci_resume(struct pci_dev *pci)
+{
+ ymfpci_t *chip = snd_magic_cast(ymfpci_t, pci_get_drvdata(pci), return);
+ snd_ymfpci_resume(chip);
+}
+#endif
#endif
static void __devexit snd_card_ymfpci_remove(struct pci_dev *pci)
@@ -326,3 +339,4 @@
__setup("snd-ymfpci=", alsa_card_ymfpci_setup);
#endif /* ifndef MODULE */
+EXPORT_NO_SYMBOLS;
Index: .cvsignore
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/pci/ymfpci/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Dec 2001 20:46:15 -0000 1.1
+++ .cvsignore 18 Jun 2003 11:12:53 -0000 1.2
@@ -1 +1,2 @@
.depend
+ymfpci.c
Index: Makefile
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/pci/ymfpci/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile 17 Dec 2002 19:59:01 -0000 1.2
+++ Makefile 18 Jun 2003 11:12:53 -0000 1.3
@@ -3,7 +3,11 @@
include $(TOPDIR)/toplevel.config
include $(TOPDIR)/Makefile.conf
+EXTRA_CLEAN = ymfpci.c
+
TOPDIR = $(MAINSRCDIR)
include $(TOPDIR)/alsa-kernel/pci/ymfpci/Makefile
include $(TOPDIR)/Rules.make
+
+ymfpci.c: ymfpci.patch $(TOPDIR)/alsa-kernel/pci/ymfpci/ymfpci.c
--- ymfpci.c DELETED ---
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog