Update of /cvsroot/alsa/alsa-kernel/pci
In directory sc8-pr-cvs1:/tmp/cvs-serv10312/pci
Modified Files:
als4000.c azt3328.c cmipci.c cs4281.c ens1370.c es1938.c
es1968.c fm801.c intel8x0.c maestro3.c rme32.c rme96.c
sonicvibes.c via82xx.c
Log Message:
- added snd_card_set_dev() macro.
- sysfsfied more pci, isapnp and usb drivers.
Index: als4000.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/als4000.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- als4000.c 19 Jan 2004 18:37:35 -0000 1.26
+++ als4000.c 21 Jan 2004 18:32:47 -0000 1.27
@@ -684,6 +684,7 @@
chip->pci = pci;
chip->alt_port = gcr;
+ snd_card_set_dev(card, &pci->dev);
snd_als4000_configure(chip);
Index: azt3328.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/azt3328.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- azt3328.c 19 Jan 2004 18:37:35 -0000 1.8
+++ azt3328.c 21 Jan 2004 18:32:47 -0000 1.9
@@ -1437,6 +1437,8 @@
spin_unlock_irqrestore(&chip->reg_lock, flags);
+ snd_card_set_dev(card, &pci->dev);
+
*rchip = chip;
return 0;
}
Index: cmipci.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/cmipci.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- cmipci.c 16 Jan 2004 18:07:38 -0000 1.57
+++ cmipci.c 21 Jan 2004 18:32:47 -0000 1.58
@@ -3173,6 +3173,8 @@
snd_cmipci_clear_bit(cm, CM_REG_FUNCTRL1, CM_JYSTK_EN);
}
#endif
+ snd_card_set_dev(card, &pci->dev);
+
*rcmipci = cm;
return 0;
Index: cs4281.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/cs4281.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- cs4281.c 23 Oct 2003 14:34:52 -0000 1.46
+++ cs4281.c 21 Jan 2004 18:32:47 -0000 1.47
@@ -1470,6 +1470,8 @@
return err;
}
+ snd_card_set_dev(card, &pci->dev);
+
*rchip = chip;
return 0;
}
Index: ens1370.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ens1370.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- ens1370.c 13 Jan 2004 15:39:07 -0000 1.55
+++ ens1370.c 21 Jan 2004 18:32:47 -0000 1.56
@@ -2017,6 +2017,8 @@
return err;
}
+ snd_card_set_dev(card, &pci->dev);
+
*rensoniq = ensoniq;
return 0;
}
Index: es1938.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/es1938.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- es1938.c 19 Jan 2004 18:37:35 -0000 1.29
+++ es1938.c 21 Jan 2004 18:32:47 -0000 1.30
@@ -1483,6 +1483,8 @@
return err;
}
+ snd_card_set_dev(card, &pci->dev);
+
*rchip = chip;
return 0;
}
Index: es1968.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/es1968.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- es1968.c 19 Jan 2004 18:37:35 -0000 1.58
+++ es1968.c 21 Jan 2004 18:32:47 -0000 1.59
@@ -2646,6 +2646,8 @@
return err;
}
+ snd_card_set_dev(card, &pci->dev);
+
*chip_ret = chip;
return 0;
Index: fm801.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/fm801.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- fm801.c 23 Oct 2003 14:34:52 -0000 1.36
+++ fm801.c 21 Jan 2004 18:32:47 -0000 1.37
@@ -1054,6 +1054,8 @@
return err;
}
+ snd_card_set_dev(card, &pci->dev);
+
*rchip = chip;
return 0;
}
Index: intel8x0.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/intel8x0.c,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -r1.102 -r1.103
--- intel8x0.c 20 Jan 2004 16:15:02 -0000 1.102
+++ intel8x0.c 21 Jan 2004 18:32:47 -0000 1.103
@@ -2463,6 +2463,8 @@
return err;
}
+ snd_card_set_dev(card, &pci->dev);
+
*r_intel8x0 = chip;
return 0;
}
@@ -2524,7 +2526,6 @@
break;
}
}
- card->dev = &pci->dev;
if ((err = snd_intel8x0_create(card, pci, pci_id->driver_data, &chip)) < 0) {
snd_card_free(card);
Index: maestro3.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/maestro3.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- maestro3.c 19 Jan 2004 18:37:35 -0000 1.45
+++ maestro3.c 21 Jan 2004 18:32:47 -0000 1.46
@@ -2665,6 +2665,8 @@
snd_m3_enable_ints(chip);
snd_m3_assp_continue(chip);
+ snd_card_set_dev(card, &pci->dev);
+
*chip_ret = chip;
return 0;
Index: rme32.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/rme32.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- rme32.c 23 Oct 2003 14:34:52 -0000 1.28
+++ rme32.c 21 Jan 2004 18:32:47 -0000 1.29
@@ -1948,6 +1948,7 @@
rme32 = (rme32_t *) card->private_data;
rme32->card = card;
rme32->pci = pci;
+ snd_card_set_dev(card, &pci->dev);
if ((err = snd_rme32_create(rme32)) < 0) {
snd_card_free(card);
return err;
Index: rme96.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/rme96.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- rme96.c 23 Oct 2003 14:34:52 -0000 1.30
+++ rme96.c 21 Jan 2004 18:32:47 -0000 1.31
@@ -2504,6 +2504,7 @@
rme96 = (rme96_t *)card->private_data;
rme96->card = card;
rme96->pci = pci;
+ snd_card_set_dev(card, &pci->dev);
if ((err = snd_rme96_create(rme96)) < 0) {
snd_card_free(card);
return err;
Index: sonicvibes.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/sonicvibes.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- sonicvibes.c 19 Jan 2004 18:37:35 -0000 1.29
+++ sonicvibes.c 21 Jan 2004 18:32:47 -0000 1.30
@@ -1384,6 +1384,8 @@
return err;
}
+ snd_card_set_dev(card, &pci->dev);
+
*rsonic = sonic;
return 0;
}
Index: via82xx.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/via82xx.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- via82xx.c 16 Jan 2004 18:07:06 -0000 1.78
+++ via82xx.c 21 Jan 2004 18:32:47 -0000 1.79
@@ -1951,6 +1951,8 @@
* We call pci_set_master here because it does not hurt. */
pci_set_master(pci);
+ snd_card_set_dev(card, &pci->dev);
+
*r_via = chip;
return 0;
}
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog