Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44727
b: refs/heads/master
c: 01f681d
h: refs/heads/master
i:
  44725: 14df2e8
  44723: cebaed6
  44719: 64afa01
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Dec 20, 2006
1 parent 668a359 commit e0b950a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e3a5d59a17e9a42e3f3e0e37342b2679bab2ff43
refs/heads/master: 01f681da496831eb3aff5a908cefdafe74dd263b
2 changes: 1 addition & 1 deletion trunk/include/sound/ymfpci.h
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ struct snd_ymfpci {
int irq;

unsigned int device_id; /* PCI device ID */
unsigned int rev; /* PCI revision */
unsigned char rev; /* PCI revision */
unsigned long reg_area_phys;
void __iomem *reg_area_virt;
struct resource *res_reg_area;
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/pci/ca0106/ca0106.h
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ struct snd_ca0106 {
struct resource *res_port;
int irq;

unsigned int revision; /* chip revision */
unsigned char revision; /* chip revision */
unsigned int serial; /* serial number */
unsigned short model; /* subsystem id */

Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/pci/ca0106/ca0106_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,7 @@ static int __devinit snd_ca0106_create(struct snd_card *card,

pci_set_master(pci);
/* read revision & serial */
pci_read_config_byte(pci, PCI_REVISION_ID, (char *)&chip->revision);
pci_read_config_byte(pci, PCI_REVISION_ID, &chip->revision);
pci_read_config_dword(pci, PCI_SUBSYSTEM_VENDOR_ID, &chip->serial);
pci_read_config_word(pci, PCI_SUBSYSTEM_ID, &chip->model);
#if 1
Expand Down
4 changes: 2 additions & 2 deletions trunk/sound/pci/emu10k1/emu10k1x.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ struct emu10k1x {
struct resource *res_port;
int irq;

unsigned int revision; /* chip revision */
unsigned char revision; /* chip revision */
unsigned int serial; /* serial number */
unsigned short model; /* subsystem id */

Expand Down Expand Up @@ -943,7 +943,7 @@ static int __devinit snd_emu10k1x_create(struct snd_card *card,

pci_set_master(pci);
/* read revision & serial */
pci_read_config_byte(pci, PCI_REVISION_ID, (char *)&chip->revision);
pci_read_config_byte(pci, PCI_REVISION_ID, &chip->revision);
pci_read_config_dword(pci, PCI_SUBSYSTEM_VENDOR_ID, &chip->serial);
pci_read_config_word(pci, PCI_SUBSYSTEM_ID, &chip->model);
snd_printk(KERN_INFO "Model %04x Rev %08x Serial %08x\n", chip->model,
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/pci/ymfpci/ymfpci_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2291,7 +2291,7 @@ int __devinit snd_ymfpci_create(struct snd_card *card,
chip->pci = pci;
chip->irq = -1;
chip->device_id = pci->device;
pci_read_config_byte(pci, PCI_REVISION_ID, (u8 *)&chip->rev);
pci_read_config_byte(pci, PCI_REVISION_ID, &chip->rev);
chip->reg_area_phys = pci_resource_start(pci, 0);
chip->reg_area_virt = ioremap_nocache(chip->reg_area_phys, 0x8000);
pci_set_master(pci);
Expand Down

0 comments on commit e0b950a

Please sign in to comment.