-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 149671 b: refs/heads/master c: e52ba9c h: refs/heads/master i: 149669: 2aa4065 149667: 904dd9b 149663: 8724a55 v: v3
- Loading branch information
Roderick Colenbrander
authored and
Grant Likely
committed
Jun 6, 2009
1 parent
8a13295
commit 5245829
Showing
5 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 1745fbc744a934b235c2e5ecb5380079fa54be38 | ||
refs/heads/master: e52ba9c54176c9757ab6b18bea7b7ed51e2faf16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#include <asm/i8259.h> | ||
#include <linux/pci.h> | ||
#include "44x.h" | ||
|
||
/** | ||
* ml510_ail_quirk | ||
*/ | ||
static void __devinit ml510_ali_quirk(struct pci_dev *dev) | ||
{ | ||
/* Enable the IDE controller */ | ||
pci_write_config_byte(dev, 0x58, 0x4c); | ||
/* Assign irq 14 to the primary ide channel */ | ||
pci_write_config_byte(dev, 0x44, 0x0d); | ||
/* Assign irq 15 to the secondary ide channel */ | ||
pci_write_config_byte(dev, 0x75, 0x0f); | ||
/* Set the ide controller in native mode */ | ||
pci_write_config_byte(dev, 0x09, 0xff); | ||
|
||
/* INTB = disabled, INTA = disabled */ | ||
pci_write_config_byte(dev, 0x48, 0x00); | ||
/* INTD = disabled, INTC = disabled */ | ||
pci_write_config_byte(dev, 0x4a, 0x00); | ||
/* Audio = INT7, Modem = disabled. */ | ||
pci_write_config_byte(dev, 0x4b, 0x60); | ||
/* USB = INT7 */ | ||
pci_write_config_byte(dev, 0x74, 0x06); | ||
} | ||
DECLARE_PCI_FIXUP_EARLY(0x10b9, 0x1533, ml510_ali_quirk); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters