Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71775
b: refs/heads/master
c: ae6855c
h: refs/heads/master
i:
  71773: 1b8e5e0
  71771: f42813b
  71767: ca525ff
  71759: 190de57
  71743: a984f06
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Oct 19, 2007
1 parent 5af4c39 commit 46ba10e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 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: d393aa0326436efd3cb800916b08cdac4dd1091a
refs/heads/master: ae6855c0d544739c833c42f4529465cc515d9a3e
8 changes: 1 addition & 7 deletions trunk/drivers/ide/pci/cs5530.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* linux/drivers/ide/pci/cs5530.c Version 0.76 Aug 3 2007
* linux/drivers/ide/pci/cs5530.c Version 0.77 Sep 24 2007
*
* Copyright (C) 2000 Andre Hedrick <andre@linux-ide.org>
* Copyright (C) 2000 Mark Lord <mlord@pobox.com>
Expand Down Expand Up @@ -146,7 +146,6 @@ static void cs5530_set_dma_mode(ide_drive_t *drive, const u8 mode)
static unsigned int __devinit init_chipset_cs5530 (struct pci_dev *dev, const char *name)
{
struct pci_dev *master_0 = NULL, *cs5530_0 = NULL;
unsigned long flags;

if (pci_resource_start(dev, 4) == 0)
return -EFAULT;
Expand All @@ -171,9 +170,6 @@ static unsigned int __devinit init_chipset_cs5530 (struct pci_dev *dev, const ch
goto out;
}

spin_lock_irqsave(&ide_lock, flags);
/* all CPUs (there should only be one CPU with this chipset) */

/*
* Enable BusMaster and MemoryWriteAndInvalidate for the cs5530:
* --> OR 0x14 into 16-bit PCI COMMAND reg of function 0 of the cs5530
Expand Down Expand Up @@ -224,8 +220,6 @@ static unsigned int __devinit init_chipset_cs5530 (struct pci_dev *dev, const ch
pci_write_config_byte(master_0, 0x42, 0x00);
pci_write_config_byte(master_0, 0x43, 0xc1);

spin_unlock_irqrestore(&ide_lock, flags);

out:
pci_dev_put(master_0);
pci_dev_put(cs5530_0);
Expand Down

0 comments on commit 46ba10e

Please sign in to comment.