Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40419
b: refs/heads/master
c: c333526
h: refs/heads/master
i:
  40417: 30e893a
  40415: e52ecc3
v: v3
  • Loading branch information
Alan Cox authored and Linus Torvalds committed Oct 28, 2006
1 parent b152c68 commit 4228432
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 8fa1d7d3b2c51594c0f3aa151983dd51f605e07d
refs/heads/master: c333526f489044be2b93085720eb898f0037b346
6 changes: 4 additions & 2 deletions trunk/drivers/ide/pci/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,10 @@ static int __devinit generic_init_one(struct pci_dev *dev, const struct pci_devi
(!(PCI_FUNC(dev->devfn) & 1)))
goto out;

if (dev->vendor == PCI_VENDOR_ID_JMICRON && PCI_FUNC(dev->devfn) != 1)
goto out;
if (dev->vendor == PCI_VENDOR_ID_JMICRON) {
if (dev->device != PCI_DEVICE_ID_JMICRON_JMB368 && PCI_FUNC(dev->devfn) != 1)
goto out;
}

if (dev->vendor != PCI_VENDOR_ID_JMICRON) {
pci_read_config_word(dev, PCI_COMMAND, &command);
Expand Down

0 comments on commit 4228432

Please sign in to comment.