Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56858
b: refs/heads/master
c: 2074a10
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Bartlomiej Zolnierkiewicz committed May 24, 2007
1 parent 371a21a commit 30e7c7f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6c6a2a8d201b4f8fd54167802da5ddbe08abd744
refs/heads/master: 2074a106f52b6371885afbd714e929d60d0e3f64
6 changes: 6 additions & 0 deletions trunk/drivers/ide/pci/serverworks.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,12 @@ static int svwks_tune_chipset (ide_drive_t *drive, u8 xferspeed)
pci_read_config_word(dev, 0x4A, &csb5_pio);
pci_read_config_byte(dev, 0x54, &ultra_enable);

/* If we are in RAID mode (eg AMI MegaIDE) then we can't it
turns out trust the firmware configuration */

if ((dev->class >> 8) != PCI_CLASS_STORAGE_IDE)
goto oem_setup_failed;

/* Per Specified Design by OEM, and ASIC Architect */
if ((dev->device == PCI_DEVICE_ID_SERVERWORKS_CSB6IDE) ||
(dev->device == PCI_DEVICE_ID_SERVERWORKS_CSB6IDE2)) {
Expand Down

0 comments on commit 30e7c7f

Please sign in to comment.