All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Anthony Spinillo" <tspinillo@linuxmail.org>
To: linux-kernel@vger.kernel.org
Subject: INTEL 845G IDE PATCH for 2.4.19-pre10-ac1
Date: Wed, 05 Jun 2002 09:15:17 +0800	[thread overview]
Message-ID: <20020605011517.13355.qmail@linuxmail.org> (raw)

[-- 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);

                 reply	other threads:[~2002-06-05  1:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020605011517.13355.qmail@linuxmail.org \
    --to=tspinillo@linuxmail.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.