* INTEL 845G IDE PATCH for 2.4.19-pre10-ac1
@ 2002-06-05 1:15 Anthony Spinillo
0 siblings, 0 replies; only message in thread
From: Anthony Spinillo @ 2002-06-05 1:15 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 444 bytes --]
I assembled 3 diffs based on a patch Andre Hedrick
sent me the other day to enable DMA on the 845G chipset. Hopefully they can help someone else out.
The diffs patch ide-pci.c, piix.c and
pci-ids.h.
The diffs are on top of linux-2.4.19-pre10-ac1
(Thanks Alan).
I'm out of PIO hell, but if someone can give them a quick sanity check, that would be great.
Thanks,
Tony
--
Get your free email from www.linuxmail.org
Powered by Outblaze
[-- Attachment #2: ide-pci.diff --]
[-- Type: application/octet-stream, Size: 1772 bytes --]
--- linux/drivers/ide/ide-pci.c Tue Jun 4 20:46:18 2002
+++ linux-fix/drivers/ide/ide-pci.c Tue Jun 4 20:30:46 2002
@@ -47,6 +47,7 @@
#define DEVID_PIIX4U5 ((ide_pci_devid_t){PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801CA_10})
#define DEVID_PIIX4U6 ((ide_pci_devid_t){PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801CA_11})
#define DEVID_PIIX4U7 ((ide_pci_devid_t){PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801E_11})
+#define DEVID_PIIX4U8 ((ide_pci_devid_t){PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801DB_11})
#define DEVID_VIA_IDE ((ide_pci_devid_t){PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C561})
#define DEVID_MR_IDE ((ide_pci_devid_t){PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C576_1})
#define DEVID_VP_IDE ((ide_pci_devid_t){PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_1})
@@ -438,6 +439,7 @@
{DEVID_PIIX4U5, "PIIX4", FIXUP_PIIX, PCI_PIIX, ATA66_PIIX, INIT_PIIX, NULL, {{0x41,0x80,0x80}, {0x43,0x80,0x80}}, ON_BOARD, 0 },
{DEVID_PIIX4U6, "PIIX4", FIXUP_PIIX, PCI_PIIX, ATA66_PIIX, INIT_PIIX, NULL, {{0x41,0x80,0x80}, {0x43,0x80,0x80}}, ON_BOARD, 0 },
{DEVID_PIIX4U7, "PIIX4", FIXUP_PIIX, PCI_PIIX, ATA66_PIIX, INIT_PIIX, NULL, {{0x41,0x80,0x80}, {0x43,0x80,0x80}}, ON_BOARD, 0 },
+ {DEVID_PIIX4U8, "PIIX4", FIXUP_PIIX, PCI_PIIX, ATA66_PIIX, INIT_PIIX, NULL, {{0x41,0x80,0x80}, {0x43,0x80,0x80}}, ON_BOARD, 0 },
{DEVID_VIA_IDE, "VIA_IDE", NULL, NULL, NULL, NULL, NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, ON_BOARD, 0 },
{DEVID_MR_IDE, "VP_IDE", NULL, PCI_VIA82CXXX, ATA66_VIA82CXXX,INIT_VIA82CXXX, DMA_VIA82CXXX, {{0x40,0x02,0x02}, {0x40,0x01,0x01}}, ON_BOARD, 0 },
{DEVID_VP_IDE, "VP_IDE", NULL, PCI_VIA82CXXX, ATA66_VIA82CXXX,INIT_VIA82CXXX, DMA_VIA82CXXX, {{0x40,0x02,0x02}, {0x40,0x01,0x01}}, ON_BOARD, 0 },
[-- Attachment #3: pci_ids.diff --]
[-- Type: application/octet-stream, Size: 467 bytes --]
--- linux/include/linux/pci_ids.h Tue Jun 4 20:46:19 2002
+++ linux-fix/include/linux/pci_ids.h Tue Jun 4 20:35:32 2002
@@ -1686,6 +1686,7 @@
#define PCI_DEVICE_ID_INTEL_82801CA_10 0x248a
#define PCI_DEVICE_ID_INTEL_82801CA_11 0x248b
#define PCI_DEVICE_ID_INTEL_82801CA_12 0x248c
+#define PCI_DEVICE_ID_INTEL_82801DB_11 0x24cb
#define PCI_DEVICE_ID_INTEL_80310 0x530d
#define PCI_DEVICE_ID_INTEL_82810_MC1 0x7120
#define PCI_DEVICE_ID_INTEL_82810_IG1 0x7121
[-- Attachment #4: piix.diff --]
[-- Type: application/octet-stream, Size: 901 bytes --]
--- linux/drivers/ide/piix.c Tue Jun 4 20:46:18 2002
+++ linux-fix/drivers/ide/piix.c Tue Jun 4 20:44:52 2002
@@ -94,6 +94,7 @@
case PCI_DEVICE_ID_INTEL_82801CA_10:
case PCI_DEVICE_ID_INTEL_82801CA_11:
case PCI_DEVICE_ID_INTEL_82801E_11:
+ case PCI_DEVICE_ID_INTEL_82801DB_11:
p += sprintf(p, "Intel PIIX4 Ultra 100 Chipset.\n");
break;
case PCI_DEVICE_ID_INTEL_82372FB_1:
@@ -216,6 +217,7 @@
case PCI_DEVICE_ID_INTEL_82801CA_10:
case PCI_DEVICE_ID_INTEL_82801CA_11:
case PCI_DEVICE_ID_INTEL_82801E_11:
+ case PCI_DEVICE_ID_INTEL_82801DB_11:
mode |= 0x03;
break;
case PCI_DEVICE_ID_INTEL_82801AA_1:
@@ -534,6 +536,7 @@
case PCI_DEVICE_ID_INTEL_82801CA_10:
case PCI_DEVICE_ID_INTEL_82801CA_11:
case PCI_DEVICE_ID_INTEL_82801E_11:
+ case PCI_DEVICE_ID_INTEL_82801DB_11:
{
unsigned int extra = 0;
pci_read_config_dword(dev, 0x54, &extra);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-06-05 1:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-05 1:15 INTEL 845G IDE PATCH for 2.4.19-pre10-ac1 Anthony Spinillo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox