All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Anthony Spinillo" <tspinillo@linuxmail.org>
To: linux-kernel@vger.kernel.org
Subject: Re: INTEL 845G Chipset IDE Quandry
Date: Tue, 04 Jun 2002 07:35:31 +0800	[thread overview]
Message-ID: <20020603233531.10357.qmail@linuxmail.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 474 bytes --]

I just tried Andre's patch. I applied it on top of 2.4.19pre9-ac3.(Patch attached below.) It pulled me up to DMA. I tested by setting hdparm -d1 /dev/hdc
(my DVD drive) and played a DVD with Xine. It played great!

I do not have an IDE hard drive to test, since my HD is SCSI.

I will try Vojtech's patch next, and report in.

Thanks for all your help! (Andre, Vojtech, JeffN and everyone else.)

Tony


-- 
Get your free email from www.linuxmail.org 


Powered by Outblaze

[-- Attachment #2: andre.patch --]
[-- Type: application/octet-stream, Size: 3611 bytes --]

diff -urN linux-2.4.19-p9-ac3-pristine/drivers/ide/ide-pci.c
linux-2.4.19-p9-ac3/drivers/ide/ide-pci.c
--- linux-2.4.19-p9-ac3-pristine/drivers/ide/ide-pci.c	Sun Jun  2
16:49:06 2002
+++ linux-2.4.19-p9-ac3/drivers/ide/ide-pci.c	Sun Jun  2 20:52:49 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 },
diff -urN linux-2.4.19-p9-ac3-pristine/drivers/ide/piix.c
linux-2.4.19-p9-ac3/drivers/ide/piix.c
--- linux-2.4.19-p9-ac3-pristine/drivers/ide/piix.c	Sun Jun  2
16:49:06 2002
+++ linux-2.4.19-p9-ac3/drivers/ide/piix.c	Sun Jun  2 20:36:23 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);
diff -urN linux-2.4.19-p9-ac3-pristine/include/linux/pci_ids.h
linux-2.4.19-p9-ac3/include/linux/pci_ids.h
--- linux-2.4.19-p9-ac3-pristine/include/linux/pci_ids.h	Sun
Jun  2 16:49:17 2002
+++ linux-2.4.19-p9-ac3/include/linux/pci_ids.h Sun Jun  2 20:53:53
2002
@@ -1685,6 +1685,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


             reply	other threads:[~2002-06-03 23:35 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-03 23:35 Anthony Spinillo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-06-03  1:04 INTEL 845G Chipset IDE Quandry Anthony Spinillo
2002-06-03  9:22 ` Vojtech Pavlik
2002-06-02 10:16 Anthony Spinillo
2002-06-02 19:36 ` Martin Dalecki
2002-06-02 21:30   ` Vojtech Pavlik
2002-06-03  1:13     ` Alan Cox
2002-06-03  8:43       ` Vojtech Pavlik
2002-06-03 11:49       ` Kjartan Maraas
2002-06-03 10:10         ` Andre Hedrick
2002-06-03  4:46     ` Martin Dalecki
2002-06-03  8:47       ` Vojtech Pavlik
2002-06-03  8:04         ` Martin Dalecki
2002-06-03  9:37           ` Vojtech Pavlik
2002-06-03  9:28             ` Martin Dalecki
2002-06-02  1:58 Bartlomiej Zolnierkiewicz
2002-06-02  6:01 ` Martin Dalecki
2002-06-03  8:59   ` Andre Hedrick
2002-06-01 21:43 Anthony Spinillo
2002-06-01 11:03 Anthony Spinillo
2002-06-01 12:40 ` Alan Cox
2002-06-01 20:13   ` Andre Hedrick
2002-06-01 19:53 ` Andre Hedrick

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=20020603233531.10357.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.