Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53607
b: refs/heads/master
c: fdb0d72
h: refs/heads/master
i:
  53605: e7dadbe
  53603: ab71500
  53599: 0094af0
v: v3
  • Loading branch information
Sergei Shtylyov authored and Bartlomiej Zolnierkiewicz committed May 5, 2007
1 parent 823772f commit 7215134
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 55e4dee32916a569112f33a511adab4bd72cc4a2
refs/heads/master: fdb0d72be4decaade6cedb5012ddd679a4817b5f
7 changes: 6 additions & 1 deletion trunk/drivers/ide/pci/hpt366.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* linux/drivers/ide/pci/hpt366.c Version 1.02 Apr 18, 2007
* linux/drivers/ide/pci/hpt366.c Version 1.03 May 4, 2007
*
* Copyright (C) 1999-2003 Andre Hedrick <andre@linux-ide.org>
* Portions Copyright (C) 2001 Sun Microsystems, Inc.
Expand Down Expand Up @@ -1527,7 +1527,12 @@ static int __devinit init_setup_hpt366(struct pci_dev *dev, ide_pci_device_t *d)
if (rev > 2)
goto init_single;

/*
* HPT36x chips are single channel and
* do not seem to have the channel enable bit...
*/
d->channels = 1;
d->enablebits[0].reg = 0;

if ((dev2 = pci_get_slot(dev->bus, dev->devfn + 1)) != NULL) {
u8 pin1 = 0, pin2 = 0;
Expand Down

0 comments on commit 7215134

Please sign in to comment.